G
Guest
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
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