Duplex Mode in Windows Service

Duplex Mode in Windows Service

Forum member · Mar 20, 2012
Hello I have a problem to print in a duplex mode from a Windows Service. I try it with Build 18760 on Windows XP (32bit) and Windows Server 2008 R2 (64bit). The printer is: Lexmark T654 PS3. When I use the same code from WinForms application, the duplex mode work well. But, when I try it from a Window Servcie it just ignore my settings and print the document in a simplex mode.

Re: Duplex Mode in Windows Service

Support · Mar 20, 2012
Hello, In your case since you are able to print in duplex mode from a win forms application the PrintManager is definitely setting the duplex flag on the print job. It could be that the printer is ignoring this flag when printed from a windows service. Try and run the windows service with the same user account as your win forms application and see if it prints in duplex mode. If you are unable to print even after using the same user account in both cases please send over the code to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so we can take a look into it further. Thanks, ceTe Software Support Team.

Re: Duplex Mode in Windows Service

Forum member · Mar 26, 2012
I check it again. This problem have no connection with Windows Service. The problem accure when I set the paper size to "A4", and try to print in Duplex Mode. When the paper size is not set, or when it set to "Letter", then duplex mode working.

Re: Duplex Mode in Windows Service

Support · Mar 27, 2012
Hello, We did some testing on our end and we are able to print the PDF document in duplex with both page sizes, A4 and Letter. In your case it could be an issue with the printer, can you please try printing the PDF document from a PDF Viewer like Adobe Reader and when you print make sure you print it in duplex mode to an A4 page and see if it correctly prints in duplex? Thanks, ceTe Software Support Team.

Re: Duplex Mode in Windows Service

Forum member · Apr 3, 2012
OK. It seems to be a bug in the Lexmark Universal driver. The default in the Adobe Reader was Letter, which is why the problem occurred only when I printed from the PrintManager, and note at the Adobe Reader. When I Configured the printer to A4, I managed to reproduce the problem in Adobe Reader too. Thank you very much!