man ptal-pml (Administration système) - hpoj reference: CWptal-pml
NAME
hpoj reference: CWptal-pml
SYNOPSIS
ptal-pml devname [cmd...]
DESCRIPTION
The CWptal-pml command-line utility allows one to get and set the values of individual PML (Peripheral Management Language) objects on the device.
OPTIONS
- •
- CWCIdevnameCW is the PTAL device name (required)
- •
- CWCIcmdCW is one of:
- •
- CWget[-CItypeCW] [CIoidCW]... Gets the value of zero or more PML objects
- •
- CWset [CIoidCW CItypeCW CIvalueCW]... Sets the value of zero or more PML objects
- •
- CWdev CIdevnameCW Selects a different PTAL device for subsequent gets and sets
- •
- CWCIoidCW is a dotted-decimal PML object ID (for example, "CW1.1.3.2")
- •
- CWCItypeCW is the type of data to CWset (or override the default display format for CWget), one of (may be abbreviated to the shortest unique string):
- •
- CWenumeration
- •
- CWinteger
- •
- CWstring
- •
- CWbinary
- •
- CWbstring (same as binary, but parsed/printed as a string with no symbol-set identifier)
- •
- CWcollection
- •
- CWnull
- •
- CWCIvalueCW depends on the CWCItypeCW:
- •
- For CWenumeration, CWinteger, CWcollection, and CWnull, a decimal, octal (if preceeded by CW0), or hexadecimal (if preceeded by CW0x) number
- •
- For CWstring and CWbstring, a string enclosed in double quotes
- •
- For CWbinary, a sequence of hexadecimal numbers separated by spaces and enclosed in double quotes
NOTES
CWptal-pml is only necessary if you want to experiment with getting or setting specific PML objects. In most cases it's preferable to use a higher-level interface, such as CWptal-hp, CWxojpanel, or CWlibsane-hpoj. A partial list of PML objects that may or may not be supported by HP multi-function peripherals is available. In this table, the CWOID_ object name is provided only as a hint of the meaning, and you must enter the numerical object ID on the command line. For more specific information about the meaning or valid values of certain objects, consult CWapps/cmdline/ptal-hp.c, CWlib/sane/hpoj.[ch], or inquire on the CWhpoj-devel mailing list. For JetDirect, PML is encapsulated within SNMP, which uses fewer data types. Therefore, an CWinteger through JetDirect may need to be specified as a more specific type, such as CWenumeration, on a local connection.