Duplex Printing using the PrintDocument class

  • Thread starter Thread starter Anthony
  • Start date Start date
A

Anthony

Hi,

I've been trying for quite some time to get duplex
printing working with .Net Framework 1.0 (I haven't tested
with 1.1 yet). As far as I can tell, I'm correctly
setting the PrinterSettings of the PrintDocument. I've
also tried setting the
PrintDocument.DefaultPageSettings.PrinterSettings.

The network printer I'm using supports duplexing, and I've
successfully constructed a simple MFC app that duplexes
correctly.

Does anyone have any ideas, or know of any issues I should
be aware of?

Thanks,

Anthony
 
Anthony,
As I replied to one of your previous posts, I'm not having any problems
with this although I do go through a PrintPreviewDialog first and set the
Duplex mode with a PrintDialog. You might try using a PrintDialog first and
see if you can find any difference in the PrinterSettings returned from that
and yours.

Ron Allen
 
Anthony,
I'd guess the driver first with the caveat that I don't have any
duplexing HP printers to test this with. Or, if you are using a Windows
server, the options on the server printer may not be set correctly. If you
don't configure the printer to tell it that it has the duplex equipment it
may not work.

Ron Allen
 
Back
Top