🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Peter M. Jansson Fri, 22 Mar 1991 18:15
Native-mode dot-matrix printer fonts
#2476
Author: Peter M. Jansson
Date: Fri, 22 Mar 1991 18:15
21 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads