User Tools

Site Tools


wiki:components:printing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:components:printing [2011/11/12 14:31]
sunweaver
wiki:components:printing [2013/03/14 22:40]
sunweaver removed
Line 2: Line 2:
  
 For being able to use X2Go printing, you'll need a running CUPS server. You can use your network's existing CUPS server (multi-node X2Go printing, see below) or you can install a CUPS server on the same machine as the X2go server tools are running on (single-node X2Go printing setup).  For being able to use X2Go printing, you'll need a running CUPS server. You can use your network's existing CUPS server (multi-node X2Go printing, see below) or you can install a CUPS server on the same machine as the X2go server tools are running on (single-node X2Go printing setup). 
 +
 +<note>
 +X2go Printing is intended for 
 +   * use on low bandwith networks – like internet connections or GSM connections
 +   * 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.
 +</note>
 +
 +X2Go Printing falls into two components: 
 +
 +  * cups-x2go -- a CUPS backend that spools X2go print jobs
 +  * x2goserver-printing -- the X2Go server-side printing add-on package. 
  
 :!: **Before you begin!** :!: **Before you begin!**
Line 18: Line 30:
  Printing works nearly out of the box, you only have to add a virtual CUPS queue based on the Virtual X2Go Printer (''cups-x2go'') backend.  Printing works nearly out of the box, you only have to add a virtual CUPS queue based on the Virtual X2Go Printer (''cups-x2go'') backend.
  
 +==== En Detail... ====
  
- +The X2Go server-side printing component contains the script ''x2goprint'' which looks for incoming ''cups-x2go'' backend print jobs and processes them towards connected X2Go clients. It is an X2Go Server add-on included in the [[http://code.x2go.org/gitweb?p=x2goserver.git;a=summary|X2Go server source project]].  Debian/Ubuntu users have to install the extra package with the following command:
-<note> +
-X2go Printing is intended for  +
-   * use on low bandwith networks – like internet connections or GSM connections +
-   * 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). +
-</note> +
- +
-X2Go Printing falls into two components:  +
- +
-  * cups-x2go -- a CUPS backend that spools X2go print jobs +
-  * x2goserver-printing -- the X2Go server-side printing add-on package.  +
- +
-The X2Go server-side printing component contains the script ''x2goprint'' which accepts ''cups-x2go'' backend print jobs and processes them towards connected X2Go clients. It is an X2Go Server add-on included in the [[http://code.x2go.org/gitweb?p=x2goserver.git;a=summary|X2Go server source project]].  Debian/Ubuntu users have to install the extra package with the following command:+
  
 <code> <code>
Line 38: Line 38:
 </code> </code>
  
 +:!: 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.
  
 +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: ''cups-x2go'') you have to add a »Virtual X2go Printer« backend to your CUPS server.
  
-For local X2Go printing (local means here: all processes take place on the same machine) only one further step for setting up X2Go printing is necessary: after installing the X2Go CUPS engine (package: ''cups-x2go'') you have to a »Virtual X2go Printer« backend to your CUPS server. +  - install CUPS-X2Go backend<code> 
- +$ sudo aptitude install cups-x2go 
-  - install package ''cups-x2go''+</code>
   - 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 X2go Printer”   - as printing device (i.e. backend) you should select the “Virtual X2go Printer”
Line 49: Line 51:
     * model: »Generic CUPS-X2GO Printer«     * model: »Generic CUPS-X2GO Printer«
  
-You may configure further options by editing the file /etc/cups/cups-x2go.conf” (the below code block shows the default set of options), but this should normally not be necessary:+You may configure further options by editing the CUPS-X2Go config file ''/etc/cups/cups-x2go.conf'', but this should normally not be necessary. The below code block shows the default set of options:
  
 <code> <code>
Line 71: Line 73:
 <note>Before Sep 2011 configuring sudo was needed for local X2go printing, since then setting up sudo is only needed if CUPS with cups-x2go and the X2go server package are installed on //different// machines.</note> <note>Before Sep 2011 configuring sudo was needed for local X2go printing, since then setting up sudo is only needed if CUPS with cups-x2go and the X2go server package are installed on //different// machines.</note>
  
 +==== Client Side ====
 +   - Run x2goclient
 +   - Click on Settings (the wrench icon)
 +   - Select the Printing Tab
 +   - Select the "Print" radio button to print from a printer or select the "View as PDF" radio button to view as a PDF. (The command 'evince' worked better for me than xpdf. xpdf wouldn't run for some reason, even after I installed it).