man ptal-hp (Commandes) - hpoj reference: CWptal-hp

NAME

hpoj reference: CWptal-hp

SYNOPSIS

ptal-hp [devname] command [params...]

DESCRIPTION

The CWptal-hp command-line utility provides high-level access to various control and status features of supported HP multi-function peripherals, including:

•
General device information
•
Front-panel display readback
•
Clock readback and setting

Not all features are available on all models. In general, the common thread between the various functions of CWptal-hp is that internally they involve access to PML objects on the device. On the other hand, CWptal-pml may be used to get and set PML objects directly.

OPTIONS

•
CWCIdevnameCW is the optional PTAL device name
•
CWCIcommandCW is the command for CWptal-hp, one of:
•
CWdevice general device information
•
CWdisplay display readback
•
CWclock clock readback and setting
•
CW[CIparams...CW] is zero or more parameters for the specific CWCIcommandCW. See the following sections for more information.

CWdevice general device information Displays various information about the device, and displays CW(unavailable) for information that the device doesn't provide. Syntax:

ptal-hp [devname] device

There are no additional command-line parameters. See also CWptal-devid. Example for a PSC 750:

Model name: PSC 700 Series Model number: 750 Serial number: MY11TA1040WB Firmware version: BD401R Firmware datecode: (unavailable)

Example for an OfficeJet 700:

Model name: (unavailable) Model number: (unavailable) Serial number: (unavailable) Firmware version: (unavailable) Firmware datecode: (unavailable)

CWdisplay display readback Displays the contents of the LCD (liquid crystal display) on the device's front panel, or displays CW(unavailable) if the device doesn't provide this information. See the CWxojpanel column on the hpoj Supported devices page for the most up-to-date information about which models support this feature. Syntax:

ptal-hp [devname] display

There are no additional command-line parameters. A related utility is CWxojpanel, which is a graphical application that continuously displays the LCD contents in its own window. The CWxojpanel document contains some useful information that also applies to "CWptal-hp display". Example for a PSC 750:

1 Copy / 100%

Example for a LaserJet 3200:

READY AUTO JUL-31-2001 11:35PM

Example for an OfficeJet G85 with a page loaded in the ADF:

Jul 31 01 11:37p Original loaded

Example for a LaserJet 1100A:

(unavailable)

CWclock clock readback and setting Displays the current date/time of the device's clock (if it has one), and if desired, synchronizes the clock to the PC's clock and/or changes the date/time display formats. Syntax:

ptal-hp [devname] clock [params...]

Where CWCIparams...CW may be zero or more of:

•
CW-set Sets device clock to PC clock
•
CW-mmddyy, CW-ddmmyy, CW-yymmdd Sets date format
•
CW-12hour, CW-24hour Sets time format

Any parameters you specify are processed in order of appearance on the command line. "CWptal-hp clock" currently does not support setting the device's clock to an arbitrary time or date (different from the PC clock). Most models allow you to set the clock from their front-panel menus.