Printing From Linux

All the printers listed in the PrintQueues page are available via cups. Users of LINUX desktops and laptops can print documents to these printers via lpr. For example:

Printing a postscript file to printer 'ld'
$ lpr -Pld a_paper.ps

More information on lpr can be found in its man page.

Please use a2ps to print text documents.

To print an text document to printer 'la'
$ a2ps -Pla some_data.txt

More information on a2ps can be found in its man page.

The status of all printers available under LINUX is summarised on the http://ppecups.physics.gla.ac.uk:631/printers/ CUPS server (This is only acccessible within the local network.)

Applications

Some applications such as firefox may not list the printers 'la', 'ld' or 'le' for these use the alternative names for these printers listed on the PrintQueues page.

Print Options

For single sided printing to duplex printers use the one-sided option:

To print a document single sided on a duplex printer
$ lpr -Pld -o sides=one-sided filename.pdf

Other print options can be found within the [http://www.cups.org/articles.php?L224 CUPS documentation].

Configuring a Linux Laptop

Linux laptops are not initially configured to point at the PPE groups CUPS server. If you're at Glasgow and would like to print from your LINUX laptop edit the /etc/cups/client.conf file, adding

ServerName ppecups.physics.gla.ac.uk

and restart the CUPS server. Under Scientific or Redhat LINUX CUPS can be restarted by typing:

[root@laptop root]# /etc/init.d/cups restart

as root.

-- AndrewPickford - 02 Feb 2009


This topic: IT > WebHome > GroupPrinting > GroupPrintersLinux
Topic revision: r2 - 2009-05-06 - AndrewPickford
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback