Plotting multiple copies from command prompt

Plotting multiple copies from command prompt

Anonymous
Not applicable
743 Views
26 Replies
Message 1 of 27

Plotting multiple copies from command prompt

Anonymous
Not applicable
I have created a Lisp plotter routine for my office to use.
From one simple command it updates a drawings status, measures its size,
sets the paper size and plots the drawing

One thing I would like to add to it is a feature that allows the user to
print multiple copies in one go.

The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
routine uses the command from the
command prompt by issuing -PLOT

The problem is that the number of copies does not feature in the command
prompt version of the command

Does anybody know how to access this from lisp or command prompt.

P.S. I thought of just getting the routine to run -PLOT several times for
the number of copies - but I dismissed this as it would take longer to send
and plot

Any help would be appreciated.
Kevin.
0 Likes
744 Views
26 Replies
Replies (26)
Message 2 of 27

Anonymous
Not applicable
Only thing I can think of is to choose the
option to Plot to file, then run that file
through the appropriate number of times.
Maybe that'd be faster than rerunning the
plot?

-- Jeremiah

=====================================
Lifted Axis
www.liftedaxis.com
Great AutoCAD Tools starting at $10
=====================================
0 Likes
Message 3 of 27

Anonymous
Not applicable
Can your plotter be set to print more than one copy (from DOS Command Line
maybe)?

"Kevin Bell" wrote in message
news:[email protected]...
> I have created a Lisp plotter routine for my office to use.
> From one simple command it updates a drawings status, measures its size,
> sets the paper size and plots the drawing
>
> One thing I would like to add to it is a feature that allows the user to
> print multiple copies in one go.
>
> The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
> routine uses the command from the
> command prompt by issuing -PLOT
>
> The problem is that the number of copies does not feature in the command
> prompt version of the command
>
> Does anybody know how to access this from lisp or command prompt.
>
> P.S. I thought of just getting the routine to run -PLOT several times for
> the number of copies - but I dismissed this as it would take longer to
send
> and plot
>
> Any help would be appreciated.
> Kevin.
>
0 Likes
Message 4 of 27

Anonymous
Not applicable
What version of AutoCAD? If it is AC2K, you can set it via ActiveX:

(defun setPlotCopies (Copies)
(vl-load-com)
(vlax-get-property
(vla-get-Plot
(vla-get-ActiveDocument
(vlax-get-acad-object)
) ;_ closes vla-get-ActiveDocument
) ;_ closes vla-get-AcadPlot
"NumberOfCopies"
Copies
) ;_ closes vla-put-property
) ;_ closes defun

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Kevin Bell wrote in message
news:[email protected]...
| I have created a Lisp plotter routine for my office to use.
| From one simple command it updates a drawings status, measures its size,
| sets the paper size and plots the drawing
|
| One thing I would like to add to it is a feature that allows the user to
| print multiple copies in one go.
|
| The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
| routine uses the command from the
| command prompt by issuing -PLOT
|
| The problem is that the number of copies does not feature in the command
| prompt version of the command
|
| Does anybody know how to access this from lisp or command prompt.
|
| P.S. I thought of just getting the routine to run -PLOT several times for
| the number of copies - but I dismissed this as it would take longer to
send
| and plot
|
| Any help would be appreciated.
| Kevin.
|
0 Likes
Message 5 of 27

Anonymous
Not applicable
What version of AutoCAD? If it is AC2K, you can set it via ActiveX:

(defun setPlotCopies (Copies)
(vl-load-com)
(vlax-set-property
(vla-get-Plot
(vla-get-ActiveDocument
(vlax-get-acad-object)
) ;_ closes vla-get-ActiveDocument
) ;_ closes vla-get-AcadPlot
"NumberOfCopies"
Copies
) ;_ closes vla-put-property
) ;_ closes defun

(If you saw my first post, it had a typo!)

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Kevin Bell wrote in message
news:[email protected]...
| I have created a Lisp plotter routine for my office to use.
| From one simple command it updates a drawings status, measures its size,
| sets the paper size and plots the drawing
|
| One thing I would like to add to it is a feature that allows the user to
| print multiple copies in one go.
|
| The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
| routine uses the command from the
| command prompt by issuing -PLOT
|
| The problem is that the number of copies does not feature in the command
| prompt version of the command
|
| Does anybody know how to access this from lisp or command prompt.
|
| P.S. I thought of just getting the routine to run -PLOT several times for
| the number of copies - but I dismissed this as it would take longer to
send
| and plot
|
| Any help would be appreciated.
| Kevin.
|
0 Likes
Message 6 of 27

