Difference: GroupPrintersLinux (1 vs. 4)

Revision 42016-04-19 - GordonStewart

Line: 1 to 1
 
META TOPICPARENT name="GroupPrinting"
Changed:
<
<

Printing From Linux

>
>

Group Printers: Linux

 
Changed:
<
<
The CUPS print queue is visible at http://ppecups.physics.gla.ac.uk:631/printers/ , and in Linux the printers should be set up using a URL like ipp://ppecups.physics.gla.ac.uk/printers/kyc3 . Note that you may need to install an appropriate printer driver (PPD) file from the Kyocera website, if it is not already available in your system's PPD database.

PPE Printers (ppes17)

>
>
Linux machines print using the CUPS print server. The state of the print queues can be viewed here:
 
Changed:
<
<
All the printers listed in the GroupPrinters page are available via cups. Users of LINUX desktops and laptops can print documents to these printers via lpr. For example:
>
>
http://ppecups.physics.gla.ac.uk:631/printers/
 
Added:
>
>

Installation

 
Changed:
<
<
Printing a postscript file to printer 'ld'
$ lpr -Pld a_paper.ps
>
>
Printers will be installed automatically on many desktops, but on other machines can be installed as follows:
 
Changed:
<
<
More information on lpr can be found in its man page.
>
>
  1. Add the following to /etc/cups/client.conf: ServerName ppecups.physics.gla.ac.uk
  2. Restart CUPS: service cups restart or systemctl restart cups
 
Changed:
<
<
Please use a2ps to print text documents.
>
>
You will need administrator rights to do this. For assistance, please speak to PPE IT support.
 
Changed:
<
<
To print an text document to printer 'la'
$ a2ps -Pla some_data.txt
>
>

Using the Printers

 
Changed:
<
<
More information on a2ps can be found in its man page.
>
>
In most graphical applications, printers can be selected from the print dialog; it is worth noting that sometimes they will appear under their alternative names as listed on the group printers page (e.g. ld may be listed as kyc5).
 
Changed:
<
<
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.)
>
>
You can print from the command line using the lpr command. The Linux man page provides detailed information, but at its simplest the syntax is as follows:
 
Changed:
<
<

Applications

>
>
$ lpr -P<PRINTER NAME> <FILENAME>
 
Changed:
<
<
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 GroupPrinters page.
>
>
For example, to print example.ps to ld:
 
Changed:
<
<

Print Options

>
>
$ lpr -Pld example.ps
 
Changed:
<
<
For single sided printing to duplex printers use the one-sided option:
>
>
Single-sided printing can be forced by including the -o sides=one-sided option:
 
Changed:
<
<
To print a document single sided on a duplex printer
$ lpr -Pld -o sides=one-sided filename.pdf
>
>
$ lpr -Pld -o sides=one-sided example.ps
 
Changed:
<
<
Other print options can be found within the [http://www.cups.org/articles.php?L224 CUPS documentation].
>
>
Text documents can be printed using the a2ps command (again, see the man page for more details):
 
Changed:
<
<

Configuring a Linux Laptop

>
>
$ a2ps -P<PRINTER NAME> <FILENAME>
 
Changed:
<
<
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
>
>
For example, to print example.txt to le:
 
Changed:
<
<
ServerName ppecups.physics.gla.ac.uk
>
>
$ a2ps -Ple example.txt
 
Changed:
<
<
and restart the CUPS server. Under Scientific or Redhat LINUX CUPS can be restarted by typing:
>
>
Further information on command-line printing may be found in the CUPS documentation.
 
Changed:
<
<
[root@laptop root]# /etc/init.d/cups restart

as root.

-- AndrewPickford - 02 Feb 2009

>
>
META TOPICMOVED by="GordonStewart" date="1461061568" from="IT.PrintingFromLinux" to="IT.GroupPrintersLinux"

Revision 32016-04-19 - GordonStewart

Line: 1 to 1
 
META TOPICPARENT name="GroupPrinting"

Printing From Linux

Changed:
<
<
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:
>
>
The CUPS print queue is visible at http://ppecups.physics.gla.ac.uk:631/printers/ , and in Linux the printers should be set up using a URL like ipp://ppecups.physics.gla.ac.uk/printers/kyc3 . Note that you may need to install an appropriate printer driver (PPD) file from the Kyocera website, if it is not already available in your system's PPD database.

PPE Printers (ppes17)

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

 

Line: 26 to 29
 

Applications

Changed:
<
<
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.
>
>
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 GroupPrinters page.
 

Print Options

Revision 22009-05-06 - AndrewPickford

Line: 1 to 1
 
META TOPICPARENT name="GroupPrinting"

Printing From Linux

Line: 24 to 24
  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.)
Added:
>
>

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:

Revision 12009-02-02 - AndrewPickford

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="GroupPrinting"

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.)

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 site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback