954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C# print problem -- page orientation

Hi,
I'm having a print problem for my C# windows form program.

In my small program, I need to pull out data from my database and format them as invoice format. These parts were done quit well. When it went to printing, something weird happen.

I used PrintDocument class to do printing. And I set the DefaultPageSettings.Landscape = false. In my testing environment, the document could be printed probably under the printer HP LaserJet 2420dn; however, when I put it into the production environment, the output became Landscape!! My production environment has an EPSON FX2190 printer attached to a PC where my program located using Paralled port. I'd been stuck into this problem for two days and got no clue for resolving it.

Anyone has any idea?

--Ben

benfly08
Newbie Poster
1 post since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You