I am working on an NT4 Printer driver and have come across the following
problem. I am using JOB_INFO_2 to determine the document orientation in
pDEVMODE when I print. If I open word97 and change orientation of document
to landscape in page setup, the orientation in JOB_INFO_2 is still
portrait, however, if I print a second time, it changes to landscape. Why
does this happen? It appears to occur in word but not excel.
Thankyou
David
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
if you change the orientation,
then you should get calls to DrvEnable and ExtDevicemode
Are you sure you are doing the right thing there ?
i.e. merging the DEVMODE properly …
i am not sure , but if i remember correctly,
you have to merge the DEVMODE set by the application
and one maintained by the driver.
hope this helps
-Girish
-----Original Message-----
From: xxxxx@aspect.com.au [SMTP:xxxxx@aspect.com.au]
Sent: Tuesday, March 06, 2001 1:30 PM
To: NT Developers Interest List
Subject: [ntdev] NT4 Printer Driver Document Orientation Problem
I am working on an NT4 Printer driver and have come across the following
problem. I am using JOB_INFO_2 to determine the document orientation in
pDEVMODE when I print. If I open word97 and change orientation of document
to landscape in page setup, the orientation in JOB_INFO_2 is still
portrait, however, if I print a second time, it changes to landscape. Why
does this happen? It appears to occur in word but not excel.
Thankyou
David
You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com