This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
doc:installation:printing [2013/03/14 22:41] sunweaver created |
doc:installation:printing [2017/11/05 15:14] ionic Add note about systemd and PrivateTmp. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== X2Go Server | + | ====== X2Go Client-Side |
- | For being able to use X2Go printing, you'll need a running CUPS server. You can use your network' | + | For being able to use X2Go printing, you'll need a running CUPS server. You can use your network' |
< | < | ||
- | X2go Printing is intended for | + | X2Go Printing is intended for |
- | * use on low bandwith | + | * use on low bandwidth |
* use of printers that are directly connected to X2Go (thin-)clients | * use of printers that are directly connected to X2Go (thin-)clients | ||
For other scenarios, please use a central CUPS server (see multi-node printing below) without the X2Go printing feature installed. | For other scenarios, please use a central CUPS server (see multi-node printing below) without the X2Go printing feature installed. | ||
Line 12: | Line 12: | ||
X2Go Printing falls into two components: | X2Go Printing falls into two components: | ||
- | * cups-x2go -- a CUPS backend that spools | + | * cups-x2go -- a CUPS backend that spools |
* x2goserver-printing -- the X2Go server-side printing add-on package. | * x2goserver-printing -- the X2Go server-side printing add-on package. | ||
:!: **Before you begin!** | :!: **Before you begin!** | ||
- | > This page is targeted at people who use Debian/ | + | > This page is targeted at people who use Debian/Raspbian/Ubuntu packages provided by the X2Go project. Please make sure that you have added the X2Go repository to your package management system. The required steps are described here: [[wiki:repositories: |
===== Single-Node Printing ===== | ===== Single-Node Printing ===== | ||
Line 22: | Line 22: | ||
==== Summary ==== | ==== Summary ==== | ||
- | The minimal | + | The minimal |
< | < | ||
- | sudo aptitude install x2goserver x2goserver-printing cups cups-x2go | + | $ sudo aptitude install x2goserver x2goserver-printing cups cups-x2go |
</ | </ | ||
| | ||
+ | |||
+ | <note important> | ||
==== En Detail... ==== | ==== En Detail... ==== | ||
- | The X2Go server-side printing component contains the script '' | + | The X2Go server-side printing component contains the script '' |
< | < | ||
Line 38: | Line 40: | ||
</ | </ | ||
- | :!: Note that X2Go printing requires the user(s) need(s) to be added to the fuse group on the server, as it uses the file and folder sharing to transfer the spool file to the client. | + | :!: Note, that on older systems, |
- | For single-node X2Go printing (means: all steps of the printing process take place on the same machine) only one further step for setting up X2Go printing is necessary: after installing the X2Go CUPS engine (package: '' | + | For single-node X2Go printing (means: all steps of the printing process take place on the same machine) only one further step for setting up X2Go printing is necessary: after installing the X2Go CUPS engine (package: '' |
- install CUPS-X2Go backend< | - install CUPS-X2Go backend< | ||
Line 46: | Line 48: | ||
</ | </ | ||
- add a new printer in CUPS, possibly named: »x2goprinter« (name is arbitrary) | - add a new printer in CUPS, possibly named: »x2goprinter« (name is arbitrary) | ||
- | - as printing device (i.e. backend) you should select the “Virtual | + | - as printing device (i.e. backend) you should select the “Virtual |
- as printing driver choose: | - as printing driver choose: | ||
* vendor: »generic« | * vendor: »generic« | ||
- | * model: »Generic CUPS-X2GO Printer« | + | * model: »Generic CUPS-X2Go Printer« |
You may configure further options by editing the CUPS-X2Go config file ''/ | You may configure further options by editing the CUPS-X2Go config file ''/ | ||
Line 58: | Line 60: | ||
## | ## | ||
- | ## Server with x2go system | + | ## Server with X2Go system |
#x2goserver = local | #x2goserver = local | ||
Line 65: | Line 67: | ||
## command to generate pdf files | ## command to generate pdf files | ||
- | #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=" | + | ## CAUTION: this command MUST output the resulting PDF File to standard output. |
+ | #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=- -dAutoRotatePages=/ | ||
## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warn, notice, info, debug | ## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warn, notice, info, debug | ||
Line 71: | Line 74: | ||
</ | </ | ||
- | < | + | < |
- | + | ||
- | ==== Client Side ==== | + | |
- | - Run x2goclient | + | |
- | - Click on Settings (the wrench icon) | + | |
- | - Select the Printing Tab | + | |
- | - Select the " | + | |