Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2004

Tip: Looking for answers? Try searching our database.

Printing Problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 10 May 2004 17:01 GMT
I have built an application for a client that includes printing functionality. I have produced some code that uses the System.Drawing.Printing classes to output a table that I have drawn, and you can preview and print the document. The preview and printing works perfectly from my machine (running XP Proffessional), and also from other machines (also running XP Proffessional) to different printers (both networked, and non-networked)

However, we have tested the program on some of the client machines (some running Windows 2000 Proffessional, some running Windows NT), and there is a problem with the printing. Text (rendered using Graphics.DrawString) is not being printed in the correct positions, and is sometimes not even on the page. Also, in some cases, it doesn't print the text correctly, and it appears with all characters in one place on top of each other. Most of the text prints exactly as intended (especially any numbers, and anything in capitals), as does all the lines that make up the table, so it seems very inconsistent. To cap it all, the Print Preview is rendering perfectly, and offers no indication as to why it is not printing correctly. The machines print from other applications correctly (not .NET)

I have a feeling that this might be driver related. Has anyone seen anything like this before, and hence are able to shed any light?

Many Thank
Mark
Ron Allen - 10 May 2004 17:18 GMT
Mark,
   There have been problems printing to printers with old drivers that
don't support Unicode characters.  My old Lexmark Optra was one and loading
the latest driver from the manufacturer fixed that.

Ron Allen
> I have built an application for a client that includes printing functionality. I have produced some code that uses the
System.Drawing.Printing classes to output a table that I have drawn, and you
can preview and print the document. The preview and printing works perfectly
from my machine (running XP Proffessional), and also from other machines
(also running XP Proffessional) to different printers (both networked, and
non-networked).

> However, we have tested the program on some of the client machines (some running Windows 2000 Proffessional, some running Windows NT), and there is a
problem with the printing. Text (rendered using Graphics.DrawString) is not
being printed in the correct positions, and is sometimes not even on the
page. Also, in some cases, it doesn't print the text correctly, and it
appears with all characters in one place on top of each other. Most of the
text prints exactly as intended (especially any numbers, and anything in
capitals), as does all the lines that make up the table, so it seems very
inconsistent. To cap it all, the Print Preview is rendering perfectly, and
offers no indication as to why it is not printing correctly. The machines
print from other applications correctly (not .NET).

> I have a feeling that this might be driver related. Has anyone seen anything like this before, and hence are able to shed any light??
>
> Many Thanks
> Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.