hardcopy
¶
The hardcopy commands module.
These commands are used in the following models: DPO2K, DPO2KB, MSO2K, MSO2KB
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:ACTIVeprinter {<NR1>|<name>}
- HARDCopy:ACTIVeprinter?
- HARDCopy:INKSaver?
- HARDCopy:LAYout {PORTRait|LANdscape}
- HARDCopy:LAYout?
- HARDCopy:PREVIEW {ON|OFF|<NR1>}
- HARDCopy:PRINTer:ADD <name>,<server>,<address>
- HARDCopy:PRINTer:DELete {<name>}
- HARDCopy:PRINTer:LIST?
- HARDCopy:PRINTer:REName <name>,<new_name>,<new_server>,<new_address>
- HARDCopy?
Hardcopy
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy command.
Description
- Sends a hard copy of the screen display to the currently active printer using the current palette and layout settings.
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
STARTsends a block of data representing the current screen image to the requested port. The data sent is in the image format specified bySAVE:IMAGE:FILEFORMAT, and the compression level is controlled by whatever format has been selected (BMP and TIFF are uncompressed, while PNG is compressed).
Properties
.activeprinter: TheHARDCopy:ACTIVeprintercommand..inksaver: TheHARDCopy:INKSavercommand..layout: TheHARDCopy:LAYoutcommand..preview: TheHARDCopy:PREVIEWcommand..printer: TheHARDCopy:PRINTercommand tree.
activeprinter
property
¶
activeprinter: HardcopyActiveprinter
Return the HARDCopy:ACTIVeprinter command.
Description
- This command specifies the currently active printer. When a hard copy operation is performed, the output will be sent to this printer. One of two methods of specifying the printer can be used: specifying an index value obtained from looking at the list of attached printers or by specifying the printer name.
Usage
- Using the
.query()method will send theHARDCopy:ACTIVeprinter?query. - Using the
.verify(value)method will send theHARDCopy:ACTIVeprinter?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:ACTIVeprinter valuecommand.
SCPI Syntax
- HARDCopy:ACTIVeprinter {<NR1>|<name>}
- HARDCopy:ACTIVeprinter?
Info
<NR1>is the index of the desired printer as returned fromHARDCOPY:PRINTER:LIST.<name>is the name of the printer as specified in the printer list. This name is case sensitive and must be entered exactly as shown in the list.
inksaver
property
¶
inksaver: HardcopyInksaver
Return the HARDCopy:INKSaver command.
Description
- Changes hard copy output to print traces and graticule on a white background while retaining waveform color information (except for channel 1, which prints as dark blue because yellow does not show up well and is difficult to see on a white background). This option can significantly reduce print time and quantities of ink required compared with WYSIWYG dark background images.
Usage
- Using the
.query()method will send theHARDCopy:INKSaver?query. - Using the
.verify(value)method will send theHARDCopy:INKSaver?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- HARDCopy:INKSaver?
Info
ONor≠ 0 sets the ink saver mode on. OFFor= 0 sets the ink saver mode off.
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.
preview
property
¶
preview: HardcopyPreview
Return the HARDCopy:PREVIEW command.
Description
- Displays a preview of the current screen contents with the InkSaver Palette if
HARDCopy:INKSAVERis 1 or the Normal Palette ifHARDCopy:INKSAVERis 0.
Usage
- Using the
.write(value)method will send theHARDCopy:PREVIEW valuecommand.
SCPI Syntax
- HARDCopy:PREVIEW {ON|OFF|<NR1>}
Info
ONor≠ 0 turns preview mode on. OFFor= 0 turns preview mode off.
printer
property
¶
printer: HardcopyPrinter
Return the HARDCopy:PRINTer command tree.
Usage
- Using the
.query()method will send theHARDCopy:PRINTer?query. - Using the
.verify(value)method will send theHARDCopy:PRINTer?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.add: TheHARDCopy:PRINTer:ADDcommand..delete: TheHARDCopy:PRINTer:DELetecommand..list: TheHARDCopy:PRINTer:LISTcommand..rename: TheHARDCopy:PRINTer:RENamecommand.
HardcopyActiveprinter
¶
Bases: SCPICmdWrite, SCPICmdRead
The HARDCopy:ACTIVeprinter command.
Description
- This command specifies the currently active printer. When a hard copy operation is performed, the output will be sent to this printer. One of two methods of specifying the printer can be used: specifying an index value obtained from looking at the list of attached printers or by specifying the printer name.
Usage
- Using the
.query()method will send theHARDCopy:ACTIVeprinter?query. - Using the
.verify(value)method will send theHARDCopy:ACTIVeprinter?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theHARDCopy:ACTIVeprinter valuecommand.
SCPI Syntax
- HARDCopy:ACTIVeprinter {<NR1>|<name>}
- HARDCopy:ACTIVeprinter?
Info
<NR1>is the index of the desired printer as returned fromHARDCOPY:PRINTER:LIST.<name>is the name of the printer as specified in the printer list. This name is case sensitive and must be entered exactly as shown in the list.
HardcopyInksaver
¶
Bases: SCPICmdRead
The HARDCopy:INKSaver command.
Description
- Changes hard copy output to print traces and graticule on a white background while retaining waveform color information (except for channel 1, which prints as dark blue because yellow does not show up well and is difficult to see on a white background). This option can significantly reduce print time and quantities of ink required compared with WYSIWYG dark background images.
Usage
- Using the
.query()method will send theHARDCopy:INKSaver?query. - Using the
.verify(value)method will send theHARDCopy:INKSaver?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- HARDCopy:INKSaver?
Info
ONor≠ 0 sets the ink saver mode on. OFFor= 0 sets the ink saver mode off.
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.
HardcopyPreview
¶
Bases: SCPICmdWrite
The HARDCopy:PREVIEW command.
Description
- Displays a preview of the current screen contents with the InkSaver Palette if
HARDCopy:INKSAVERis 1 or the Normal Palette ifHARDCopy:INKSAVERis 0.
Usage
- Using the
.write(value)method will send theHARDCopy:PREVIEW valuecommand.
SCPI Syntax
- HARDCopy:PREVIEW {ON|OFF|<NR1>}
Info
ONor≠ 0 turns preview mode on. OFFor= 0 turns preview mode off.
HardcopyPrinter
¶
Bases: SCPICmdRead
The HARDCopy:PRINTer command tree.
Usage
- Using the
.query()method will send theHARDCopy:PRINTer?query. - Using the
.verify(value)method will send theHARDCopy:PRINTer?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.add: TheHARDCopy:PRINTer:ADDcommand..delete: TheHARDCopy:PRINTer:DELetecommand..list: TheHARDCopy:PRINTer:LISTcommand..rename: TheHARDCopy:PRINTer:RENamecommand.
add
property
¶
add: HardcopyPrinterAdd
Return the HARDCopy:PRINTer:ADD command.
Description
- Adds a network printer to the list of available printers. All three arguments must be present, but only one of server name or server IP address may be specified. An empty string can be used for blank arguments.
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:ADD valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:ADD <name>,<server>,<address>
Info
<name>is the name of the network printer queue.<server>is the host name of the print (LPR) server.<address>is the IP address of the print server.
delete
property
¶
delete: HardcopyPrinterDelete
Return the HARDCopy:PRINTer:DELete command.
Description
- Removes a network printer from the list of available printers. The printer name is case sensitive.
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:DELete valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:DELete {<name>}
Info
<name>is the name of the printer to be deleted.
list
property
¶
list: HardcopyPrinterList
Return the HARDCopy:PRINTer:LIST command.
Description
- Displays the list of currently defined printers. The fields for each entry represent the printer number, whether the printer is currently active (Y=active, N=inactive), the printer name, the printer type (USB, Net or Email), print server name or IP address.
Usage
- Using the
.query()method will send theHARDCopy:PRINTer:LIST?query. - Using the
.verify(value)method will send theHARDCopy:PRINTer:LIST?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- HARDCopy:PRINTer:LIST?
rename
property
¶
rename: HardcopyPrinterRename
Return the HARDCopy:PRINTer:REName command.
Description
- Renames a network or email printer on the list of available printers, replacing the
currently stored settings with the settings specified in the command. The first
argument can be either the printer name, or the index from querying
HARDCOPY:PRINTER:LIST
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:REName valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:REName <name>,<new_name>,<new_server>,<new_address>
Info
Network printer:<index>is the name of the printer to be renamed (deleted).<name>is the name of the printer to be renamed (deleted).<new_printer_name>is the new name for this printer.<new_server_name>is the new print server for this printer.<new_server_address>is the new IP address for the server.Email printer:<index>is the index or name of the printer to be renamed.<name>is the index or name of the printer to be renamed.<new printer email address> is the new email address for this printer.
HardcopyPrinterAdd
¶
Bases: SCPICmdWrite
The HARDCopy:PRINTer:ADD command.
Description
- Adds a network printer to the list of available printers. All three arguments must be present, but only one of server name or server IP address may be specified. An empty string can be used for blank arguments.
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:ADD valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:ADD <name>,<server>,<address>
Info
<name>is the name of the network printer queue.<server>is the host name of the print (LPR) server.<address>is the IP address of the print server.
HardcopyPrinterDelete
¶
Bases: SCPICmdWrite
The HARDCopy:PRINTer:DELete command.
Description
- Removes a network printer from the list of available printers. The printer name is case sensitive.
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:DELete valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:DELete {<name>}
Info
<name>is the name of the printer to be deleted.
HardcopyPrinterList
¶
Bases: SCPICmdRead
The HARDCopy:PRINTer:LIST command.
Description
- Displays the list of currently defined printers. The fields for each entry represent the printer number, whether the printer is currently active (Y=active, N=inactive), the printer name, the printer type (USB, Net or Email), print server name or IP address.
Usage
- Using the
.query()method will send theHARDCopy:PRINTer:LIST?query. - Using the
.verify(value)method will send theHARDCopy:PRINTer:LIST?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- HARDCopy:PRINTer:LIST?
HardcopyPrinterRename
¶
Bases: SCPICmdWrite
The HARDCopy:PRINTer:REName command.
Description
- Renames a network or email printer on the list of available printers, replacing the
currently stored settings with the settings specified in the command. The first argument
can be either the printer name, or the index from querying
HARDCOPY:PRINTER:LIST
Usage
- Using the
.write(value)method will send theHARDCopy:PRINTer:REName valuecommand.
SCPI Syntax
- HARDCopy:PRINTer:REName <name>,<new_name>,<new_server>,<new_address>
Info
Network printer:<index>is the name of the printer to be renamed (deleted).<name>is the name of the printer to be renamed (deleted).<new_printer_name>is the new name for this printer.<new_server_name>is the new print server for this printer.<new_server_address>is the new IP address for the server.Email printer:<index>is the index or name of the printer to be renamed.<name>is the index or name of the printer to be renamed.<new printer email address> is the new email address for this printer.