Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Change Printed Font

Change Printed Font

2004-02-04       - By Pete Nesbitt

 Back
Reply:     1     2     3     4     5     6  

On February 4, 2004 08:53 am, Richard Ottinger wrote:
> Does anyone know of a way to change the font that is printed out when
> you print a text file (lpr -Pprintername filename) from a terminal?
> Or if its possible?
> I 'm in console mode (not X windows). I 'm using Red Hat 9 with CUPS.
>
> I 'm upgrading a Red Hat 5.2 machine which seems to have a completely
> 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. The reports are HUBAR!
> (HOSED UP BEYOND ALL RECOGNITION), and there 's too many to reformat.
>
> I noticed the Printer Configuration utility program in X that will allow
> you to edit a printer and in the Queue Options tab change the cpi and
> lpi (will not let me change font type) which will get the font close to
> the same size but there 's still a noticable difference in the Font type
> thats printed.
>
> Thanks,
> Richard

If your printing to a postscript printer, use a2ps. Have a look at the a2ps
man page. It can be confusing but it also does a lot of stuff.
It work I use a alias of 'print ' to run something like "fold -s <file >|a2ps "
which gives me nice font size, duplex, a header etc. It can be used to print
multiple sheets on one page by reducing the text, handy for reviewing a long
script and the like.

There are a lot of options and the defaults are not what you would want, but
it is a great tool to be familiar with, same with fold. Let me know if you
need a hand with it.
--
Pete Nesbitt, rhce


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list