Differences between revisions 15 and 16
Revision 15 as of 2013-10-03 11:16:00
Size: 1485
Editor: davidsch
Comment:
Revision 16 as of 2013-10-03 11:17:34
Size: 1487
Editor: davidsch
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
 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/ csh, make your printing related environment variable settings permanent, by saving them in your home's {{{.cshrc}}} file.  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/ 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/ csh, make your printing related environment variable settings permanent, by saving them in your home's .cshrc file.


CategoryPRMT