unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (Debian-3.1)
Page:
Section:
Apropos / Subsearch:
optional field

PTAL-PML(8)                 TTF2PT1 Font Converter                 PTAL-PML(8)



NAME
       hpoj reference: "ptal-pml"

SYNOPSIS
       ptal-pml devname [cmd...]

DESCRIPTION
       The "ptal-pml" command-line utility allows one to get and set the val-
       ues of individual PML (Peripheral Management Language) objects on the
       device.

OPTIONS
       o   "devname" is the PTAL device name (required)

       o   "cmd" is one of:

           o   "get[-type] [oid]..." -- Gets the value of zero or more PML
               objects

           o   "set [oid type value]..." -- Sets the value of zero or more PML
               objects

           o   "dev devname" -- Selects a different PTAL device for subsequent
               gets and sets

       o   "oid" is a dotted-decimal PML object ID (for example, "1.1.3.2")

       o   "type" is the type of data to "set" (or override the default dis-
           play format for "get"), one of (may be abbreviated to the shortest
           unique string):

           o   "enumeration"

           o   "integer"

           o   "string"

           o   "binary"

           o   "bstring" (same as binary, but parsed/printed as a string with
               no symbol-set identifier)

           o   "collection"

           o   "null"

       o   "value" depends on the "type":

           o   For "enumeration", "integer", "collection", and "null", a deci-
               mal, octal (if preceeded by 0), or hexadecimal (if preceeded by
               "0x") number

           o   For "string" and "bstring", a string enclosed in "double
               quotes"

           o   For "binary", a sequence of hexadecimal numbers separated by
               spaces and enclosed in "double quotes"

NOTES
       "ptal-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 "ptal-hp", "xojpanel", or "lib-
       sane-hpoj".  A partial list of PML objects that may or may not be sup-
       ported by HP multi-function peripherals is available.  In this table,
       the "OID_" "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 "apps/cmdline/ptal-hp.c", "lib/sane/hpoj.[ch]", or
       inquire on the "hpoj-devel" mailing list.  For JetDirect, PML is encap-
       sulated within SNMP, which uses fewer data types.  Therefore, an "inte-
       ger" through JetDirect may need to be specified as a more specific
       type, such as "enumeration", on a local connection.



current                         March 13, 2005                     PTAL-PML(8)