184 U23841-J-Z915-6-76
Administering PCLs Configuring Xprint V7.0
● To be able to make changes you must first deactivate the printer:
xpchange -dev [selection] -st NOT_ACTIVE
● Now assign the new PCL to the printer:
xpmod -dev printer -pc pcl_name
where printer is the ID of the printer to which the PCL is to be assigned, and
pcl_name is the name of the assigned PCL.
Note: If the default PCL is replaced by another one, you must make sure
that the new PCL supports the attributes of the default form and the
assigned default font used on the printer. If this is not the case, the
xpmod command is rejected.
● Now reactivate the printer:
xpchange -dev [selection]
Examples
– To add the printer group4 (address /dev/lp3, supervisor marcus), assigning
to it the PCL HP-LASERJET:
xpadd -dev group4 -da dev/lp3 -su marcus -pc HP-LASERJET
– To assign to the printer printer4 a different PCL, e.g. POSTSCRIPT:
xpchange -dev printer4 -st NOT-ACTIVE
xpmod -dev
printer4 -pc POSTSCRIPT -ct-
xpchange -dev printer4
– To cancel the assignment of the PCL POSTSCRIPT to the printer printer1 and
assign to it the PCL GENERIC instead:
xpchange -dev printer1 -st NOT-ACTIVE
xpmod -dev
printer1 -pc GENERIC -ct SIMPLE
xpchange -dev
printer1