Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:printer_setup_using_cups [2011/04/18 07:25] – external edit 127.0.0.1wiki:printer_setup_using_cups [2012/02/08 18:01] (current) andrewb
Line 1: Line 1:
 +====== Printer Setup Using Cups ======
 +
 Following is an explanation of how to set up a Printer. In this example a Brother HL-6050D printer was used. Following is an explanation of how to set up a Printer. In this example a Brother HL-6050D printer was used.
  
  
 ==== Things You Need ==== ==== Things You Need ====
-You need Tiny Core installed on the computer.+You need Tinycore installed on the computer.
  
 You need a printer. You need a printer.
  
-You need an internet browser installed in Tiny Core.+You need an internet browser installed in Tinycore.
  
 You need an internet connection to install cups and download the printer driver (some printers may have Linux drivers on a CD). You need an internet connection to install cups and download the printer driver (some printers may have Linux drivers on a CD).
Line 17: Line 19:
 Install cups using the App Browser. It needs to be in OnBoot, which is the default when installing applications. If you have already installed cups, and it is not in OnBoot, put it in OnBoot using Apps Audit. Install cups using the App Browser. It needs to be in OnBoot, which is the default when installing applications. If you have already installed cups, and it is not in OnBoot, put it in OnBoot using Apps Audit.
  
-So that Cups starts automatically each time Tiny Core is started, add+Some printers require additional extensions loaded to operate with cups. A list of these printers and the extensions required is [[wiki:printers_requiring_additional_extensions_with_cups|here]] 
 + 
 +So that Cups starts automatically each time Tinycore is started, add
  
 <code>sudo /usr/local/etc/init.d/cups start</code> <code>sudo /usr/local/etc/init.d/cups start</code>
 to /opt/bootlocal.sh. to /opt/bootlocal.sh.
  
-If you don't have persistent /opt, to save settings, you must Backup when shutting down Tiny Core.+If you don't have persistent /opt, to save settings, you must Backup when shutting down Tinycore.
  
 After restarting the computer, you can check if cups is running by opening the terminal and typing After restarting the computer, you can check if cups is running by opening the terminal and typing
Line 37: Line 41:
  
 ==== Extract the Printer Driver ==== ==== Extract the Printer Driver ====
 +
 If you are using the .deb file, open the terminal and type If you are using the .deb file, open the terminal and type
  
Line 42: Line 47:
 ar vx printerdriver.deb ar vx printerdriver.deb
 tar -xzvf data.tar.gz</code> tar -xzvf data.tar.gz</code>
 +
 Replace printerdriver.deb with the actual name of the printer driver. Replace printerdriver.deb with the actual name of the printer driver.
  
Line 47: Line 53:
  
 <code>cd /directory/containing/printer/driver <code>cd /directory/containing/printer/driver
-|ar p printerdriver.deb data.tar.gz | tar xz</code>|+ar p printerdriver.deb data.tar.gz | tar xz</code> 
 If you are using the .rpm file, open the terminal and type If you are using the .rpm file, open the terminal and type
  
 <code>cd /directory/containing/printer/driver <code>cd /directory/containing/printer/driver
-|rpm2cpio printerdriver.rpm | cpio -vid</code>|+rpm2cpio printerdriver.rpm | cpio -vid</code> 
 Replace printerdriver.rpm with the actual name of the printer driver. Replace printerdriver.rpm with the actual name of the printer driver.
- 
  
 ==== Connect the Printer and Restart the Computer ==== ==== Connect the Printer and Restart the Computer ====
Line 67: Line 74:
 Enter the root password when prompted. You need to enter it twice. Enter the root password when prompted. You need to enter it twice.
  
-The password will be lost when the computer is turned off. You don't need to save it+The password will not be saved when the computer is turned off. You don't need to save it.
- +
- +
-If you want to retain the root password when the computer is turned off, add the following line to /opt/.filetool.lst. +
- +
-<code>etc/shadow</code> +
-Backup when shutting down Tiny Core. +
- +
-Another option is to make a new extension containing /etc/shadow.+
  
 +If you want to save the password when the computer is turned off, see [[passwd|Tinycore Passwords]].
  
 ==== Copy the Printer Driver to the File System ==== ==== Copy the Printer Driver to the File System ====
Line 118: Line 118:
 In some situations there may also be other files which need to be saved. Have a look in /usr/local/etc/cups for any other files which were added or modified at the date and time you set up the printer. If there are others, also include them. In some situations there may also be other files which need to be saved. Have a look in /usr/local/etc/cups for any other files which were added or modified at the date and time you set up the printer. If there are others, also include them.
  
-To save settings, you must Backup when shutting down Tiny Core.+To save settings, you must Backup when shutting down Tinycore.
  
  
Print/export
QR Code
QR Code wiki:printer_setup_using_cups (generated for current page)