comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to get page size for PRINTER device?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to get page size for PRINTER device? [message #22731] Mon, 04 December 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
According to the IDL 5.4 documentation:

"The DIALOG_PRINTERSETUP function opens a native dialog for setting the
applicable properties for a particular printer."

Let's say I've selected the PRINTER graphics device, and I've called
DIALOG_PRINTERSETUP to change the paper size from Letter to A4, e.g.

IDL> set_plot, 'PRINTER'
IDL> result = dialog_printersetup()

Is there any way to return the new page size to an IDL application? I'm
talking about the actual width and height of the paper (i.e. 21.0 x 29.7 cm
for A4), not the dimensions of the drawable area on the page (17.78 x 12.7
cm by default).
Even if one uses a printer object, I don't see how the paper size can be
obtained.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: underscore bug?
Next Topic: Zooming in Object Graphics

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:24:09 PDT 2025

Total time taken to generate the page: 1.19946 seconds