
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$
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...