SliTaz GNU/Linux official and community documentation wiki.
.png

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
Last revision Both sides next revision
en:guides:printer [2010/08/22 23:29]
linea
en:guides:printer [2010/10/13 21:15]
seawolf
Line 1: Line 1:
 ====== Printing ====== ====== Printing ======
  
 +The CUPS (Common Unix Printing System) software manages printers connected to the local computer or over a network. The local printers are attached via a loop-back connection (IP 127.0.0.1), a network connection pointing to the same system.
 +
 +<note tip>If at the end of the procedures the printer is not working, restarting the service or computer may help.</​note>​
 +
 +\\
 ===== Installing a Network Printer ===== ===== Installing a Network Printer =====
  
-Do as root in xterm:+Install CUPS and add the user(s) to the //lp// group to gain permissions to access the devices. This can be done as root in a terminal:
  
 <​code>​ <​code>​
Line 10: Line 15:
 </​code>​ </​code>​
  
-Change some lines in /​etc/​cupsd.conf ​(# leafpad /​etc/​cupsd.conf):+Again as root, customise the default configuration ​in /​etc/​cupsd.conf:​
  
 <​file>​ <​file>​
Line 31: Line 36:
 </​file>  ​ </​file>  ​
  
-Set the admin password for cups:+Set the administrative ​password for CUPS and add an administrative user:
  
 <​code>​ <​code>​
Line 37: Line 42:
 </​code>​ </​code>​
  
-Now you should be able to have access to administration ​in cups with your browser ​with http://​localhost:​631/​+You should ​now be able to have access to the CUPS administration ​through ​your browser ​by entering the address ''<​nowiki>​http://​localhost:​631/​</​nowiki>''​
  
-Now you have to install ​the printer drivers:+Install ​the printer drivers ​with the following packages:
  
-    - hplip : for hp printers +    - hplip : for HP printers 
-    - gutenprint : for canonepson, Lexmark, Sony, Olympus+    - gutenprint : for CanonEpson, Lexmark, Sony, Olympus
     - foomatic-db,​ foomatic-db-engine,​ foomatic-db-nonfree and foomatic-filters : several free software printer drivers     - foomatic-db,​ foomatic-db-engine,​ foomatic-db-nonfree and foomatic-filters : several free software printer drivers
-    - ufr2: for canon printers (extra drivers) +    - ufr2: for Canon printers (extra drivers) 
-    - splix: for samsung +    - splix: for Samsung 
-    - cups-pdf: for pdf printing+    - cups-pdf: for "printing" to PDF files
  
 +For example, install the HP printer drivers with the following //root// command
 <​code>​ <​code>​
-eg: # tazpkg get-install hplip+# tazpkg get-install hplip
 </​code>​ </​code>​
  
Line 57: Line 63:
 and add the address socket//​192.168.2.1:​9100</​nowiki>​ and add the address socket//​192.168.2.1:​9100</​nowiki>​
  
-If you get the errorReturning IPP client-error-document-format-not-supported for Print-Job in /​var/​log/​cups/​error.logthen you have to add two files to /etc/cups+If you get the error, "//Returning IPP client-error-document-format-not-supported for Print-Job in /​var/​log/​cups/​error.log//" ​then add two files to the /​etc/​cups ​directory. The easiest method is to start a text editor such as Leafpad from a root terminal; start the Terminal and switch to the root user.
  
-First with the name: mime.convs (# leafpad ​/​etc/​cups/​mime.convs):​+  * ''​mime.convs'' ​(/​etc/​cups/​mime.convs):​
 <​file>​ <​file>​
 application/​pdf application/​postscript 33 pdftops application/​pdf application/​postscript 33 pdftops
Line 104: Line 110:
 </​file>​ </​file>​
  
-and second file with the name: mime.types (# leafpad ​/​etc/​cups/​mime.types):​+  * ''​mime.types'' ​(/​etc/​cups/​mime.types):​
  
 <​file>​ <​file>​
Line 212: Line 218:
 </​file>​ </​file>​
  
-===== Installing a HP printer ​=====+\\ 
 +===== Installing a HP Printer ​=====
  
-This is for a clean installation of SliTaz GNU/Linux cooking-20100314+<​note>​This is for a clean installation of SliTaz GNU/Linux cooking-20100314</​note>​
  
   - With the printer plugged in and powered on, run <​code>​   - With the printer plugged in and powered on, run <​code>​
Line 226: Line 233:
  
  
 +\\
 ===== Installing a HP All-In-One Printer/​Scanner ===== ===== Installing a HP All-In-One Printer/​Scanner =====
  
 
en/guides/printer.txt · Last modified: 2010/10/15 19:22 by linea