MDO3000 Programmer Manual.pdf - 第367页
Commands Listed in Alphabetical Order HARDCopy:PRIN Ter:REName "labprn1", "labprn2", "newserver.ex ample.com", "" HARDCopy:PRI NTer:REName 1, "lab prn2", "newserver.…

Commands Listed in Alphabetical Order
Group
Hard Copy
Syntax
HARDCopy:PRINTer:REName
<name>,<new_name>,<new_server>,<new_address>
Arguments
Network printer:
<index> | <name> is the name of the printer to be renamed (dele
ted).
<new_printer_name> is the new name for this printer.
<new_server_name> is the new print server for this printer.
<new_server_address> is the new IP address for the server.
All four arguments must be present when renaming a network printer to another
network printer. Either the server name or the server IP address should be
specified, but not both. An empty string or server address should be used for the
third or fourth argument (server name or server address) which is not specified.
If both are specified, and neither is an empty string, t
hen the server name takes
precedence. which is not specified.
If the second argument contains an @ symbol, the comm
and is interpreted as
a request to rename an existing printer to an email printer and, therefore, any
additional arguments are ignored.
Email printer:
<index> | <name> is the index or name of the printer
to be renamed.
<new pr inter email address> is the new email address for this printer.
If the second argument contains an @ symbol, the command is interpreted as
a request to replace the printer entry with an email printer and, therefore,any
additional arguments are ignored.
Examples
Network printer:
If the first entry on the printer list is for a network printer called 'labprn1', either of
the following commands could be used to change the print server for the printer
to 'newserver.example.com':
HARDCopy:PRINTer:REName "labprn1", "l abprn1",
"newserver.example.com", ""
HARDCopy:PRINTer:REName 1, "labprn1",
"newserver.example.com", ""
Using the same example printer list entry, the name of the network printer could
be changed to 'labprn2' with either of the following commands:
2-336 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
HARDCopy:PRIN
Ter:REName "labprn1", "labprn2",
"newserver.example.com", ""
HARDCopy:PRI
NTer:REName 1, "labprn2",
"newserver.example.com", ""
Email print
er:
If the first entry on the printer list is for a network printer called 'labprn1', either
of the follo
wing commands could be used to replace this printer with an email
printer 'emailPrinter@example.com':
HARDCopy:
PRINTer:REName "labprn1", "labprn3@ example.com"
HARDCopy:PRINTer:REName 1, "labprn 3@example.com"
If the first entry on the printer list is for an email printer whose email address is
'oldEmail@example.com', either of the following commands could be used to
replace
this printer with an email printer 'newEmail@example.com':
HARDCopy:PRINTer:REName "oldEmail@example.com",
"newEm
ail@example.com"
HARDCopy:PRINTer:REName 1, "newEma il@example.com"
HEADer|:HDR
This command specifies the Response Header Enable State that causes the
oscilloscope to either include or omit headers on query responses.
NOTE. This command does not affect IEEE Std 488.2-1987 Common Commands
(those starting with an asterisk); these commands never return headers. This
command does affect the Response Header Enable State of both the USBTMC and
VX
I-11 interfaces. Refer to the Introduction for additional information.
NOTE. Refer to the Waveform Transfer Command Group text for more
c
omprehensive information.
Group
Miscellaneous
Syntax
HEADer|:HDR {OFF|ON|<NR 1>}
HEADer|:HDR?
Related Commands
VERBose
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-337

Commands Listed in Alphabetical Order
Arguments
OFF sets the Res
ponse Header Enable State to false. This causes the oscilloscope
to omit headers on query responses, so that only the argument is returned.
ON sets the Res
ponse Header Enable State to true. This causes the oscilloscope
to include headers on applicable query responses. You can then use the query
response as a command.
<NR1> = 0 sets the Response Header Enable State to false; any other value sets
this state to true.
Examples
HEADER|:HDR OFF specifies that the oscilloscope omits headers on query
responses, so that only the argument is returned.
HEADER|:HDR? might return :HEADER 1 indicating that the oscilloscope is
including headers on applicable query responses.
HIStogram? (Query Only)
This query-only query returns all histogram parameters; it queries the state of
all histogram parameters that the user can set. This command is equivalent to
selecting Waveform Histograms from the Measure menu.
Group
Histogram
Syntax
HIStogram?
Related Commands
MEASUrement:METHod
Examples
HISTOGRAM? might return the histogram parameters as :HISTOGRAM:BOXPCNT
30.0000,25.1000,70.0000,75.2000;DISPLAY LINEAR;STATE
1;FUNCTION VERTICAL;SI ZE 2.0000;SOURCE CH1
.
HIStogram:BOX
This command specifies the histogram box coordinates in terms of source
waveform vertical and horizontal units.
Group
Histogram
Syntax
HIStogram:BOX <NR3>, <NR3>, <NR3>, <NR3>
HISto
gram:BOX?
2-338 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual