SDB:Printer Configuration from SUSE LINUX 9.1 on

Şuraya atla: kullan, ara


Situation

You want to configure your printer. Refer to the SUSE LINUX 9.1 manuals for basic information.

Changes in the YaST printer configuration

  • YaST and other configuration tools (e.g. CUPS web front-end) are now synchronized.
    • YaST uses only CUPS's configuration data.
  • Migration from LPRng/lpdfilter to CUPS:
    • Migration of a YaST LPRng/lpdfilter configuration to a YaST CUPS configuration must have been dropped for SUSE LINUX 9.1 because this is a requirement for synchronizing YaST with other configuration tools with reasonable effort since migrating YaST configurations requires private YaST configuration data. Automated migration of an arbitrary LPRng/lpdfilter configuration to a CUPS configuration is not possible with reasonable effort.
    • A package switch from LPRng/lpdfilter to CUPS is still available but an existing configuration is not migrated.
    • How to migrate a YaST LPRng/lpdfilter configuration to a YaST CUPS configuration:
      1. Migrate the YaST LPRng/lpdfilter configuration to a YaST CUPS configuration under SUSE LINUX 9.0
      2. Update from SUSE LINUX 9.0 to SUSE LINUX 9.1

Changes in CUPS

On start-up, cupsd changes from the user root to the user lp. The advantage is improved security.
Consequences:
The CUPS-specific authentication must be used. The following command must be used (as the user root) to enter a CUPS-specific password for the user root:
lppasswd -g sys -a root
For further information see the article SDB:Printer Configuration from SUSE LINUX 9.0 on

  • The new manufacturer-PPDs package is available. This package contains PPD files from printer manufacturers. These files are subject to a free license.
  • General information on setting up PostScript printers:
    • YaST determines the appropriate PPD files for a specific printer model by comparing the names of the manufacturer and model found during the hardware recognition process with those in all the PPD files in /usr/share/cups/model/ on the system in question.
    • PostScript printers should be set up with the appropriate PPD file from the printer manufacturer. The printer manufacturer's PPD file ensures that all the functions of the PostScript printer can be used.
    • By default, YaST uses a PPD file from the manufacturer-PPDs package when the following conditions are met:
      1. The name of the manufacturer and model found during the hardware recognition process matches the name of the manufacturer and model in a PPD file of the manufacturer-PPDs package.
      2. Either the PPD file in the manufacturer-PPDs package is the only PPD file suitable for the printer model, or it matches a Foomatic PPD file with the following entry for the printer model: "... Foomatic/Postscript (recommended)".
YaST does not use a PPD file from the manufacturer-PPDs package in the following situations:
      • The PPD file from the manufacturer-PPDs package does not match as far as the manufacturer and model name are concerned. In particular, this can happen when only one PPD file in the manufacturer-PPDs package exists for similar models (e.g. when, in a series of models, there is not a single PPD file for every single model, but instead there is a model name such as "Funprinter 1000 series" in the PPD file).
      • The Foomatic Postscript PPD file is not "recommended" since it must then be assumed that the printer model
        • does not work well enough in PostScript mode (e.g. it is unreliable because the printer does not have enough memory or is too slow because the processor in the printer is not powerful enough),
        • or the printer does not support PostScript by default (e.g. because PostScript support is available as an optional module). If a PPD file in the manufacturer-PPDs package is suitable for a PostScript printer, but YaST is unable to set it up due to the reasons above, then you need to select the suitable printer model manually in YaST. A PPD file exists in the manufacturer-PPDs package for the following manufacturer and model names:
