Printing text files with Fedora (impact printers)

Tom Diehl tdiehl at rogueind.com
Sun Jan 4 15:06:34 UTC 2004


On Sun, 4 Jan 2004, Rodrigo Malara wrote:

> Em Dom, 2004-01-04 às 11:43, Tom Diehl escreveu:
> > On Sun, 4 Jan 2004, Rodrigo Malara wrote:
> > 
> > > Hi to all,
> > > 
> > > my company is acquiring an impact printer and we would want to print
> > > plain text files with it. In MS-DOS we would do the following:
> > > 
> > > type file.txt > LPT1
> > > 
> > > So, my question is: Can we (and how) do it using linux too? We have
> > > fedora core 1 running here...
> > 
> > Add it to cups using redhat-config-printer* and print to it like any other
> > printer.
> > 
> > Maybe "lp file.txt" or whatever you do to print to any other printer.
> 
> Do you know if the text to be printed are graphics rendered (slow
> printing) or if the text will be sent to the printer directly to be
> rendered by it's built in fonts (faster printing) ?

I _think_ it depends on the driver you select but I am not sure. If you
do not need the spooler functions you can always do cat filename > /dev/lp1
or whatever the device happens to be. Of course that means multiple users
could do the same thing at the same time and really screw things up. :-)

HTH,

.....Tom





More information about the fedora-list mailing list