By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,660 Members | 1,953 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,660 IT Pros & Developers. It's quick & easy.

C# Printing Problem

P: 19
Hi,
I got a printing problem for my C# program. I need to pull out records from database and format them and then print them out.
I used PrintDocument class and PrintPageEventHandler function to handle multiple page printing. When I tried printing the records in testing environment which has an HP LaserJet 2420dn printer, it worked fine. However, when I put the program into production environment which has an EPSON FX-2190, the results were shown Landscape, but I did set DefaultPageSettings.Landscape = false in my code.
We had an old program written in VB.NET which worked fine. But the way it did was calling Excel to generate a file and then print the file out. Since we don't want to get Excel involved, the new program should directly print out records after pulling them out from database and formatting.
Anyone has idea?


PS: I'm using .NET 1.1 framework.
Dec 19 '06 #1
Share this Question
Share on Google+
1 Reply


P: 19
Problem resolved. It's just the printer's setting...
Dec 21 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.