U23841-J-Z915-6-76 117
Configuring Xprint V7.0 Administering devices
Configuring printers
● First use the checklist in the Appendix on page 263 to check if all the
required preparatory steps for adding printers have been taken or if you want
to use any of the further configuration options mentioned there (forms, filters,
permission lists, etc.).
● If you want to display a list of all the printers available in order to define a
unique device name for your printer, use the following command:
xpshow -dev
A list of all the defined printers is displayed, which has the following
structure:
Name PCL Default form Host Administrator
---- --- ------------ ---- -------------
printer1 POSTSCRIPT GENERIC hudson root
printer2 HP-LASERJET GENERIC colorado root
● Now choose a printer name which does not yet exist in the list and configure
your printer at the selected or specially defined supervisor:
xpadd -dev device_name -da device_file -co type /
[-su supervisor_name] -pc pcl_name [-aa]
device_file specifies to which port the printer is attached (e.g.
/dev/term/tty001 or /dev/term/tty002 for serial, or /dev/lp0 or
/dev/lp1 for parallel ports, or 192.210.192.127 9100 for a LAN
connection.).
With type you specify which type of port is used for your printer. Possible
values for type are SERIAL for a serial port, PARALLEL for a parallel port, SCSI
for a SCSI high-performance printer, and LAN for a LAN printer. The default
is SERIAL.
If required, you can specify the responsible supervisor with supervisor_name.
If you omit this specification, Xprint V7.0 uses the supervisor with the name
of the host to which the printer is attached. If you do not specify a supervisor,
Xprint V7.0 will automatically define a default supervisor.
With pcl_name you define which printer capability list is to be used for
addressing your printer. Possible values include HP-LASERJET, POSTSCRIPT,
PROPRINTER and HP-DESKJET. The default is GENERIC. See the Reference
Manual to find out which PCL to specify for the printer you use.
The -aa option can be used to have the printer activated automatically
whenever Xprint V7.0 is started.