Commands Listed in Alphabetical Order
HARDCopy:PRI
NTer:ADD (No Query Form)
This command is used to add a network or email printer to the list of available
printers. Adding a network printer requires 3 arguments, but only one of server
name or serve
r IP address should be specified. An empty string can be used for
blank arguments. Adding an email printer requires only one argument.
Group
Hard Copy
Syntax
HARDCopy:PRINTer:ADD
<name>,<server>,<address>|<emailaddres s>
Arguments
Network printers:
<name> is the name of the network printer queue.
<server> is the host name of the print (LPR) server.
<address> is the IP address of the print server.
Specify
ing the printer name and server name or server address adds a network
printer to the list of available printers. All three arguments must be present, but
only one of server name or server IP address should be specified. An empty
string should be used for the second or third argument (server name or server
address) which is not specified. If both are specified and neither is an empty
string, then the server name takes precedence.
Email printers:
<emailaddress> is the internet email address of the printer. Must contain an
@ character.
Specifying only a single argument, the printer email address adds an email printer
to the list of available printers, as does specifying 2 or more arguments where the
first argument contains an @ character. When the first argument contains an @
symbol, the command is interpreted as a request to add an email printer and,
therefore, any additional arguments are ignored.
Examples
Network printer:
To add a networ
ked printer called 'labprn1', hosted from a compatible print server
called 'printhost.example.com':
HARDCopy:PRINTer:ADD "labprn1", "printhost.example.com",
""
To add a networked printer called 'labprn2', hosted from a print server at IP
address '192.168.0.20':
HARDCopy:PRINTer:ADD "labprn2", "", "192.168.0.20"
2-334 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual