Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 387

Table of Contents

Advertisement

Query
Returned Format
Example
:HARDcopy:DPRinter?
The :HARDcopy:DPRinter? query returns the current printer number and
string.
[:HARDcopy:DPRinter?]
{<printer_number>,<printer_string>,DEFAULT}<NL>
Or, if there is no default printer (no printers are installed), only a <NL> is
returned.
This example places the current setting for the hard copy printer in the string
variable, Setting$, then prints the contents of the variable to the computer's
screen.
10
DIM Setting$[50]!Dimension variable
20
OUTPUT 707;":HARDCOPY:DPRinter?"
30
ENTER 707;Setting$
40
PRINT Setting$
50
END
Programs Must Wait After Changing the Default Printer
It takes several seconds to change the default printer. Any programs that try to set
the default printer must wait (10 seconds is a safe amount of time) for the change to
complete before sending other commands. Otherwise, the oscilloscope will become
unresponsive.
Hardcopy Commands
DPRinter
17-5

Advertisement

Table of Contents
loading

Table of Contents