Remote Control
R&S
®
FSPN
476
User Manual 1179.4363.02 ─ 01
//'Spectrum' channel.
MMEM:SEL:CHAN:HWS ON
//Selects only hardware settings to be loaded.
MMEM:LOAD:STAT 1, 'C:\R_S\Instr\user\Spectrum'
//Loads the channel-specific settings from the file 'C:\R_S\Instr\user\Spectrum.dfl'
//to a new channel. The new channel is named 'Spectrum2' to avoid a naming conflict
//with the existing 'Spectrum' channel.
INST:REN 'Spectrum2','Spectrum3'
//Renames the loaded channel to 'Spectrum3'.
11.8.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
11.8.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.
Managing Settings and Results