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