Re: Font question




Are you opening the printer directly as /dev/whatever or are you
sending the output via lpr? If you are using lpr then there are
probably switches you can use to specify the font to be used for pain
text.

I don't know which of the many lpr implementations available on Linux
Fedora will install by default.

I'm opening the printer by using lpr.


If you are talking direct to /dev/whatever (or using lpr in raw mode)
I don't think there are any PCL modules as such in Perl but there's
nothing stopping you looking up the escape sequence in a PCL manual
and manually doing print("\e(s4099T") [1].

I found some escape-sequences in a PCL manual, but I found out that was the wrong PCL version so that didn't work.


[1] That's untested. I just did a quick Google and glanced at the
following HP manuals:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf
http://lprng.sourceforge.net/DISTRIB/RESOURCES/DOCS/pcl5comp.pdf



Thanks for the links. I'll try the manual print....
.



Relevant Pages

  • Re: lpr: unable to print file: client-error-document-format-not-supported
    ... > created with mkpcl. ... > lpr -p printername pclfile.pcl ... What version of PCL is used in the file? ... PCL is HP's own printer command language. ...
    (comp.os.linux.hardware)
  • Re: Howto change the default font used by gs?
    ... printed from mozilla-firefox, enscript and lpr ... small chars float middle centered to the capital letters ... but there's also a barcode font, and i would like ot use it, otherwise i ...
    (Debian-User)
  • [opensuse] lpr printing
    ... I have an HP LaserJet 6p set up as my default printer in Suse 10.2 and ... am using lpr to print text files to it. ... a smaller font as default if possible. ...
    (SuSE)
  • Re: UTF-8 pinyin characters to PostScript
    ... > I look at the ps file with gv (which I believe comes with ghostscript) the ... > characters don't show up as expected right there. ... > font when converting to PS using lpr or other, ...
    (comp.os.linux.misc)
  • Change Printed Font
    ... different font that prints from which RH 9 prints. ... The reason for upgrading the 5.2 machine is to also upgrade a database ... that issues lpr commands to print reports. ... lpi (will not let me change font type) which will get the font close to ...
    (RedHat)