CL Command Reference - CRTDEVPRT
CL Command List > CRTDEVPRT Reference
Description:
The Create Device Description (Printer) (CRTDEVPRT) command creates a device description for a printer device.
Examples:
Example 1: Creating a Local Printer Device Description
CRTDEVPRT DEVD(PRT1) TYPE(5219) DEVCLS(*LCL)
MODEL(D1) PORT(0)
SWTSET(1) CTL(CTL01) FONT(011)
This command creates a device description for a local printer named PRT1. It is a 5219 Model D1 Printer attached to Port 0 of CTL01. It has an address of 1 and uses the Courier font.
Example 2: Creating a LAN Printer Device Description
CRTDEVPRT DEVD(PRT2) DEVCLS(*LAN) TYPE(3812) MODEL(1)
ADPTADR(999999999999) FONT(011)
MFRTYPMDL(*IBM3812)
This command creates a device description for a LAN printer named PRT2. It is a 3812 Model 1 Printer attached to IBM 3812 Pageprinter. It has an adapter address of 999999999999 and uses the Courier font.