wrote:
Have a weird one. The application works fine on some printers, doesn't onThis doesn't really seem to be a .NET or C# question. However, you may
others. The problem is that I have a one page report which uses several
fonts and fonts of varying size. The only one I am having trouble with
is
the OCR font (see code below). On some machines, when they print to
their
local printer. it comes out looking like Arial or something similar.
These
are a combination of local attached printers (mostly) and some network
ones.
For example. one model of HP works, another doesn't.
want to look at the driver settings (printer properties). Usually when
what you're describing happens, it's because the printer driver is
substituting fonts that aren't built into the printer.
It's more efficient for the driver to use font substitution, because then
the output to the printer can be sent as text without graphics. However,
as you've seen, the printer won't necessarily have all the fonts you have.
This appears most commonly in printers that also don't have TrueType
support (printers that do can support having a font sent to the printer
temporarily, which obviously involves more data than just sending text,
but which is usually less data than rendering the text on the PC and
sending the whole graphic to the printer).
Anyway, the short answer is that in the printer properties when you
configure your print job, there is for these kinds of printers often an
option that allows you to control whether font substitution is done.
Unfortunately, there's not a single, consistent phrasing printer
manufacturers use, but usually there'll be either some comment about font
substitution, or something about sending text as graphics.
As for why you still get printer output when you use print preview, I
don't know. Maybe there's an option when you close print preview that
allows you to either start a print job or not, and you're accidently using
that option. I'm sure that's not normal, whatever the cause. :)
Pete