2.5 Setting Up a Printer

YaST can be used to configure a local printer that is directly connected to your machine (normally with USB or parallel port) or to set up printing over the network.

2.5.1 Configuring Local Printers

If an unconfigured local printer is detected, YaST starts automatically to configure it. YaST can configure the printer automatically if the parallel or USB port can be set up automatically and the connected printer can be detected. The printer model must also be listed in the database used during the automatic hardware detection.

If the printer model is unknown or cannot be automatically detected, configure it manually. There are two possible reasons why a printer is not automatically detected:

  • The printer does not identify itself correctly. This may apply to very old devices. Try to configure your printer as described in Configuring Manually.

  • If the manual configuration does not work, communication between printer and computer is not possible. Check the cable and the plugs to make sure that the printer is properly connected. If this is the case, the problem may not be printer-related, but rather a USB or parallel port–related problem.

Configuring Manually

To manually configure the printer, select Hardware > Printer in the YaST control center. This opens the printer configuration window in the Printers and Queues view, where the detected devices are listed in the upper part. The lower part lists further details for a selected device. If no printer was detected, both parts of the configuration window are empty. Use Configure to change the configuration of a listed printer or Add to set up a printer not automatically detected. Editing an existing configuration uses the same dialogs as in Adding a Local Printer Manually. You can also Delete an existing entry.

Adding a Local Printer Manually

HINT: YaST Print Test

To make sure that everything works correctly, the crucial configuration steps can be checked with the Print Test Page function of YaST. The test page also provides important information about the configuration tested. If the output is garbled, for example, with several pages almost empty, you can stop the printer by first removing all paper then stopping the test from YaST.

  1. Start YaST and choose Hardware > Printer to open the Printer Configuration dialog.

  2. Click Add to open the Printer Type window.

  3. Choose Directly Connected Printers.

  4. Select the port to which the printer is connected (usually USB or parallel port) and choose the device in the next configuration screen. It is recommended to Test the Printer Connection at this point. If problems occur, select the correct device or choose Back to return to the previous dialog.

  5. In Queue Name, set up a print queue. Specifying a Name for Printing is mandatory. It is recommended to choose a recognizable name—with this name, you can later identify the printer in the printing dialogs of applications. Use Printer Description and Printer Location to further describe the printer. This is optional, but useful if you have more than one printer connected to the machine or if you set up a print server. Do Local Filtering should be checked—it is needed for local printers. To enable network access to this printer, check Share Printer.

  6. The Printer Queue Edit Dialog opens on the Printer Options tab by default. Change to the Basic Settings tab to install a printer driver first. Click Change Model and specify the printer by Manufacturer and Model. If your printer is not listed, you can try UNKNOWN MANUFACTURER from the manufacturer list and select an appropriate standard language (the set of commands controlling the printer) from the model list (refer to your printer's documentation to find out which language your printer understands).

    Having chosen a printer model from the list, the drivers available are listed under Driver. For many printer models, several drivers are available. When configuring the printer, YaST defaults to the one marked recommended as a general rule. Normally it should not be necessary to change the driver—the recommended one should produce the best results. However, if you want a color printer to print only in black and white, for example, it is most convenient to use a driver that does not support color printing. If you experience performance problems with a PostScript printer when printing graphics, it may help to switch from a PostScript driver to a PCL driver (provided your printer understands PCL). To change the driver, choose an entry from the list and click on it.

  7. Switch back to the tab Printer Options to configure the printer settings. If you have access to more than one printer, check Set as Default to make the current one the default printer. Description and Location let you change entries made while following this procedure.

    With Driver Options specify the default paper size. More Driver Options lets you fine-tune the printer setup. Configure options like Page Type, Printing Quality, and others here. The set of options available depends on the driver you have chosen.

    By default no banners are printed at the start and end of a print job. Change this by adjusting the settings under Banner.

    The Printer Queue Edit Dialog also offers options to disable the printer and to configure the network access. Choose the tab Status to completely disable the printer by rejecting print jobs. If you want to temporarily disable the printout without losing jobs send to printer, choose Disable Printout. All arriving jobs will be queued and printed once you re-enable the printout. If you have enabled to share the printer over the network, configure which hosts and users may access the printer under the tab Sharing. You can also disable sharing the printer here.

2.5.2 Configuring Network Printers

Network printers are not detected automatically. They must be configured manually using the YaST printer module. Depending on your network setup, you can print to a print server (CUPS, LPD, SMB, or IPX) or directly to a network printer (preferably via TCP). Ask your network administrator for details on configuring a network printer in your environment.

By default, a Local Cups Server which also Listens to IPP Broadcast Packages is preconfigured. With this setup you can print to local printers and to any printer on the net, which are managed by a CUPS server. Change this settings on the Global Settings view of the YaST printer module. To do all the printing via a single remote CUPS server (and so disable local printing) choose Do all Your Printing Directly via One Remote CUPS Server and configure Server Name and Queue. To print to a network printer not managed by a CUPS server, proceed as described in Configuring a Network Printer with YaST

Configuring a Network Printer with YaST

  1. Start YaST and choose Hardware > Printer to open the Printer Configuration dialog.

  2. Click Add in the Printers and Queues view to open the Printer Type window.

  3. Choose Network Printers to open a dialog in which to specify further details that should be provided by your network administrator.