CI Info Functions: Devinfo, Spoolinfo, Volinfo (14392)
* There are chances the output may exceed the usual limit of 1024
characters. When this happens, the overflow is handled by removing
trailing LDEV numbers from the list. Due to the presence of a bug, the
total count is also corrected and so there is no way of detecting the
overflow. This bug will be fixed in a future CI patch. Till such time, it is
recommended not to retrieve a list of device numbers where the output
can exceed 1024 characters.
** Requires HP Security Monitor/iX
Examples
:calc DEVINFO(20, "ownership")
OWNED
:calc DEVINFO(0, "DiskDevList")
6/1 2 3 5 190 191
:calc DEVINFO(hpldevin, "Interactive")
TRUE
Additional Information
1) Parameter 1 (Device ID) can be “” or 0 for items that return a list of
LDEV numbers. The following are the items that return a list:
l AllPrinterDevList
l
AllTermDevList
l
CommDevList
l DiscDevList / DiskDevList
l
DSPrinterDevList
l
DSTermDevList
l NotConfigDevList
l
PrinterDevList
l SerialPrinterDevList
l
SpoolerDevList
l
TapeDevList
l TermDevList
AllPrinterDevlist includes DS printers and serial printers. AllTermDevList
includes all MPE session terminal numbers and DS terminal numbers.
For all items that return a list, this result will be truncated if it is in excess
of 1024 characters. The algorithm removes trailing LDEV numbers from
the list till it is lesser or equal to the size of a CI variable.
2) BlockmodeType: This item works on Terminal LDEVs only. It has two
possible values – 7 for line and DTC type terminals and 15 for PAD
terminals.
3) Filename: This item returns the formal device file designator for only
terminal LDEVs; for non-terminals, blanks are returned.
4) Opened: Device is opened if it is owned. Transitory owning of the
PARITY","CMD PARITY"
TapeOnline bool True means the tape drive in online
TapeTrackError bool True means a single track error was found
TapeWriteProtect bool True means tape is write protected
TermDevList string List of all terminal device separated by a space.
Format:"Total/LDEV1 LDEV2 ... LDEVN" *
TrailerDisabled bool True if the trailer pages are suppressed in Printing
TypeAhead bool True means typeahead is enabled
Page
4
of
15
Communicator Article
-
Network Printing enhancement
7/30/2008
http://jazz.external.hp.com/papers/Communicator/7.5/CIInfoFunctions.html