Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting papersize with Lisp?

297 views
Skip to first unread message

Ivo H.A. Mans

unread,
Nov 27, 1997, 3:00:00 AM11/27/97
to

Does anybody know a method to set the proper papersize with a Lisp routine
?

We are using Windows System Printer, to print to a Nashua D420.
So the PLOT command does not ask for the paper size.

This printer offers both A3 and A4 paper. In the end, I would like to make
a routine which automatically chooses A3 for large drawings, and A4 for the
real A4-size drawings.

We are using Autocad 13.

Ivo Mans.


Dave Jones

unread,
Nov 28, 1997, 3:00:00 AM11/28/97
to

On Thu, 27 Nov 1997 23:27:25 +0100, "Ivo H.A. Mans" <ma...@xs4all.nl>
wrote:

Hi,
why not just configure a plotter in AutoCAD for each paper size and
call the appropriate plotter in lisp using the limmax variable? I have
attached a quick myplot.lsp. I didn't test it and I am NOT a lisp
expert so you're on your own from here.

regards,

Dave Jones da...@ddpburney.com
Drafting & Design Plus
from lovely downtown Burney, CA
http://www.ddpburney.com

Arthur T. Martinez

unread,
Nov 29, 1997, 3:00:00 AM11/29/97
to Ivo H.A. Mans

Ivo H.A. Mans wrote:
>
> Does anybody know a method to set the proper papersize with a Lisp routine
> ?
>
> We are using Windows System Printer, to print to a Nashua D420.
> So the PLOT command does not ask for the paper size.
>
> This printer offers both A3 and A4 paper. In the end, I would like to make
> a routine which automatically chooses A3 for large drawings, and A4 for the
> real A4-size drawings.
>
> We are using Autocad 13.
>
> Ivo Mans.

********

You don't need a lisp program to solve your problem.

Your plot dialogue box has a selection box for paper size. Is the CMMDIA
variable set to 1? If not it should be. If the choices are greyed out
then you need to go the DEVICE and DEFAULT selection box. The next
selection box will let you change the paper size. Make the change and
click OK. Before you exit the SELECT DEVICE dialogue box click on the
SAVE DEFAULTS TO FILE box and make up a name that includes the paper
size.

Repeat the process to select another paper size. You can even make your
pen selections and they too will be save to the .pcp files.

Regards,

Art Martinez


I hope that helps.

0 new messages