
13-4
Hardcopy Commands
PRINters?
PRINters?
Query
:HARDcopy:PRINters?
This query returns the currently available printers.
Returned Format
[:HARDcopy:PRINters]<printer_count><NL><printer_data><NL>[,<printer_data><NL>]
<printer_count>
Number of printers currently installed.
<printer_data>
The printer number and the name of an installed printer. The word DEFAULT appears next
to the printer that is the currently selected default printer.
Example
This example places the number of installed printers into the variable Count, loops through
that number of times, and prints the installed printer names to the computer screen.
10 DIM Setting$[50]
!Dimension variable
20 OUTPUT 707;":HARDCOPY:PRINTERS?"
30 ENTER 707;Count
40 IF Count>0 THEN
50 FOR Printer_number=1 TO Count
60 ENTER 707;Setting$
70 PRINT Setting$
80 NEXT Printer_number
90 END IF
100 END
Summary of Contents for 86100A
Page 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Page 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Page 94: ...2 40 Sample Programs BASIC Programming Examples...
Page 124: ...4 16 Root Level Commands VIEW...
Page 132: ...5 8 System Commands TIME...
Page 140: ...6 8 Acquire Commands SWAVeform RESet...
Page 152: ...7 12 Calibration Commands STATus...
Page 192: ...11 12 Display Commands SSAVer...
Page 202: ...12 10 Function Commands VERTical RANGe...
Page 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Page 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Page 332: ......