Command reference
R&S
®
ZNL/ZNLE
601
User Manual 1178.5966.02 ─ 19
//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.
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
'IQ Analyzer': 1 Magnitude
'IQ Analyzer': 2 Spectrum
//Switch to MultiView tab
DISP:ATAB ON
//Select windows to be stored to file
HCOP:CONT WIND
HCOP:PAGE:WIND:STAT 'Spectrum','1',ON
HCOP:PAGE:WIND:STAT 'Spectrum','2',ON
HCOP:PAGE:WIND:STAT 'IQ Analyzer','1',ON
HCOP:PAGE:WIND:STAT 'IQ Analyzer','2',ON
//Define contents to be printed on each page (logo, timestamp, page count)
DISP:LOGO ON
HCOP:TDST:STAT ON
HCOP:PAGE:COUN:STAT ON
//Define comment to be printed on each page
HCOP:ITEM:WIND:TEXT 'Measurement Test Report'
//Configure page layout (landscape, 1 display per page, margins 2cm on each side)
HCOP:PAGE:ORI1 LAND
HCOP:PAGE:WIND1:COUN 1
HCOP:PAGE:WIND1:SCAL 1
HCOP:PAGE:MARG1:BOTT 20
HCOP:PAGE:MARG1:LEFT 20
HCOP:PAGE:MARG1:RIGH 20
HCOP:PAGE:MARG1:TOP 20
Common instrument commands