Configuring Xprint V7.0

Administering forms

If you do not know the printer identifier of the relevant printer, display a list of all the printers with the xpshow -devcommand.

First check the settings of the relevant printer: xpshow -dev printer -di LONG

A list of all the settings for the specified printer printer is displayed.

Before you can make the changes, the printer must be deactivated: xpchange -dev printer -st NOT_ACTIVE

Now assign a form to the printer: xpmod -devprinter -fmform_name

printer represents the ID of the printer to which the default form is to be assigned. form_name is the name of the assigned form.

Note: Xprint V7.0 automatically checks whether the printer’s PCL supports the attributes of the assigned form and the assigned font. If this is not the case, the xpmod command is not executed.

A MANUAL form cannot be defined as the default form for a printer.

Reactivate the printer: xpchange -dev printer

Examples

To add printer printer2 (address /dev/lp1) and at the same time assign to it the default form invoice1:

xpadd -dev printer2 -da dev/lp1 -fm invoice1

To assign to the printer printer1 the form form1 as its default form:

xpchange -dev printer1 -st NOT-ACTIVE xpmod -dev printer1 -fm form1 xpchange -dev printer1

To cancel the assignment of the form sni_invoice1 to the printer printer2 and assign to it the Xprint V7.0 default form GENERIC:

xpchange -dev printer2 -st NOT-ACTIVE

xpmod -dev printer2 -fm GENERIC or xpmod -dev printer2 -fm- xpchange -dev printer2

U23841-J-Z915-6-76

161

Page 173
Image 173
Mackie V7.0 manual 161