Hardcopy Command


Controls printing of the VNA screen and optional data to a printer or a file.

HCOPy:

[IMMediate]

FILE

SDUMP

     | DATA?

           | FORMat

Click on a Red keyword to view the command details.

See Also


HCOPy[:IMMediate]

Applicable Models: E5080A, M9485A

(Write-only) Prints the screen to the default printer.

Examples

HCOP
hcopy:immediate

Query Syntax

Not applicable

Default

Not Applicable


HCOPy:FILE <filename>

Applicable Models: E5080A, M9485A

(Write-only) Saves the screen image to a file. The image does NOT include the optional print data invoked by many HCOPy commands.

Parameters

 

<filename>

Name of the file to save the screen to.  The file is saved to the current working directory unless a valid full path name is specified.

Use one of the following suffixes:

.bmp - not recommended due to large file size

.jpg - not recommended due to poor quality

.png - recommended

Examples

HCOPY:FILE "myFile.png"

hcopy:file "D:\myfile.png"

Query Syntax

Not Applicable

Default

Not Applicable


HCOPy:SDUMp:DATA?

Applicable Models: E5080A, M9485A

(Read-only) Returns the display image in a definite-length arbitrary binary block. The format of the data is PNG by default.  Use HCOP:SDUM:DATA:FORM to change the format.

This command is equivalent to saving an image to the VNA (HCOPy:FILE) and then using MMEM:TRAN to transfer the file to the computer.

Examples

HCOP:SDUM?

hcopy:sdump?

Return Type

A definite-length arbitrary binary block

Default

Not Applicable


HCOPy:SDUMp:DATA:FORMat <char>

Applicable Models: E5080A, M9485A

(Read-Write) Sets the graphic format for HCOPy:SDUMp:DATA?

Parameters

 

<char>

Choose from: JPG | BMP | PNG

Examples

HCOP:SDUMp:DATA:FORMat BMP

Query Syntax

HCOPy:SDUMp:DATA:FORMat?

Return Type

Character

Default

PNG


Last modified:

18-May-2016

First Release