Article View: comp.os.os2.programmer
Article #2476Native-mode dot-matrix printer fonts
From: Peter M. Jansson
Date: Fri, 22 Mar 1991 18:15
Date: Fri, 22 Mar 1991 18:15
21 lines
1365 bytes
1365 bytes
We are using OS/2 1.3 with an Epson dot-matrix printer, and
we want to print some text-only reports -- no graphics
involved. I see that the help system on most OS/2-supplied
applications can use the printer's native character fonts.
When we try to print, by getting the printer's device context
and associating a presentation space with it, the printer
shifts to graphics mode and prints our reports in one of the
installed fonts -- Courier, Helvetica, or Times Roman. Printing
the reports in Helvetica is very pretty, but unacceptably slow.
Can someone tell me if there is a way to get to the native font
on the printer? Can I get its font metrics? Is setting up an
associated presentation space the wrong way to go about this, and
if so, how should I do it and maintain some semblance of printer
independence?
I'll appreciate your replies by e-mail. If there is interest,
I'll happily summarize and post.
Thanks,
Pete. (pmj@roadnet.com)
Technical Details
Message-ID:
<g938y1w163w@roadnet.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!psuvax1!rutgers!cmcl2!uupsi!roadnet!pmjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!psuvax1!rutgers!cmcl2!uupsi!roadnet!pmj From: pmj@roadnet.com (Peter M. Jansson) Newsgroups: comp.os.os2.programmer Subject: Native-mode dot-matrix printer fonts Message-ID: <g938y1w163w@roadnet.com> Date: 22 Mar 91 18:15:27 GMT Organization: Roadnet Technologies, Inc. Lines: 21