Remote Commands
R&S
®
FSMR3000
591
User Manual 1179.0116.02 ─ 02
INST:REN 'Spectrum2','Spectrum3'
//Renames the loaded channel to 'Spectrum3'.
12.7.6.5
Printing to a File
//Select bmp as the file format.
HCOP:DEV:LANG BMP
//Select the file name for the printout.
MMEM:NAME 'C:\R_S\INSTR\USER\Screenshot.bmp'
//Select all screen elements for printing
HCOP:ITEM:ALL
//Add a comment to the printout.
HCOP:ITEM:WIND:TEXT 'ACLRResults'
//Store the printout in a file called 'Screenshot.bmp'.
HCOP
//Store another printout in a file called 'Screenshot_001.bmp'.
HCOP:NEXT
12.7.6.6
Printing on a Printer
HCOP:DEST2 'SYST:COMM:PRIN'
//Prints the data on a printer.
SYST:COMM:PRIN:ENUM:FIRS?
SYST:COMM:PRIN:ENUM?
//Returns the available printers, e.g.
//'LASER on LPT1'
//''
//Means that one printer is available.
SYST:COMM:PRIN:SEL2 'LASER on LPT1'
//Selects the printer for the print job on device 2.
HCOP:PAGE:ORI2 LAND
//Selects the landscape format for the printout.
HCOP:TDST:STAT2 ON
//Includes date and time on the printout.
HCOP:ITEM:ALL
//Prints all screen elements
HCOP
//Initiates the printout.
12.7.6.7
Storing Multiple Graphical Measurement Results to a PDF File
This example demonstrates how to store graphical results from measurements in the
Spectrum application and the I/Q Analyzer to a single PDF file. It assumes the Spec-
trum and I/Q Analyzer measurements have already been configured and performed,
with the following screen layout:
'Spectrum': 1 Frequency Sweep
'Spectrum': 2 Spectrogram
Managing Settings and Results