EPSON ACULASER-C1900 PS
EPSON ACULASER-C2000 PS
EPSON ACULASER-C4000 PS
EPSON ACULASER-C4100 PS
EPSON ACULASER-C8500 PS
EPSON ACULASER-C8600 PS
EPSON ACULASER-C9000 PS
EPSON EPL-5800 PS
EPSON EPL-5900 PS
EPSON EPL-6100 PS
EPSON EPL-6200 PS
EPSON EPL-C8200 PS
EPSON EPL-N2050 PS
EPSON EPL-N2050+ PS
EPSON EPL-N2120 PS
EPSON EPL-N2500 PS
EPSON EPL-N2700 PS
EPSON EPL-N2750 PS
EPSON EPL-N3000 PS
EPSON EPL-N4000 PS
EPSON EPL-N4000+ PS
EPSON EPL-N7000 PS
HP LaserJet 5100 Series
HP LaserJet 5100
HP LaserJet 1300
HP LaserJet 2300
HP LaserJet 4200
HP LaserJet 4300
HP Business Inkjet 2250 PS
HP Business Inkjet 2250
HP Business Inkjet 2300 PS
HP Color LaserJet 5500
HP Color LaserJet
HP Color LaserJet 4500
HP Color LaserJet 4550
HP Color LaserJet 5
HP Color LaserJet 5M
HP Color LaserJet 8500
HP Color LaserJet 8550
HP LaserJet 1200
HP LaserJet 2100 Series
HP LaserJet 2100
HP LaserJet 2200
HP LaserJet 3020
HP LaserJet 3030
HP LaserJet 3200M
HP LaserJet 3380
HP LaserJet 4
HP LaserJet 4000 Series
HP LaserJet 4000
HP LaserJet 4050 Series
HP LaserJet 4050
HP LaserJet 4100 Series
HP LaserJet 4100
HP LaserJet 4 Plus
HP LaserJet 4M
HP LaserJet 4ML
HP LaserJet 4MP
HP LaserJet 4MV
HP LaserJet 4Si/4Si MX 600 dpi
HP LaserJet 4Si
HP LaserJet 4V
HP LaserJet 5P
HP LaserJet 5Si
HP LaserJet 5Si Mopier PS
HP LaserJet 6MP
HP LaserJet 6P
HP LaserJet 8000 Series
HP LaserJet 8000
HP LaserJet 8100 Series
HP LaserJet 8100
HP LaserJet 8150 Series
HP LaserJet 8150
HP LaserJet 9000 Series
HP LaserJet 9000
HP LaserJet 9055
HP LaserJet 9065 MFP
HP Mopier 240
HP Mopier 320
Kyocera FS-1000
Kyocera FS-1200
Kyocera FS-1700+
Kyocera FS-1700
Kyocera FS-1714M
Kyocera FS-1750
Kyocera FS-3700+
Kyocera FS-3700
Kyocera FS-3718M
Kyocera FS-3750
Kyocera FS-5800C
Kyocera FS-5900C
Kyocera FS-600
Kyocera FS-6300
Kyocera FS-6700
Kyocera FS-680
Kyocera FS-6900
Kyocera FS-7000+
Kyocera FS-7000
Kyocera FS-7028M
Kyocera FS-800
Kyocera FS-9000
Kyocera FS-1000+
Kyocera FS-1010
Kyocera FS-1020D
Kyocera FS-1050
Kyocera FS-1800+
Kyocera FS-1800
Kyocera FS-1900
Kyocera FS-3800
Kyocera FS-3830N
Kyocera FS-C5016N
Kyocera FS-6020
Kyocera FS-6026
Kyocera FS-6750
Kyocera FS-8000C
Kyocera FS-C8008N
Kyocera FS-C8026N
Kyocera FS-9100DN
Kyocera FS-9500DN
Kyocera Ci-1100
Kyocera KM-1510
Kyocera KM-1530
Kyocera KM-1810
Kyocera KM-2030
Kyocera KM-2530
Kyocera KM-3035
Kyocera KM-3530
Kyocera KM-4030
Kyocera KM-4035
Kyocera KM-4230
Kyocera KM-4530
Kyocera KM-5035
Kyocera KM-5230
Kyocera KM-5530
Kyocera KM-6230
Kyocera KM-6330
Kyocera KM-7530
Kyocera KM-C2630
Kyocera KM-C830
Kyocera KM-C850
Oce VarioPrint 2050
Oce VarioPrint 2060
Oce VarioPrint 2070
Oce NC3145 PS2
Oce NC3145 PS3
Oce NC3155 PS2
Oce NC3155 PS3
Oce NC3165 PS2
Oce NC3165 PS3
Oce 8445 PS2
Oce 8445 PS3
Oce 8465 PS2
Oce 8465 PS3
Oce 9230 Series PS2
Oce 9245 Series PS2
Oce 9260 Series PS2
Oce VarioPrint 2090 PS3
Oce VarioPrint 2105 PS3
SHARP AR-M550N PS
SHARP AR-M550U PS
SHARP AR-M620N PS
SHARP AR-M620U PS
SHARP AR-M700N PS
SHARP AR-M700U PS
SHARP AR-M236 PS
SHARP AR-M237 PS
SHARP AR-M276 PS
SHARP AR-M277 PS
SHARP AR-M280 PS
SHARP AR-M300 PS
SHARP AR-M350 PS
SHARP AR-M450 PS
SHARP AR-P300 PS
SHARP AR-P350 PS
SHARP AR-P450 PS
SHARP DM-3500 PS
SHARP DM-3501 PS
SHARP DM-3551 PS
SHARP DM-4500 PS
SHARP DM-4501 PS
SHARP DM-4551 PS
SHARP AR-M280U PS
SHARP AR-M300U PS
SHARP AR-M350U PS
SHARP AR-M450U PS