Anonymous
Not applicable
Hi Robert,

Your lisp looks like the thing I need but when I run it I get the
message;

; error: no function definition: VLAX-SET-PROPERTY

Any ideas ???

Thanks
Kevin.

R. Robert Bell wrote in message
news:[email protected]...
> What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
>
> (defun setPlotCopies (Copies)
> (vl-load-com)
> (vlax-set-property
> (vla-get-Plot
> (vla-get-ActiveDocument
> (vlax-get-acad-object)
> ) ;_ closes vla-get-ActiveDocument
> ) ;_ closes vla-get-AcadPlot
> "NumberOfCopies"
> Copies
> ) ;_ closes vla-put-property
> ) ;_ closes defun
>
> (If you saw my first post, it had a typo!)
>
> --
> R. Robert Bell, MCSE
> Xtending the Power
> www.acadx.com
>
> Kevin Bell wrote in message
> news:[email protected]...
> | I have created a Lisp plotter routine for my office to use.
> | From one simple command it updates a drawings status, measures its size,
> | sets the paper size and plots the drawing
> |
> | One thing I would like to add to it is a feature that allows the user to
> | print multiple copies in one go.
> |
> | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
> | routine uses the command from the
> | command prompt by issuing -PLOT
> |
> | The problem is that the number of copies does not feature in the command
> | prompt version of the command
> |
> | Does anybody know how to access this from lisp or command prompt.
> |
> | P.S. I thought of just getting the routine to run -PLOT several times
for
> | the number of copies - but I dismissed this as it would take longer to
> send
> | and plot
> |
> | Any help would be appreciated.
> | Kevin.
> |
>
0 Likes
Message 7 of 27

Anonymous
Not applicable
Sorry Robert - I forgot to add that I am using AutoCAD 2000

Kevin.

R. Robert Bell wrote in message
news:[email protected]...
> What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
>
> (defun setPlotCopies (Copies)
> (vl-load-com)
> (vlax-set-property
> (vla-get-Plot
> (vla-get-ActiveDocument
> (vlax-get-acad-object)
> ) ;_ closes vla-get-ActiveDocument
> ) ;_ closes vla-get-AcadPlot
> "NumberOfCopies"
> Copies
> ) ;_ closes vla-put-property
> ) ;_ closes defun
>
> (If you saw my first post, it had a typo!)
>
> --
> R. Robert Bell, MCSE
> Xtending the Power
> www.acadx.com
>
> Kevin Bell wrote in message
> news:[email protected]...
> | I have created a Lisp plotter routine for my office to use.
> | From one simple command it updates a drawings status, measures its size,
> | sets the paper size and plots the drawing
> |
> | One thing I would like to add to it is a feature that allows the user to
> | print multiple copies in one go.
> |
> | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
> | routine uses the command from the
> | command prompt by issuing -PLOT
> |
> | The problem is that the number of copies does not feature in the command
> | prompt version of the command
> |
> | Does anybody know how to access this from lisp or command prompt.
> |
> | P.S. I thought of just getting the routine to run -PLOT several times
for
> | the number of copies - but I dismissed this as it would take longer to
> send
> | and plot
> |
> | Any help would be appreciated.
> | Kevin.
> |
>
0 Likes
Message 8 of 27

