Differences between revisions 15 and 19 (spanning 4 versions)
Revision 15 as of 2013-10-03 11:16:00
Size: 1485
Editor: davidsch
Comment:
Revision 19 as of 2018-12-03 12:35:47
Size: 0
Editor: adjordje
Comment: Obsolate
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from PrintingfromUnixPrerequisitesGtklp
= 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/VPPPrinting/Linux/GtkLP|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]]