Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody

I have printer Sharp MX2300N and I try to print using duplex.


but printer is still printing on oneside (I see it in properities of printer)

What is wrong...?

What I have tried:

PrinterSettings oPSd = new PrinterSettings();

MessageBox.Show(oPSd.Duplex.ToString());
//shows "Simplex"
if (oPSd.CanDuplex == true)
oPSd.Duplex = System.Drawing.Printing.Duplex.Vertical;
MessageBox.Show(oPSd.Duplex.ToString());
// shows "Vertical"
Posted
Comments
Herman<T>.Instance 28-Jun-16 9:35am    
Did you ever print with/after executing the code? You make a temporary setting for the job. So you windows printers show other information.
slawoonet 29-Jun-16 8:26am    
Printing is after executing this code.
[no name] 28-Jun-16 10:12am    
Have you tried this one: http://stackoverflow.com/questions/10120245/c-sharp-force-print-job-to-be-simplex-printer-default-is-duplex

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900