How to plot a current drawing to printer

How to plot a current drawing to printer

Anonymous
Not applicable
341 Views
2 Replies
Message 1 of 3

How to plot a current drawing to printer

Anonymous
Not applicable
Hello,
I wish to print drawings in batch with VBA procedure.

I made a procedure which loads the drawings one by one following of the criteria set in a userform.
My problem is : I do not able to manage and to find the instructions and the surely essential parameter setting of the variables and functions.
Currently with the procedure below, I plot a white page with each drawing whereas the drawing is posted correctly in the tab "object" of AutoCAD windows.
Anybody could help me?
I lock for a while on this subject without result.

I use the following instruction

ThisDrawing.Plot.PlotToDevice "Canon MP750 Series Printer.pc3"

Many thanks for your help.
0 Likes
342 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
The one line looks fine... Can you post more of the surrounding code? Also, what exactly is the problem? Is it plotting blank pages?
0 Likes
Message 3 of 3

arcticad
Advisor
Advisor
The Attached file is a basic outline of the options you need to successfully print a drawing using VBA. I hope it helps.
Any Problems Post a response here. Thank You.

I borrowed the disclaimer from DotSoft But the code is from me.
Thank You.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes