Agilent Technologies 86100-90086 Sprinkler User Manual


 
13-2
Hardcopy Commands
AREA
Hardcopy Commands
The HARDcopy subsystem commands set various parameters for printing the screen. The
print sequence is activated when the root level :PRINt command is sent.
AREA
Command :HARDcopy:AREA {GRATicule | SCReen}
This command selects which data from the screen is to be printed. When you select GRATi-
cule, only the graticule area of the screen is printed (this is the same as choosing Waveforms
Only in the Configure Printer dialog box). When you select SCReen, the entire screen is
printed.
Example This example selects the graticule for printing.
10 OUTPUT 707;":HARDCOPY:AREA GRATICULE"
Query :HARDcopy:AREA?
The query returns the current setting for the area of the screen to be printed.
Returned Format [:HARDcopy:AREA] {GRATicule | SCReen}<NL>
Example This example places the current selection for the area to be printed in the string variable,
Selection$.
10 DIM Selection$[50] !Dimension variable
20 OUTPUT 707;":HARDCOPY:AREA?"
30 ENTER 707;Selection$
DPRinter
Command :HARDcopy:DPRinter {<printer_number>|<printer_string>}
This command selects the default printer to be used.
<printer_number> is an integer representing the attached printer. This number corresponds
to the number returned with each printer name by the ":HARDcopy:PRINters?" query.
<printer_string> is a string of alphanumeric characters representing the attached printer.
The HARDcopy:DPRinter command specifies a number or string for the printer attached to
the analyzer. The printer_string must exactly match the character strings in the File, Print
Setup dialog boxes, or the strings returned by the ":HARDcopy:PRINters?" query.
Examples This example sets the default printer to the second installed printer returned by the :HARD-
copy:PRINters? query.
10 OUTPUT 707;":HARDCOPY:DPRINTER 2"
This example sets the default printer to the installed printer with the name "HP Laser".
10 OUTPUT 707;":HARDCOPY:DPRINTER ""HP Laser"""
Query :HARDcopy:DPRinter?