compressed printing to a laserjet from a shell program

John Macdonald john-Z7w/En0MP3xWk0Htik3J/w at public.gmane.org
Wed Apr 20 14:32:32 UTC 2005


On Wed, Apr 20, 2005 at 10:25:45AM -0400, Madison Kelly wrote:
> Hi all,
> 
>   I have a text-based accounting program running on Linux (clients and 
> server). I have an HP LaserJet 2430dtn setup and working wonderfully 
> from GUI apps and from the command line. What I need to do, and I have 
> limited experience printing from the shell, is get the shell program to 
> tell the printer to print in a compressed mode.
> 
>   I have created a second copy of the driver/queue to play with so the 
> main printer driver should be left alone and stay working letting me 
> experiment as I need to on the new second queue.
> 
>   The system is FC3 and the terminal is bash.
> 
> Thanks!!
> 
> The ever-questioning Madison

"a2ps" will do what you want.  It accepts text input and converts
it to postscript, supporting a wide range of filtering and
formatting choices.

Another similar program is "enscript".

-- 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list