Anonymous
Not applicable
AC2K is what you want. Ignore the man behind the curtain (I mean my first
post), use the second post with (vlax-put-property).

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Kevin Bell wrote in message
news:[email protected]...
| Sorry Robert - I forgot to add that I am using AutoCAD 2000
|
| Kevin.
|
| R. Robert Bell wrote in message
| news:[email protected]...
| > What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
| >
| > (defun setPlotCopies (Copies)
| > (vl-load-com)
| > (vlax-set-property
| > (vla-get-Plot
| > (vla-get-ActiveDocument
| > (vlax-get-acad-object)
| > ) ;_ closes vla-get-ActiveDocument
| > ) ;_ closes vla-get-AcadPlot
| > "NumberOfCopies"
| > Copies
| > ) ;_ closes vla-put-property
| > ) ;_ closes defun
| >
| > (If you saw my first post, it had a typo!)
| >
| > --
| > R. Robert Bell, MCSE
| > Xtending the Power
| > www.acadx.com
| >
| > Kevin Bell wrote in message
| > news:[email protected]...
| > | I have created a Lisp plotter routine for my office to use.
| > | From one simple command it updates a drawings status, measures its
size,
| > | sets the paper size and plots the drawing
| > |
| > | One thing I would like to add to it is a feature that allows the user
to
| > | print multiple copies in one go.
| > |
| > | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my
plot
| > | routine uses the command from the
| > | command prompt by issuing -PLOT
| > |
| > | The problem is that the number of copies does not feature in the
command
| > | prompt version of the command
| > |
| > | Does anybody know how to access this from lisp or command prompt.
| > |
| > | P.S. I thought of just getting the routine to run -PLOT several times
| for
| > | the number of copies - but I dismissed this as it would take longer to
| > send
| > | and plot
| > |
| > | Any help would be appreciated.
| > | Kevin.
| > |
| >
|
0 Likes
Message 9 of 27

Anonymous
Not applicable
That should be VLAX-PUT-PROPERTY.

--
Attitudes are contagious. Is yours worth catching?
http://www.acadx.com

"Kevin Bell" wrote in message
news:[email protected]...
> Hi Robert,
>
> Your lisp looks like the thing I need but when I run it I get the
> message;
>
> ; error: no function definition: VLAX-SET-PROPERTY
>
> Any ideas ???
0 Likes
Message 10 of 27

Anonymous
Not applicable
Second post fixed that. Stupid abortive cancels!!!!!!!!!!!! Anne!!!!!!

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Frank Oquendo wrote in message
news:[email protected]...
| That should be VLAX-PUT-PROPERTY.
|
| --
| Attitudes are contagious. Is yours worth catching?
| http://www.acadx.com
|
| "Kevin Bell" wrote in message
| news:[email protected]...
| > Hi Robert,
| >
| > Your lisp looks like the thing I need but when I run it I get the
| > message;
| >
| > ; error: no function definition: VLAX-SET-PROPERTY
| >
| > Any ideas ???
|
0 Likes
Message 11 of 27

Anonymous
Not applicable
Thanks Frank. Had code right, changed it to verify, forgot to change it
back, frustrated on cancel, blissfully "fixed" code, posted without second
check, cursed life, the universe, everything...

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Frank Oquendo wrote in message
news:[email protected]...
| That should be VLAX-PUT-PROPERTY.
|
| --
| Attitudes are contagious. Is yours worth catching?
| http://www.acadx.com
|
| "Kevin Bell" wrote in message
| news:[email protected]...
| > Hi Robert,
| >
| > Your lisp looks like the thing I need but when I run it I get the
| > message;
| >
| > ; error: no function definition: VLAX-SET-PROPERTY
| >
| > Any ideas ???
|
0 Likes
Message 12 of 27

Anonymous
Not applicable
Second post was wrong too. Frank set it straight (vlax-put-property), which
is what I had to begin with (really!, no really!)

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Kevin Bell wrote in message
news:[email protected]...
| Sorry Robert - I forgot to add that I am using AutoCAD 2000
|
| Kevin.
|
| R. Robert Bell wrote in message
| news:[email protected]...
| > What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
| >
| > (defun setPlotCopies (Copies)
| > (vl-load-com)
| > (vlax-set-property
| > (vla-get-Plot
| > (vla-get-ActiveDocument
| > (vlax-get-acad-object)
| > ) ;_ closes vla-get-ActiveDocument
| > ) ;_ closes vla-get-AcadPlot
| > "NumberOfCopies"
| > Copies
| > ) ;_ closes vla-put-property
| > ) ;_ closes defun
| >
| > (If you saw my first post, it had a typo!)
| >
| > --
| > R. Robert Bell, MCSE
| > Xtending the Power
| > www.acadx.com
| >
| > Kevin Bell wrote in message
| > news:[email protected]...
| > | I have created a Lisp plotter routine for my office to use.
| > | From one simple command it updates a drawings status, measures its
size,
| > | sets the paper size and plots the drawing
| > |
| > | One thing I would like to add to it is a feature that allows the user
to
| > | print multiple copies in one go.
| > |
| > | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my
plot
| > | routine uses the command from the
| > | command prompt by issuing -PLOT
| > |
| > | The problem is that the number of copies does not feature in the
command
| > | prompt version of the command
| > |
| > | Does anybody know how to access this from lisp or command prompt.
| > |
| > | P.S. I thought of just getting the routine to run -PLOT several times
| for
| > | the number of copies - but I dismissed this as it would take longer to
| > send
| > | and plot
| > |
| > | Any help would be appreciated.
| > | Kevin.
| > |
| >
|
0 Likes
Message 13 of 27

