Font size and printing with TrueType fonts [message #11233] |
Thu, 19 March 1998 00:00 |
Reinhold Schaaf
Messages: 10 Registered: March 1998
|
Junior Member |
|
|
<HTML>
<TT>Hi everybody,</TT><TT></TT>
<P><TT>I want to produce printer output that contains not only plots, but
also a considerable amount of text, which has to be formatted in some way.
I want to use TrueType fonts in different sizes and styles. I am working
under Windows NT, my printer is a HP LJ 6L (no Postscript, no PCL).</TT><TT></TT>
<P><TT>I tried:</TT><TT></TT>
<P><TT>!P.FONT = 0</TT>
<BR><TT>SET_PLOT, 'PRINTER'</TT>
<BR><TT>DEVICE, FONT='Arial*24'</TT>
<BR><TT>XYOUTS, posX, posY, $</TT>
<BR><TT> 'Some Text', $</TT>
<BR><TT> /NORMAL, $</TT>
<BR><TT> ALIGNMENT=0.5</TT>
<BR><TT>DEVICE, /CLOSE_DOCUMENT</TT>
<BR><TT></TT> <TT></TT>
<P><TT>which produced on my 600dpi printer a tiny text, because each character
is now 24 pixels in size. Of course I can scale the size in the DEVICE
command up, but what if the program is used with a 300dpi printer? The
FONT_SIZE keyword seems to work for postscript printers only.</TT><TT></TT>
<P><TT>So I am looking for a way how to define the size of the characters
such, that they are of a defined size, no matter what the resolution of
the printer is. What I need is a solution that does work for non-postscript,
non-PCL printers.</TT><TT></TT>
<P><TT>Thank you for any help</TT><TT></TT>
<P><TT>Reinhold</TT>
<BR><TT></TT> <TT></TT>
<P><TT>--</TT>
<BR><TT> ************************************************************ * </TT>
<BR><TT> Reinhold Schaaf</TT>
<BR><TT> Ettighofferstr. 22</TT>
<BR><TT> 53123 Bonn</TT>
<BR><TT> Germany</TT><TT></TT>
<P><TT> Tel.: 0049-228-625713</TT>
<BR><TT> Email: schaaf@astro.uni-bonn.de</TT>
<BR><TT> ************************************************************ * </TT>
<BR><TT></TT> </HTML>
|
|
|