all groups > dotnet drawing api > june 2004 >
You're in the

dotnet drawing api

group:

Landscape Duplex is upside down


Landscape Duplex is upside down Mike Dekarske
6/25/2004 11:31:55 AM
dotnet drawing api: I can't find the property in printdocument.defaultpagesettings to change the
binding edge.

My duplex works fine but the back side of the page is upside down.

PrintDoc.DefaultPageSettings.Landscape = True
PrintDoc.PrinterSettings.Duplex = Duplex.Horizontal

I've also tried:

PrintDoc.DefaultPageSettings.Landscape = True
PrintDoc.DefaultPageSettings.PrinterSettings.Duplex = Duplex.Horizontal

Also tried Duplex.Vertical on both examples above.

Mike Dekarske

Re: Landscape Duplex is upside down Mike Dekarske
6/25/2004 3:14:55 PM
Yes, it duplexes by itself (fyi HP LaserJet 2200D).

Further investigation shows that if I turn off all attempts to duplex in my
program, then set my printer defaults to duplex and rotate 180 degrees, it
works perfect.

Not the solution though.


[quoted text, click to view]

Re: Landscape Duplex is upside down Bob Powell [MVP]
6/25/2004 9:18:53 PM
Silly question but is this a printer that turns the paper automatically or
not? ;-)

--
Bob Powell [MVP]
Visual C#, System.Drawing

Image transition effects, snap-to-grid and Layered Windows are
all discussed in May's edition of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml






[quoted text, click to view]

AddThis Social Bookmark Button