beautypg.com

Obtaining a specific configuration – HP Scripting Toolkit for Windows User Manual

Page 52

background image

USER_NAME = "Administrator"

USER_LOGIN = "Administrator"

PASSWORD = "">

USER_NAME = "Landy9"

USER_LOGIN = "mandy9"

PASSWORD = "">

For security reasons, the user passwords are not returned.

Obtaining a specific configuration

A specific configuration can be obtained using the appropriate XML input file. For example, the
contents of a typical XML input file, get_global.xml, are the following:

The XML commands are read from the input file

get_global.xml

and are processed by the device:

HPONCFG /f get_global.xml /l log.txt > output.txt

The requested information is returned in the log file, which, in this example, is named log.txt.
The contents of the log file are as follows:

52

Scripting Toolkit utilities