hardcopy
¶
The hardcopy commands module.
These commands are used in the following models: DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, MSO5K, MSO5KB, MSO70KC, MSO70KDX
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- HARDCopy STARt
- HARDCopy:FILEName <file path>
- HARDCopy:FILEName?
- HARDCopy:LAYout {PORTRait|LANdscape}
- HARDCopy:LAYout?
- HARDCopy:PALEtte {COLOr|BLACKANDWhite|INKSaver}
- HARDCopy:PALEtte?
- HARDCopy:PORT {FILE|PRINTER}
- HARDCopy:PORT?
- HARDCopy:READOuts {OFFGRAticule|ONGRAticule}
- HARDCopy:READOuts?
- HARDCopy:VIEW {FULLSCREEN|GRAticule|FULLNOmenu}
- HARDCopy:VIEW?
- HARDCopy?
Hardcopy
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy command.
Description
- This command sends a copy of the screen display to the port specified by
HARDCopy:PORT. This command is equivalent to pressing the PRINT button on the front panel. When printing to a file, the file format can be BMP, JPG, PNG, PCX or TIFF. The format of the saved screen capture is set by theEXPORT:FORMATcommand. The file format setting is persistent, and will not be affected by a default setup or*RSTcommand sent to the instrument. TheHARDCopyquery returns the port and file path.
Usage
- Using the
.query()method will send theHARDCopy?query. - Using the
.verify(value)method will send theHARDCopy?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy valuecommand.
SCPI Syntax
- HARDCopy STARt
- HARDCopy?
Info
STARtinitiates a screen copy to a file or the default system printer, as specified by the:HARDCopy:PORTselection. The default system printer is set within the Windows operating system. If you need information about how to set the default system printer, refer to Microsoft Windows online help.
Properties
.filename: TheHARDCopy:FILENamecommand..layout: TheHARDCopy:LAYoutcommand..palette: TheHARDCopy:PALEttecommand..port: TheHARDCopy:PORTcommand..readouts: TheHARDCopy:READOutscommand..view: TheHARDCopy:VIEWcommand.
filename
property
¶
filename: HardcopyFilename
Return the HARDCopy:FILEName command.
Description
- This command sets or queries the file that will be sent hardcopy data on the next
HARDCopy command (if the
HARDCopy:PORTis set to FILE).
Usage
- Using the
.query()method will send theHARDCopy:FILEName?query. - Using the
.verify(value)method will send theHARDCopy:FILEName?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:FILEName valuecommand.
SCPI Syntax
- HARDCopy:FILEName <file path>
- HARDCopy:FILEName?
Info
<file path>specifies that the hard copy is sent to the named file.is a quoted string that defines the file name and path. Input the file path using the form <drive>:<dir>/. and one or more s are optional. The file path cannot exceed 128 characters. If you do not specify the path with : and one or more s, the default location is ‘C:UsersPublicTektronixTekScopeScreen Captures’. The filename extension is set by the EXPort:FORMatcommand.
layout
property
¶
layout: HardcopyLayout
Return the HARDCopy:LAYout command.
Description
- This command specifies the page orientation for hard copy. If you set the layout to LANdscape, the printer will print hard copies in landscape mode where the long edge of the screen will print to the long edge of the sheet of paper. If you set the layout to PORTRait, the printer will print hard copies in portrait mode. This command is not applicable for PictBridge hardcopies.
Usage
- Using the
.query()method will send theHARDCopy:LAYout?query. - Using the
.verify(value)method will send theHARDCopy:LAYout?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:LAYout valuecommand.
SCPI Syntax
- HARDCopy:LAYout {PORTRait|LANdscape}
- HARDCopy:LAYout?
Info
PORTRaitorients the screen image vertically on the printed page.LANdscapeorients the screen image horizontally on the printed page.
palette
property
¶
palette: HardcopyPalette
Return the HARDCopy:PALEtte command.
Description
- This command sets or queries the hard copy color palette.
Usage
- Using the
.query()method will send theHARDCopy:PALEtte?query. - Using the
.verify(value)method will send theHARDCopy:PALEtte?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:PALEtte valuecommand.
SCPI Syntax
- HARDCopy:PALEtte {COLOr|BLACKANDWhite|INKSaver}
- HARDCopy:PALEtte?
Info
COLOrargument sets the hard copy output to color.BLACKANDwhiteargument sets the hard copy output to black and white.INKSaverargument sets the hard copy output to save ink.
port
property
¶
port: HardcopyPort
Return the HARDCopy:PORT command.
Description
- This command selects or returns whether the hard copy data will be sent to a file or printed on the next hard copy command (for example, the HARDCopy STARt command). This is equivalent to selecting Print in the File menu and then either choosing Print to file or specifying the default printer. If FILE is selected then the EXPORT setup commands are used to create the file. If PRINTER is selected, then the HARDCOPY commands are used to send the data to the printer.
Usage
- Using the
.query()method will send theHARDCopy:PORT?query. - Using the
.verify(value)method will send theHARDCopy:PORT?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:PORT valuecommand.
SCPI Syntax
- HARDCopy:PORT {FILE|PRINTER}
- HARDCopy:PORT?
Info
FILEargument specifies that the hard copy is stored in the file specified in theHARDCOPY:FILENAMEcommand.PRINTERargument specifies that the hard copy is sent to the printer specified in the Print dialog box.
readouts
property
¶
readouts: HardcopyReadouts
Return the HARDCopy:READOuts command.
Description
- This command sets or queries the area on a hard copy where the readout appears. This command is equivalent to selecting Page Setup from the File menu and setting the Readouts Below Graticule in the control window.
Usage
- Using the
.query()method will send theHARDCopy:READOuts?query. - Using the
.verify(value)method will send theHARDCopy:READOuts?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:READOuts valuecommand.
SCPI Syntax
- HARDCopy:READOuts {OFFGRAticule|ONGRAticule}
- HARDCopy:READOuts?
Info
OFFGRATICULEplaces the readouts off the graticule area.ONGRATICULEplaces the readouts on the graticule area on hardcopies.
view
property
¶
view: HardcopyView
Return the HARDCopy:VIEW command.
Description
- This command sets or queries the area of the screen to be hard copied.
Usage
- Using the
.query()method will send theHARDCopy:VIEW?query. - Using the
.verify(value)method will send theHARDCopy:VIEW?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:VIEW valuecommand.
SCPI Syntax
- HARDCopy:VIEW {FULLSCREEN|GRAticule|FULLNOmenu}
- HARDCopy:VIEW?
Info
FULLSCREENsets the area to be hard copied to both the graticule and menu areas of the screen.GRAticulesets the area to be hard copied to only the graticule area of the screen.FULLNOmenusets the area to be hard copied to full screen but hides any menus or toolbars.
HardcopyFilename
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:FILEName command.
Description
- This command sets or queries the file that will be sent hardcopy data on the next HARDCopy
command (if the
HARDCopy:PORTis set to FILE).
Usage
- Using the
.query()method will send theHARDCopy:FILEName?query. - Using the
.verify(value)method will send theHARDCopy:FILEName?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:FILEName valuecommand.
SCPI Syntax
- HARDCopy:FILEName <file path>
- HARDCopy:FILEName?
Info
<file path>specifies that the hard copy is sent to the named file.is a quoted string that defines the file name and path. Input the file path using the form <drive>:<dir>/. and one or more s are optional. The file path cannot exceed 128 characters. If you do not specify the path with : and one or more s, the default location is ‘C:UsersPublicTektronixTekScopeScreen Captures’. The filename extension is set by the EXPort:FORMatcommand.
HardcopyLayout
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:LAYout command.
Description
- This command specifies the page orientation for hard copy. If you set the layout to LANdscape, the printer will print hard copies in landscape mode where the long edge of the screen will print to the long edge of the sheet of paper. If you set the layout to PORTRait, the printer will print hard copies in portrait mode. This command is not applicable for PictBridge hardcopies.
Usage
- Using the
.query()method will send theHARDCopy:LAYout?query. - Using the
.verify(value)method will send theHARDCopy:LAYout?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:LAYout valuecommand.
SCPI Syntax
- HARDCopy:LAYout {PORTRait|LANdscape}
- HARDCopy:LAYout?
Info
PORTRaitorients the screen image vertically on the printed page.LANdscapeorients the screen image horizontally on the printed page.
HardcopyPalette
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:PALEtte command.
Description
- This command sets or queries the hard copy color palette.
Usage
- Using the
.query()method will send theHARDCopy:PALEtte?query. - Using the
.verify(value)method will send theHARDCopy:PALEtte?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:PALEtte valuecommand.
SCPI Syntax
- HARDCopy:PALEtte {COLOr|BLACKANDWhite|INKSaver}
- HARDCopy:PALEtte?
Info
COLOrargument sets the hard copy output to color.BLACKANDwhiteargument sets the hard copy output to black and white.INKSaverargument sets the hard copy output to save ink.
HardcopyPort
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:PORT command.
Description
- This command selects or returns whether the hard copy data will be sent to a file or printed on the next hard copy command (for example, the HARDCopy STARt command). This is equivalent to selecting Print in the File menu and then either choosing Print to file or specifying the default printer. If FILE is selected then the EXPORT setup commands are used to create the file. If PRINTER is selected, then the HARDCOPY commands are used to send the data to the printer.
Usage
- Using the
.query()method will send theHARDCopy:PORT?query. - Using the
.verify(value)method will send theHARDCopy:PORT?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:PORT valuecommand.
SCPI Syntax
- HARDCopy:PORT {FILE|PRINTER}
- HARDCopy:PORT?
Info
FILEargument specifies that the hard copy is stored in the file specified in theHARDCOPY:FILENAMEcommand.PRINTERargument specifies that the hard copy is sent to the printer specified in the Print dialog box.
HardcopyReadouts
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:READOuts command.
Description
- This command sets or queries the area on a hard copy where the readout appears. This command is equivalent to selecting Page Setup from the File menu and setting the Readouts Below Graticule in the control window.
Usage
- Using the
.query()method will send theHARDCopy:READOuts?query. - Using the
.verify(value)method will send theHARDCopy:READOuts?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:READOuts valuecommand.
SCPI Syntax
- HARDCopy:READOuts {OFFGRAticule|ONGRAticule}
- HARDCopy:READOuts?
Info
OFFGRATICULEplaces the readouts off the graticule area.ONGRATICULEplaces the readouts on the graticule area on hardcopies.
HardcopyView
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:VIEW command.
Description
- This command sets or queries the area of the screen to be hard copied.
Usage
- Using the
.query()method will send theHARDCopy:VIEW?query. - Using the
.verify(value)method will send theHARDCopy:VIEW?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:VIEW valuecommand.
SCPI Syntax
- HARDCopy:VIEW {FULLSCREEN|GRAticule|FULLNOmenu}
- HARDCopy:VIEW?
Info
FULLSCREENsets the area to be hard copied to both the graticule and menu areas of the screen.GRAticulesets the area to be hard copied to only the graticule area of the screen.FULLNOmenusets the area to be hard copied to full screen but hides any menus or toolbars.