On 02-Oct-2003/08:45 +0200, Simon <[EMAIL PROTECTED]> wrote:
>one little question, how can I print on an networkprinter using the
>terminal?  when its possible i want to print text file also as pdf etc.

Use this to print either text or PostScript:

  lpr -P printername filename


To convert a text file to PDF:

  a2ps --columns=1 --medium=Letter --portrait \
    filename.txt -o - | ps2pdf - > filename.pdf


-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to