P
paschoemans
Hello,
I've a problem with my SetPrinterDuplex function use.
(See http://support.microsoft.com/kb/q230743)
I want to print a file with duplex option.
So, I use the function like this:
SetPrinterDuplex PrinterName, 2
Then I print with printout:
Application.PrintOut Background:=False, Copies:=NumberOfCopies (that is a
var declared upper in my code).
And then, I want to go back to no duplex settings with
SetPrinterDuplex PrinterName, 1
The problem is that the document is not printed on both side.
If I remove the last line, it works fine.
So I suppose my problem occurs because the 2nd setprinterduplex switch the
property too quickly. Is it ?
Does someone have a solution ?
I've a problem with my SetPrinterDuplex function use.
(See http://support.microsoft.com/kb/q230743)
I want to print a file with duplex option.
So, I use the function like this:
SetPrinterDuplex PrinterName, 2
Then I print with printout:
Application.PrintOut Background:=False, Copies:=NumberOfCopies (that is a
var declared upper in my code).
And then, I want to go back to no duplex settings with
SetPrinterDuplex PrinterName, 1
The problem is that the document is not printed on both side.
If I remove the last line, it works fine.
So I suppose my problem occurs because the 2nd setprinterduplex switch the
property too quickly. Is it ?
Does someone have a solution ?