Each PPD file should be tested with "cupstestppd" prior to use. The PPD files in the manufacturer-PPDs package pass this test. For additional informatiom, see the section "PostScript printers" in the article de:SDB:Information für Druckerhersteller bzgl. Linux-Unterstützung.

  • Printing from Mozilla:
    • In SUSE LINUX 9.1, Mozilla produces PostScript Level 3 printouts. This is necessary in order for the necessary fonts to be easily available in the PostScript printout when printing web pages from China, Japan and Korea (CJK), for example. PostScript Level 3 printouts cannot be printed out on a PostScript Level 2 or Level 1 printer without being converted to PostScript Level 2 or Level 1 first.
    • There are several conversion options:
      • The PostScript printer is set up with the generic Foomatic PPD file /usr/share/cups/model/Generic/PostScript_Printer-Postscript.ppd.gz "Generic PostScript Printer Foomatic/Postscript". A foomatic-rip pre-filter can then be activated for the conversion via the function "PreFilter/GhostScript pre-filtering". The following selection options are available:
        • EmbedFonts/Embed GhostScript fonts only
        • Level1/Convert to PS level 1
        • Level2/Convert to PS level 2
        • No/No pre-filtering (this is the default)
      • A PostScript Level 2 printer is set up with the generic Foomatic PPD file /usr/share/cups/model/Postscript-level2.ppd.gz "Generic PostScript level 2 Printer Foomatic/Postscript". This is actually the same Foomatic PPD as above, except that "Level2/Convert to PS level 2" is the default setting here.
      • A PostScript Level 1 printer is set up with the generic Foomatic PPD file /usr/share/cups/model/Postscript-level1.ppd.gz "Generic PostScript level 1 Printer Foomatic/Postscript". This is actually the same Foomatic PPD as above, except that "Level1/Convert to PS level 1" is the default setting here.
      • If the PostScript printer was set up using the printer manufacturer's PPD file, then a pre-filter like this is normally not available. In this case, an additional queue can be set up as above, or the CUPS pre-filter /usr/lib/cups/filter/pswrite is activated specifically for Mozilla printouts as follows:
        1. In /etc/cups/mime.types replace the line application/netscape-ps with the following two lines:
application/mozilla-ps  ps (string(0,%!) + contains(30,200,"Creator: Mozilla PostScript"))
application/netscape-ps ps (string(0,%!) + contains(30,200,"Creator: Mozilla (NetScape)"))
        1. In /etc/cups/mime.convs replace the line application/netscape-ps with the following two lines:
application/mozilla-ps  application/postscript 33 pswrite
application/netscape-ps application/postscript 33 ogonki
        1. Restart the cupsd.
For background information, see the article de:SDB:Selbst erstellte Filter zum Ausdruck mit CUPS.
    • If you like to go back to the old way of printing in Mozilla (like in Netscape) do:
      1. Enter in Mozilla the URL "about:config".
      2. Go to "font.FreeType2.printing" and use the right mouse button to "Modify" the value to "false".
      3. When you finish Mozilla the new setting will be stored in a file like ~/.mozilla/default/*/prefs.js
This is only a makeshift. You will loose some print functionality. It should work for "normal" European and US web pages but not for CJK.

Changes in LPRng/lpdfilter

    • None.

<keyword>print,printer,cups,ppd,yast2,setup,91,9.1,configuration,lprng,lpdfilter,foomatic</keyword>