The HCOPy system controls the output of screen information to an external device. Part of the functionality of this system is included in the File menu.
Command tree: HCOPy
:DEVice
:ITEM
:LOGO
:MLISt
:TIME
:PAGE
:MARGin
Selects a printer name or file as destination for the screen output.
<string> | |
Printer name, string variable. One of the printers accessible from your PC.
|
'MMEM' |
Print to file. The file name is defined via MMEMory:NAME. The command HCOPy:DEVice:LANGuage WMF | EWMF | BMP | PNG selects the file format. |
'DEFPRT' |
Use default printer, to be selected in the "Printers and Faxes" dialog of the Windows XP® control panel. |
*RST value |
n/a (*RST does not overwrite the printer destination)
|
SCPI, Command Types |
Confirmed, command or query.
|
Example: |
Include the logo and current time and date in the printed file. HCOP:MPAG:WIND ALL Include all diagram areas one one page of the printed file. HCOP:DEST 'MMEM'; :HCOP Select 'Print to file' and create the printer file specified before.
|
Selects a file format for printer files. Selecting the format is recommended to ensure that the file defined via MMEMory:NAME can be read or imported by an external application.
EMF, WMF, EWMF |
Windows enhanced metafile format (vector-based, file extension *.emf). The parameter WMF is equivalent to EMF; a query returns EMF. |
BMP |
Windows bitmap |
JPG |
JPEG bitmap |
PNG |
Portable network graphics format |
*RST value |
BMP
|
SCPI, Command Types |
Confirmed, command or query.
|
Example: |
HCOP:DEST 'MMEM'; :HCOP Select 'Print to file' and create the printer file specified before.
|
Initializes the print according to the current HCOPy... configuration.
*RST value |
–
|
SCPI, Command Types |
Confirmed, no query.
|
Example: |
Select the printer for the output of screen data.
|
Selects the complete screen contents to be printed, including the logo (HCOPy:ITEM:LOGO), time (HCOPy:ITEM:TIME), and the marker list (HCOPy:ITEM:MLISt).
*RST value |
After a reset, the complete information is printed; see commands for logo, time, marker list and settings.
|
SCPI, Command Types |
Confirmed, no query.
|
Example: |
Select the complete information to be printed.
|
Qualifies whether or not the printed hardcopy contains the logo. The default R&S logo (file Logo.gif) is stored in the Resources\Images subdirectory of the NWA program directory and can be replaced by another logo.
This command is valid for printed hardcopies.
If you print to a file (HCOPy:DESTination
'MMEM'),
use HCOPy:MITem:LOGO[:STATe].
<Boolean> |
ON | OFF - Logo is included or excluded. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Select the complete information to be printed.
|
Qualifies whether or not the printed output contains the information in the marker info field (marker list).
<Boolean> |
ON | OFF - Marker list is included or excluded. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Select the complete information to be printed.
|
Qualifies whether or not the printed hardcopy contains the current date and time.
This command is valid for printed hardcopies.
If you print to a file (HCOPy:DESTination
'MMEM'),
use HCOPy:MITem:TIME[:STATe].
<Boolean> |
ON | OFF - Date and time is included or excluded. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Select the complete information to be printed.
|
Qualifies whether or not the printed file contains the logo. The default R&S logo (file Logo.gif) is stored in the Resources\Images subdirectory of the NWA program directory and can be replaced by another logo.
This command
is valid for screen content which is printed to a file (HCOPy:DESTination
'MMEM').
To configure hardcopies, use HCOPy:ITEM:LOGO[:STATe].
<Boolean> |
ON | OFF - Logo is included or excluded. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
|
Qualifies whether or not the printed file contains the current date and time.
This command
is valid for screen content which is printed to a file (HCOPy:DESTination
'MMEM').
To configure hardcopies, use HCOPy:ITEM:TIME[:STATe].
<Boolean> |
ON | OFF - Date and time is included or excluded. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
|
Defines the number of diagram areas per printed page.
This command
is valid for screen content which is printed to a file (HCOPy:DESTination
'MMEM').
To configure hardcopies, use HCOPy:PAGE:WINDow.
ACTive |
Print only active diagram area. |
ALL | |
All diagram areas are printed on one page. |
SINGle |
One diagram area per page. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
|
Defines the distance between the bottom of the page and the bottom of the printed information.
<numeric_value> |
Lower margin. |
Range [def. unit] |
0.01 mm to 10000 mm [mm] |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Set an upper and a lower margin of 1 cm.
|
Defines the distance between the left edge of the page and the left edge of the printed information.
<numeric_value> |
Left margin. |
Range [def. unit] |
0.01 mm to 10000 mm [mm] |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Set an left and a right margin of 1 cm.
|
Defines the distance between the right edge of the page and the right edge of the printed information.
<numeric_value> |
Right margin. |
Range [def. unit] |
0.01 mm to 10000 mm [mm] |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Set an left and a right margin of 1 cm.
|
Defines the distance between the top of the page and the top of the printed information.
<numeric_value> |
Upper margin. |
Range [def. unit] |
0.01 mm to 10000 mm [mm] |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
Set an upper and a lower margin of 1 cm.
|
Defines the orientation of the printed page. Switching between LANDscape and PORTrait rotates the hardcopy result by 90 degrees. No other settings are changed.
PORTrait | |
Short edge of the paper is the top of the page. |
LANDscape |
Long edge of the paper is the top of the page. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
Select landscape page orientation and start printing.
|
Defines the number of diagram areas per printed page.
This command is valid for printed hardcopies.
If you print to a file (HCOPy:DESTination
'MMEM'),
use HCOPy:MPAGe:WINDow.
ACTive |
Print only active diagram area. |
ALL | |
All diagram areas are printed on one page. |
SINGle |
One diagram area per page. |
*RST value |
n/a (*RST does not affect the printer configuration)
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
Select one diagram area per page and start printing.
|