R3131 Spectrum Analyzer Operation Manual
4.1 GPIB Remote Programming
4-28 Aug 28/98
Table 4-25 Hard Copy
Table 4-26 Preset
Table 4-27 Trace Data I/O
Table 4-28 Status Bytes
Function Listener Code
Talker Request
Code Output Format
Command selection
PRTCMD? 0: PCL
1: ESCP
2: ESCP-R
ESC/P PRTCMD ESC
ESC/P Raster
PRTCMD ESCPR
PCL PRTCMD PCL
Print size
PSIZE? 0: Small
1: Large
Large PSIZE LRG
Small PSIZE SML
Mode selection
HCIMAG? 0: Gray
1: B&W
Gray HCIMAG GRY
Monochrome HCIMAG MON
Device selection
HCDEV? 0: Printer
1: Floppy
Printer HCDEV PRT
Floppy HCDEV FDD
Execution HCOPY ––– –––
Function Listener Code
Talker Request
Code Output Format
Preset IP ––– –––
Function Listener Code
Talker Request
Code Output Format
A trace I/O ASCII TAA TAA? ASCII Trace
binary TBA TBA? BIN Trace
B trace I/O ASCII TAB TAB? ASCII Trace
binary TBB TBB? BIN Trace
Function Listener Code
Talker Request
Code Output Format
Status bytes clear *CLS ––– –––
STB readout ––– *STB? 0-255
SRE Read/Write *SRE* *SRE? 0-255
ESR readout ––– *ESR? 0-255
ESE Read/Write *ESE* *ESE? 0-255
OSR readout ––– OPREVT? 0-65535
OSER readout OPR OPR? 0-65535
SRQ interruption ON S0 ––– –––
SRQ interruption OFF S1 ––– –––
SRQ status clear S2 ––– –––
Service request mask RQS* RQS? 0-255