Agilent Technologies 86100-90086 Sprinkler User Manual


 
13-3
Hardcopy Commands
FACTors
The query returns the current printer number and string.
Returned Format [:HARDcopy:DPRinter?] {<printer_number>,<printer_string>,DEFAULT}<NL>
Or, if there is no default printer (no printers are installed), only a <NL> is returned.
Example This example places the current setting for the hardcopy printer in the string variable, Set-
ting$.
10 DIM Setting$[50] !Dimension variable
20 OUTPUT 707;":HARDCOPY:DPRinter?"
30 ENTER 707;Setting$
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 analyzer will become unresponsive.
FACTors
Command :HARDcopy:FACTors {{ON | 1}|{OFF | 0}}
This command determines whether the analyzer setup factors will be appended to screen or
graticule images. FACTors ON is the same as choosing Include Setup Information in the Con-
figure Printer dialog box.
Example This example turns on the setup factors.
10 OUTPUT 707;":HARDCOPY:FACTORS ON"
Query :HARDcopy:FACTors?
The query returns the current setup factors setting.
Returned Format [:HARDcopy:FACTors] {1|0}<NL>
Example This example places the current setting for the setup factors in the string variable, Setting$.
10 DIM Setting$[50] !Dimension variable
20 OUTPUT 707;":HARDCOPY:FACTORS?"
30 ENTER 707;Setting$
IMAGe
Command :HARDcopy:IMAGe {NORMal | INVert | MONochrome}
This command prints the image normally, inverted, or in monochrome. IMAGe INVert is the
same as choosing Invert Waveform Colors in the Configure Printer dialog box.
Example This example sets the hardcopy image output to normal.
10 OUTPUT 707;":HARDCOPY:IMAGE NORMAL"
Query :HARDcopy:IMAGe?
The query returns the current image setting.
Returned Format [:HARDcopy:IMAGe] {NORMal | INVert | MONochrome}<NL>
Example This example places the current setting for the hardcopy image in the string variable, Set-
ting$.
10 DIM Setting$[50] !Dimension variable
20 OUTPUT 707;":HARDCOPY:IMAGE?"
30 ENTER 707;Setting$