CL Command Reference - CHGDEVPRT

CL Command List > CHGDEVPRT Reference

Description:

The Change Device Description (Printer) (CHGDEVPRT) command changes a device description for a printer device.


Examples:

Example 1: Changing a Printer Address

CHGDEVPRT DEVD(PRT1) PORT(1) SWTSET(5)

This command changes the device description for the printer named PRT1 so that it is now located at port 1, and its address is 5.



Example 2: Changing an Adapter Address

CHGDEVPRT DEVD(PRT2) ADPTADR(222222222222)

This command changes the device description for the printer named PRT2 so that its adapter address is 222222222222.