Anonymous
Not applicable
Oops, second post did *not* have "put". Rats.

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

R. Robert Bell wrote in message
news:[email protected]...
| AC2K is what you want. Ignore the man behind the curtain (I mean my first
| post), use the second post with (vlax-put-property).
|
| --
| R. Robert Bell, MCSE
| Xtending the Power
| www.acadx.com
|
| Kevin Bell wrote in message
| news:[email protected]...
| | Sorry Robert - I forgot to add that I am using AutoCAD 2000
| |
| | Kevin.
| |
| | R. Robert Bell wrote in message
| | news:[email protected]...
| | > What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
| | >
| | > (defun setPlotCopies (Copies)
| | > (vl-load-com)
| | > (vlax-set-property
| | > (vla-get-Plot
| | > (vla-get-ActiveDocument
| | > (vlax-get-acad-object)
| | > ) ;_ closes vla-get-ActiveDocument
| | > ) ;_ closes vla-get-AcadPlot
| | > "NumberOfCopies"
| | > Copies
| | > ) ;_ closes vla-put-property
| | > ) ;_ closes defun
| | >
| | > (If you saw my first post, it had a typo!)
| | >
| | > --
| | > R. Robert Bell, MCSE
| | > Xtending the Power
| | > www.acadx.com
| | >
| | > Kevin Bell wrote in message
| | > news:[email protected]...
| | > | I have created a Lisp plotter routine for my office to use.
| | > | From one simple command it updates a drawings status, measures its
| size,
| | > | sets the paper size and plots the drawing
| | > |
| | > | One thing I would like to add to it is a feature that allows the
user
| to
| | > | print multiple copies in one go.
| | > |
| | > | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my
| plot
| | > | routine uses the command from the
| | > | command prompt by issuing -PLOT
| | > |
| | > | The problem is that the number of copies does not feature in the
| command
| | > | prompt version of the command
| | > |
| | > | Does anybody know how to access this from lisp or command prompt.
| | > |
| | > | P.S. I thought of just getting the routine to run -PLOT several
times
| | for
| | > | the number of copies - but I dismissed this as it would take longer
to
| | > send
| | > | and plot
| | > |
| | > | Any help would be appreciated.
| | > | Kevin.
| | > |
| | >
| |
|
0 Likes
Message 14 of 27

Anonymous
Not applicable
What version of AutoCAD? If it is AC2K, you can set it via ActiveX:

(defun setPlotCopies (Copies)
(vl-load-com)
(vlax-put-property
(vla-get-Plot
(vla-get-ActiveDocument
(vlax-get-acad-object)
) ;_ closes vla-get-ActiveDocument
) ;_ closes vla-get-AcadPlot
"NumberOfCopies"
Copies
) ;_ closes vla-put-property
) ;_ closes defun

(If you saw my first post (or second one), it had a typo!)

--
R. Robert Bell, MCSE
Xtending the Power
www.acadx.com

Kevin Bell wrote in message
news:[email protected]...
| I have created a Lisp plotter routine for my office to use.
| From one simple command it updates a drawings status, measures its size,
| sets the paper size and plots the drawing
|
| One thing I would like to add to it is a feature that allows the user to
| print multiple copies in one go.
|
| The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
| routine uses the command from the
| command prompt by issuing -PLOT
|
| The problem is that the number of copies does not feature in the command
| prompt version of the command
|
| Does anybody know how to access this from lisp or command prompt.
|
| P.S. I thought of just getting the routine to run -PLOT several times for
| the number of copies - but I dismissed this as it would take longer to
send
| and plot
|
| Any help would be appreciated.
| Kevin.
|
0 Likes
Message 15 of 27

Anonymous
Not applicable
Calm down boy, calm down!

Saludos, Jorge Jimenez, SICAD S.A, Costa Rica

"R. Robert Bell" wrote:

> Oops, second post did *not* have "put". Rats.
>
> --
> R. Robert Bell, MCSE
> Xtending the Power
> www.acadx.com
>
> R. Robert Bell wrote in message
> news:[email protected]...
> | AC2K is what you want. Ignore the man behind the curtain (I mean my first
> | post), use the second post with (vlax-put-property).
> |
> | --
> | R. Robert Bell, MCSE
> | Xtending the Power
> | www.acadx.com
> |
> | Kevin Bell wrote in message
> | news:[email protected]...
> | | Sorry Robert - I forgot to add that I am using AutoCAD 2000
> | |
> | | Kevin.
> | |
> | | R. Robert Bell wrote in message
> | | news:[email protected]...
> | | > What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
> | | >
> | | > (defun setPlotCopies (Copies)
> | | > (vl-load-com)
> | | > (vlax-set-property
> | | > (vla-get-Plot
> | | > (vla-get-ActiveDocument
> | | > (vlax-get-acad-object)
> | | > ) ;_ closes vla-get-ActiveDocument
> | | > ) ;_ closes vla-get-AcadPlot
> | | > "NumberOfCopies"
> | | > Copies
> | | > ) ;_ closes vla-put-property
> | | > ) ;_ closes defun
> | | >
> | | > (If you saw my first post, it had a typo!)
> | | >
> | | > --
> | | > R. Robert Bell, MCSE
> | | > Xtending the Power
> | | > www.acadx.com
> | | >
> | | > Kevin Bell wrote in message
> | | > news:[email protected]...
> | | > | I have created a Lisp plotter routine for my office to use.
> | | > | From one simple command it updates a drawings status, measures its
> | size,
> | | > | sets the paper size and plots the drawing
> | | > |
> | | > | One thing I would like to add to it is a feature that allows the
> user
> | to
> | | > | print multiple copies in one go.
> | | > |
> | | > | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my
> | plot
> | | > | routine uses the command from the
> | | > | command prompt by issuing -PLOT
> | | > |
> | | > | The problem is that the number of copies does not feature in the
> | command
> | | > | prompt version of the command
> | | > |
> | | > | Does anybody know how to access this from lisp or command prompt.
> | | > |
> | | > | P.S. I thought of just getting the routine to run -PLOT several
> times
> | | for
> | | > | the number of copies - but I dismissed this as it would take longer
> to
> | | > send
> | | > | and plot
> | | > |
> | | > | Any help would be appreciated.
> | | > | Kevin.
> | | > |
> | | >
> | |
> |
0 Likes
Message 16 of 27

Anonymous
Not applicable
LOL. Looks like a chihuahua on Jolt cola, doesn't he?

--
Attitudes are contagious. Is yours worth catching?
http://www.acadx.com

"Jorge Jimenez" wrote in message
news:[email protected]...
> Calm down boy, calm down!
0 Likes
Message 17 of 27

Anonymous
Not applicable
. \\
> ))
. //
0 Likes
Message 18 of 27

Anonymous
Not applicable
Grrrrrr......
0 Likes
Message 19 of 27

Anonymous
Not applicable
Based on the response to this post I think you guys might find my software
package quite useful. I have a routine that I developed to plot multiple
drawings to multiple locations/files. I call this routine PlotWizard. My
Software package is described on my web page at
www.homestead.com/designpro/main.html These pages will explain to you how
my auto titleblocks, and detail borders work. Now I have not included
Plotwizard on my pages yet but here is how it works. The program is
designed to plot/print specific sheet sizes to pre-set locations. I have
mine configured to got to my laser printer & to my plotter. The routine is
dialog based to allow you to force all drawing sizes to the laser on legal
paper or letter. These options are available for each paper size larger
than letter: B,C,D,E, OR even long plots. If this sounds interesting to you
drop me a line through email on my website. It also allows you to send to a
file for spooling through windows or plotting later while you are at home
watching Friends. If you told my fellow workers that Plotwizard is no
longer working they would freak. Its simple you can plotter 100's of
drawings with one selection set of borders or you pick all of those points
the manual way. Will sale for $50.00/licensed copy or $500.00 unlimited
site license. Additional cost may be required for configuring your plotter
settings if needed.

Sincerely,

Rodney Estep

R. Robert Bell wrote in message
news:[email protected]...
> What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
>
> (defun setPlotCopies (Copies)
> (vl-load-com)
> (vlax-put-property
> (vla-get-Plot
> (vla-get-ActiveDocument
> (vlax-get-acad-object)
> ) ;_ closes vla-get-ActiveDocument
> ) ;_ closes vla-get-AcadPlot
> "NumberOfCopies"
> Copies
> ) ;_ closes vla-put-property
> ) ;_ closes defun
>
> (If you saw my first post (or second one), it had a typo!)
>
> --
> R. Robert Bell, MCSE
> Xtending the Power
> www.acadx.com
>
> Kevin Bell wrote in message
> news:[email protected]...
> | I have created a Lisp plotter routine for my office to use.
> | From one simple command it updates a drawings status, measures its size,
> | sets the paper size and plots the drawing
> |
> | One thing I would like to add to it is a feature that allows the user to
> | print multiple copies in one go.
> |
> | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
> | routine uses the command from the
> | command prompt by issuing -PLOT
> |
> | The problem is that the number of copies does not feature in the command
> | prompt version of the command
> |
> | Does anybody know how to access this from lisp or command prompt.
> |
> | P.S. I thought of just getting the routine to run -PLOT several times
for
> | the number of copies - but I dismissed this as it would take longer to
> send
> | and plot
> |
> | Any help would be appreciated.
> | Kevin.
> |
>
0 Likes
Message 20 of 27

Anonymous
Not applicable
Hi Robert,

OK I took your lisp and added a line to set the number of plots

(defun setPlotCopies (/)
(setq Copies 4)
(vl-load-com)
(vlax-put-property
(vla-get-Plot
(vla-get-ActiveDocument
(vlax-get-acad-object)
) ;_ closes vla-get-ActiveDocument
) ;_ closes vla-get-AcadPlot
"NumberOfCopies"
Copies
) ;_ closes vla-put-property
) ;_ closes defun

I then loaded the LISP into AUTOCAD 2000 and typed

(setPlotCopies) which returned nil

I then ran -plot :

Command: -plot Detailed plot configuration? [Yes/No] :

Enter a layout name or [?] :

Enter a page setup name <>:
Enter an output device name or [?] :
Write the plot to a file [Yes/No] :
Save changes to layout [Yes/No]?
Proceed with plot [Yes/No] :
Effective plotting area: 291.34 wide by 412.59 high
Effective plotting area: 275.76 wide by 349.00 high

Plotting viewport 2.

Plotting viewport 1.

Command:

But I couldn't get it to plot more than one print. 😞

Any ideas - Is it due to loading the PC3 file ??

Thanks
Kevin.

R. Robert Bell wrote in message
news:[email protected]...
> What version of AutoCAD? If it is AC2K, you can set it via ActiveX:
>
> (defun setPlotCopies (Copies)
> (vl-load-com)
> (vlax-put-property
> (vla-get-Plot
> (vla-get-ActiveDocument
> (vlax-get-acad-object)
> ) ;_ closes vla-get-ActiveDocument
> ) ;_ closes vla-get-AcadPlot
> "NumberOfCopies"
> Copies
> ) ;_ closes vla-put-property
> ) ;_ closes defun
>
> (If you saw my first post (or second one), it had a typo!)
>
> --
> R. Robert Bell, MCSE
> Xtending the Power
> www.acadx.com
>
> Kevin Bell wrote in message
> news:[email protected]...
> | I have created a Lisp plotter routine for my office to use.
> | From one simple command it updates a drawings status, measures its size,
> | sets the paper size and plots the drawing
> |
> | One thing I would like to add to it is a feature that allows the user to
> | print multiple copies in one go.
> |
> | The AutoCAD PLOT dialog box has a 'Number of Copies' entry - but my plot
> | routine uses the command from the
> | command prompt by issuing -PLOT
> |
> | The problem is that the number of copies does not feature in the command
> | prompt version of the command
> |
> | Does anybody know how to access this from lisp or command prompt.
> |
> | P.S. I thought of just getting the routine to run -PLOT several times
for
> | the number of copies - but I dismissed this as it would take longer to
> send
> | and plot
> |
> | Any help would be appreciated.
> | Kevin.
> |
>
0 Likes