Hi All,
I am currently coding an application that creates a report to be
printed. I found out that when I use some fonts on my report, they get
scrambled on the hard copy (the print preview works correctly). Right
now, one font I can use that prints correctly is "Courier". So I
looked a bit further and after searching in the newsgroups, I found
out that this was also happening when I was printing the source code
from the VS.NET IDE. By default, my setup in VS.NET uses "Courier
New" to print the code and it comes out scrambled. If I change my
VS.NET options for printer to "Courier" it prints out correctly. Even
"Arial" prints out scrambled! I have tried many things and this
problem is only present with VS.NET and my application. So it seems
related to the .NET Platform because all other applications I have on
my W2K are printing correctly with all fonts. I am printing on a Xerox
DC 440PS and I tried to update the driver without any effect. I have
also tried a simple code printing example from microsoft and it is
doing the same.
I searched newsgroups about that but did not find any solutions. Can
anyone else try this and tell me that I am not alone?
Thanks,
Hugo
David Lowndes - 01 Aug 2003 00:18 GMT
>I am currently coding an application that creates a report to be
>printed. I found out that when I use some fonts on my report, they get
[quoted text clipped - 3 lines]
>out that this was also happening when I was printing the source code
>from the VS.NET IDE.
Is your application outputting Unicode (as the IDE now does)?
The usual solution for corrupt printouts from the IDE is to get an
up-to-date printer driver from the printer manufacturer. If they don't
have a fix, change the printer settings to output the font as a
bitmap.
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq