Differences between revisions 17 and 18
Revision 17 as of 2013-10-03 11:18:00
Size: 1489
Editor: davidsch
Comment:
Revision 18 as of 2013-10-03 11:18:52
Size: 1498
Editor: davidsch
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
To make your printing related {{{ bash }}} environment variable settings permanent, save them in your home's {{{.bashrc}}} file. Now you are ready to print with GtkLP. ''If you want to start printing'', go on reading the article about [[Printing/VPPPrinting/Linux/GtkLP|printing with GtkLP]]. To make your printing related {{{bash}}} environment variable settings permanent, save them in your home's {{{.bashrc}}} file. Now you are ready to print with GtkLP. ''If you want to start printing'', go on reading the article about [[Printing/VPPPrinting/Linux/GtkLP|printing with GtkLP]].
Line 24: Line 24:
 If you use the {{{ tcsh }}} shell instead, you must use the '''setenv''' command instead of '''export''': If you use the {{{tcsh}}} shell instead, you must use the '''setenv''' command instead of '''export''':
Line 28: Line 28:
In the case of tcsh/ csh, make your printing related environment variable settings permanent, by saving them in your home's {{{.cshrc}}} file. In the case of {{{tcsh}}} or {{{csh}}}, make your printing related environment variable settings permanent, by saving them in your home's {{{.cshrc}}} file.

Printing prerequisites (GtkLP)

If you want to print documents using GtkLP, it is necessary to set some environment variables first.

  • Set the default printer for more convenience. The default printer is always pre-selected in GtkLP's printer list (if you need a list of available printers, you can run  gtklp -S ipp2vpp.ee.ethz.ch  and then open the "printer" dropdown box in the "General" tab).

    Example to make printer "etlf11-x8400" the default printer:
    
    export PRINTER="etlf11-x8400"
  • Allow applications to provide CUPS printing support:
    export CUPS_SERVER="ipp2vpp.ee.ethz.ch"
  • Set the default printing tool to use (when printing from applications) to GtkLP:
    export PRINTER_TOOL="/usr/sepp/bin/gtklp"

To make your printing related bash environment variable settings permanent, save them in your home's .bashrc file. Now you are ready to print with GtkLP. If you want to start printing, go on reading the article about printing with GtkLP.

Note for tcsh users

If you use the tcsh shell instead, you must use the setenv command instead of export:

setenv PRINTER_TOOL "/usr/sepp/bin/gtklp"

In the case of tcsh or csh, make your printing related environment variable settings permanent, by saving them in your home's .cshrc file.


CategoryPRMT