lprsetup.dat(4) — File Formats
NAME
lprsetup.dat − Printer configuration files
SYNOPSIS
known:\
PD=\n\
<list of known devices>
#
# <comment>
device_id:/
: <printcap_symbol>:/
: <printcap_symbol>:/
.
.
.
<printer description>
DESCRIPTION
During printer configuration, using the PrintConfig graphical interface or the lprsetup program, you will be prompted to enter the name of a configuration file for the device that you are installing. This file is accessed during printer installation and configuration. It is not usually necessary for a system administrator to modify this file.
The file lprsetup.dat contains the configuration data for all printers that have special options supported by Tru64 UNIX. Although it is usually possible to configure any serial printer to provide basic text output, these configuration files enable special options such as support for PS (TM Adobe).
During printers configuration, using the PrintConfig graphical interface or the lprsetup script, you will be prompted to enter the name of the device that you are installing. Data from the printer configuration will be added to the file /etc/printcap as part of the runtime printer configuration record. For example, the /usr/lbin directory contains the filter files required for the printer. The printer configuration table will include a path to the appropriate filter and this path will be set as a printcap flag during printer installation and configuration.
The lprsetup.dat file contains the following fields:
knownA list of all known devices that are defined in this file.
PD=A short description of the printer.
device_id
The string that identifies the device, from the table below. (This is usually similar to the name of the printer on the casing, such asd ln17ps
printcap_symbol
A list of flags used to set printer characteristics in the file /etc/printcap. The entry for each printer contains a number of printcap_flag fields. Refer to the printcap(4) reference page for a description of the printcap symbols.
printer description
One or more lines of text that provide a brief description of the device and its capabilities.
The following table provides a list of all devices that currently have a supported print configuration.
| Device Identifier | Description | |
| DEClaser1100 | DEClaser 1100 or LN07 is a 300 DPI laser printer | |
| DEClaser1150 | DEClaser 1150 or LN07R is a 300 DPI PS laser printer | |
| DEClaser1152_I18N | DEClaser 1152 world wide PS printer | |
| DEClaser2100 | DEClaser 2100 or LN05 is a 300 DPI laser printer | |
| DEClaser2150 | DEClaser 2150 or LN05R is a 300 DPI PS laser printer | |
| DEClaser2200 | DEClaser 2200 or LN06 is a 300 DPI laser printer | |
| DEClaser2250 | DEClaser 2250 or LN06R is a 300 DPI PS laser printer | |
| DEClaser2300 | DEClaser 2300 or LN05JA is a Japanese laser printer | |
| DEClaser2400 | DEClaser 2400 or LN10JA is a Japanese laser printer | |
| DEClaser3200 | DEClaser 3200 or LN08 is a 300 DPI duplex laser printer | |
| DEClaser3250 | DEClaser 3250 or LN08R is a 300 DPI PS laser printer | |
| DEClaser3500 | DEClaser 3500 or LN14 is a 600 DPI PS laser printer | |
| DEClaser5100 | DEClaser 5100 or LN09 is a 600 DPI PS laser printer | |
| DEClaser5100_I18N | DEClaser 5100 world wide PS printer | |
| cp382d | CP382-D is a Chinese printer controller for DM printers | |
| dl510ka | DL510-KA is a Korean page printer | |
| ep1050+ | The Epson LQ-1050+ is a Thai 24-pin DM printer | |
| fx1050 | Epson FX-1050 is a tabletop printer | |
| fx80 | Epson FX-80 is a tabletop printer | |
| generic_ansi | ANSI type printers using 8.5 inch by 11 inch paper | |
| generic_ansi_a4 | ANSI type printers using A4 paper | |
| generic_text | Text printers using 8.5 inch by 11 inch paper | |
| generic_text_a4 | Text printers using A4 paper | |
| hp1120c | HP DeskJet 1120C is a desktop injet printer | |
| hp1120c_a4 | HP DeskJet 1120C using A4 paper | |
| hp4000tn | HP LaserJet 4000TN is a 17 ppm PCL6 and PS L2 NW printer | |
| hp4000tn_a4 | HP LaserJet 4000TN using A4 paper | |
| hp4mplus | HP LaserJet 4M Plus is a 12ppm PCL5e and PS L2 NW printer | |
| hp4mplus_a4 | HP LaserJet 4M Plus using A4 paper | |
| hp5simx | HP LaserJet 5SiMX is a 24 ppm PCL5e and PS L2 NW printer | |
| hp5simx_a4 | HP LaserJet 5SiMX using A4 paper | |
| hp680c | HP DeskJet 680c is a color ink jet printer | |
| hp680c_a4 | HP DeskJet 680c using A4 paper | |
| hp6l | HP LaserJet 6L is a 6 ppm PCL5e printer | |
| hp6l_a4 | HP LaserJet 6L using A4 paper | |
| hpIIID | HP Laserjet Model IIID is a laser printer | |
| hpIIIP | HP Laserjet Model IIIP is a laser printer | |
| hpIIP | HP Laserjet Model IIP is a laser printer | |
| hpIV | HP Laserjet Model IV is a laser printer | |
| ibmpro | IBM Proprinter | |
| la100 | Letterwriter 100 is a wide carriage DM printer/terminal | |
| la120 | DecWriter III (LA120) is a DM printer | |
| la210 | LA210 Letterprinter is a DM printer | |
| la280 | LA280-J is a Japanese DM printer | |
| la30n | LA30N companion printer is a 24 pin DM printer | |
| la30n_a4 | LA30N companion printer is a 24 pin DM printer | |
| la30w | LA30W is a wide carriage DM printer | |
| la30w_a4 | LA30W is a wide carriage DM printer | |
| la324 | LA324 is a high-speed DM printer | |
| la380 | LA380-J is a Japanese graphic DM line printer | |
| la380cb | LA380CB is a Chinese graphic DM line printer | |
| la380k | LA380K is a Korean graphic DM printer | |
| la400 | LA400 is a wide carriage 24 pin DM printer | |
| la424 | LA424 is a high-speed DM printer | |
| la50 | LA50 is a DM serial printer | |
| la600 | LA600 is a wide carriage 24 pin 360x360 dpi DM printer | |
| la70 | LA70 is a DM printer | |
| la75 | LA75 is a DM printer | |
| la84 | LA84-J is a Japanese DM printer | |
| la86 | LA86-J is a Japanese DM printer | |
| la88 | LA88-J is a Japanese DM printer | |
| la88c | LA88C is a Chinese DM printer | |
| la90 | LA90-J is a Japanese DM printer | |
| lf01r | LF01R (Colormate PS) is a color wax transfer printer | |
| lg02 | LG02 is a 600 lpm graphic DM line printer | |
| lg04plus | LG04plus LM printer is a 475 lpm printer | |
| lg05plus | LG05plus LM printer is a 500 lpm printer | |
| lg06 | LG06 is an 800 lpm high speed LM printer | |
| lg08plus | LG08plus LM printer is a 800 lpm printer | |
| lg09plus | LG08plus LM printer is a 900 lpm printer | |
| lg12 | LG12 is a 1200 lpm high speed LM printer | |
| lg12plus | LG12plus LM printer is a 1200 lpm printer | |
| lg14plus | LG12plus LM printer is a 1400 lpm printer | |
| lg31 | LG31 is a 300 lpm version of the lg02 | |
| lgl04plus | LGL04plus LM printer is a 475 lpm printer | |
| lgl05plus | LGL05plus LM printer is a 500 lpm printer | |
| lgl08plus | LGL08plus LM printer is a 800 lpm printer | |
| lgl09plus | LGL09plus LM printer is a 900 lpm printer | |
| lj250 | LJ250 is a desktop color ink jet printer | |
| lj252 | LJ252 is a desktop color ink jet printer | |
| ln03 | LN03 is a desktop laser printer | |
| ln03ja | LN03S-JA is a Japanese laser printer | |
| ln03r | LN03R is a PS, laser printer | |
| ln03s | LN03S is a tabletop, laser printer | |
| ln15 | LN15 is a 14 ppm PCL5e and PS L2 NW printer | |
| ln15_a4 | LN15 is a 14 ppm PCL5e and PS L2 A4-format NW printer | |
| ln17 | LN17 is a 17 ppm PCL5e NW printer | |
| ln17_a4 | LN17 is a 17 ppm PCL5e A4-format NW printer | |
| ln17ps | LN17ps is a 17 ppm PCL5e and PS L2 NW printer | |
| ln17ps_a4 | LN17ps is a 17 ppm PCL5e and PS L2 A4-format NW printer | |
| ln20 | LN20 is a 20 ppm PCL5e and PS L2 NW printer | |
| ln20_a4 | LN20 is a 20 ppm PCL5e and PS L2 A4-format NW printer | |
| ln40 | LN40 is a 40 ppm PCL5e and PS L2 NW printer | |
| ln40_a4 | LN40 is a 40 ppm PCL5e and PS L2 A4-format NW printer | |
| ln82r | LN82R is a Japanese PS printer | |
| lnc02 | LNC02 is a color PCL5E and PS L2 NW laser printer | |
| lnc02_a4 | LNC02 is a color PCL5E and PS L2 A4-format NW printer | |
| nec290 | NEC Silentwriter Model 290 is a printer | |
| ps_level1 | This entry is for PS level 1 printers | |
| ps_level2 | This entry is for PS level 2 printers | |
| remote | Any printer that is connected to a remote system | |
| unknown | Used for any device that is not named here | |
| wwpsof | Generic world wide PS printer setup | |
| xf | Generic pass-through printer setup |
The abbreviations in the above table are defined as follows:
PSPostScript page description language, a trademark of Adobe
L2Level 2, a version of PostScript (TM Adobe)
ppmoutput in pages per minute
lpmoutput in lpm
NWnetwork printer
DMdot-matrix printer
LMline-matrix printer
A4Supports ISO A4 paper size
EXAMPLES
The following example provides a sample section from the lprsetup.dat file:
#
# LN09 - Serial
ln09:\
:br=9600:\
:fc=0177777:\
:fs=03:\
:if=/usr/lbin/ln09of:\
:mc=20:\
:mx=0:\
:of=/usr/lbin/ln09of:\
:xf=/usr/lbin/xf:\
:pl=66:\
:pw=80:\
:rw=on:\
:xc=0177777:\
:xs=044000:\
:PD=0
The LN09 or DEClaser 5100 is a desktop 600 DPI PS (tm Adobe)
\n\
laser printer that produces exceptionally high-quality text and graphics.\
FILES
/etc/lprsetup.datLocation of the file.
RELATED INFORMATION
Commands: lpd(8), lpr(1), lprsetup(8), printconfig(8) wwpsof(8)
Files: etc/printcap(4)
System Administration