Printer Driver Paper Size

Hi I’m writing a virtual printer driver and need some information
related to this topic.
Is it possible, if yes how, to receive the current selected paper size
of the printing application. I’m speaking of a application like Corel
Draw were you can’t select a Printer Paper Size from within the Paper
Size Panel.

Thanks in advance

You Can get the papersize used for current print job from the
application by looking at DEVMODE coming
in DrvEnablePdev(…). The members in devmode of importance are
dmPaperSize, dmPaperLength and dmPaperWidth.

Thanks
Vipin

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Kurt
Blumenschein
Sent: Wednesday, October 13, 2004 11:27 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Printer Driver Paper Size

Hi I’m writing a virtual printer driver and need some information
related to this topic. Is it possible, if yes how, to receive the
current selected paper size of the printing application. I’m speaking of
a application like Corel Draw were you can’t select a Printer Paper Size
from within the Paper Size Panel.

Thanks in advance


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@wipro.com To
unsubscribe send a blank email to xxxxx@lists.osr.com