Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:printer_setup_using_cups [2011/04/18 07:25] – external edit 127.0.0.1 | wiki: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 |
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: |
+ | |||
+ | So that Cups starts automatically each time Tinycore | ||
< | < | ||
to / | to / | ||
- | 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</ | tar -xzvf data.tar.gz</ | ||
+ | |||
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: | ||
< | < | ||
- | |ar p printerdriver.deb data.tar.gz | tar xz</ | + | ar p printerdriver.deb data.tar.gz | tar xz</ |
If you are using the .rpm file, open the terminal and type | If you are using the .rpm file, open the terminal and type | ||
< | < | ||
- | |rpm2cpio printerdriver.rpm | cpio -vid</ | + | rpm2cpio printerdriver.rpm | cpio -vid</ |
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 / | + | |
- | + | ||
- | < | + | |
- | 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 / | In some situations there may also be other files which need to be saved. Have a look in / | ||
- | To save settings, you must Backup when shutting down Tiny Core. | + | To save settings, you must Backup when shutting down Tinycore. |