lj1_raw|raw1:\
:lp=:\
:rm=laserjet1:\
:rp=raw:\
:lf=/usr/spool/lpd/lj1_raw.log:\
:sd=/usr/spool/lpd/lj1_raw:
If your printer does not support automatic switching between PostScript, PCL, and HP-GL/2 languages,
use the printer's control panel (if available) to select the printer language or rely on the application to
select the printer language via commands embedded in the print data.
Ensure users know the printer names, because they must enter the names on the command line when
printing.
Create the spooling directory by entering the following at the root directory:
mkdir /usr/spool/lpd
cd /usr/spool/lpd
mkdir printer_name_1 printer_name_2
chown daemon printer_name_1 printer_name_2
chgrp daemon printer_name_1 printer_name_2
chmod g+w printer_name_1 printer_name_2
In the example, printer_name_1 and printer_name_2 see the printers to be spooled. You can spool
several printers. The following example shows the command to create the spooling directories for
printers used for text (or ASCII) printing and for PCL or PostScript printing.
Example: Create spooling directory for text and PCL/postScript printers
mkdir /usr/spool/lpd
cd /usr/spool/lpd
mkdir lj1_text lj1_raw
chown daemon lj1_text lj1_raw
chgrp daemon lj1_text lj1_raw
chmod g+w lj1_text lj1_raw
Use SAM to configure print queues (HP-UX systems)
On HP-UX systems, use the SAM utility to configure remote print queues for printing text files (ASCII) or
raw files (PCL, PostScript, or other printer language).
Before you begin, select an IP address for the HP Jetdirect print server and add an entry for it in the /
etc/hosts file on your HP-UX system.
1.
Start the SAM utility as the superuser.
2.
Select Peripheral Devices from the Main menu.
3.
Select Printers/Plotters from the Peripheral Devices menu.
4.
Select Printers/Plotters from the Printers/Plotters menu.
5.
Select Add a Remote Printer from the Actions list, then select a printer name.
166 Appendix A LPD printing
Comentarios a estos manuales