How to set up an HP LaserJet 1018 Printer on Fedora 12
By Daniel D'Agostino, 2010-02-10
Introduction
On Fedora, setting up a printer is a bit more difficult than on Ubuntu. You have to carry out the following steps:
- Install HP Linux Imaging and Printing (HPLIP) tools
- Install the driver for your printer
- Set the correct paper settings
- Disable extra security that stops print jobs
Installing HPLIP
Open a terminal: Applications -> System Tools -> Terminal
Run the following commands:
su yum install hplip yum install hplip-gui
Installing the printer driver
You should now be able to run the HP setup (hp-setup). First, connect the printer via USB and power it on. Run the following command in your terminal:
hp-setup
As you keep clicking Next, the printer is automatically added, and the driver is installed. In the last step, click Cancel (not Add Printer), since the printer is already there.
Set the correct paper settings
By default, the printer is set to print Letter-sized paper. You want it to be A4.
- Go to System -> Administration -> Printing to access your current printers.
- Right click on HP-LaserJet-1018
- Click on Properties
- Select Printer Options
- Change Media size from Letter to A4
- Click Apply
Disabling extra security to allow printing
Still in the printing properties for your printer, click on Settings and then click on the Print Test Page button.
A security alert comes up. Open it before it disappears, and click on Restore Context.
In the printing properties, go to Policies and make sure the Enabled checkbox is ticked. Click apply. Now the test page that failed earlier should come out on its own.