Printer Commands; Hcopy:abort; Hcopy[:Immediate] <Printer_Number>,<Numeric_Value; Hcopy:printer[N][:State] <Boolean - Fluke 1560 Black Stack User Manual

Thermometer readout
Table of Contents

Advertisement

6.5.6

Printer Commands

This group of commands controls output to printer devices.

Table 18 Printer Commands

Command

HCOPy:ABORt

HCOPy[:IMMediate] <printer_number>,
<numeric_value>
HCOPy:PRINter[n][:STATe] <Boolean>
HCOPy:PRINter[n][:STATe?]
6.5.6.1
HCOPy:ABORt
This command cancels the printing of memory data initiated with the
HCOP:IMM command.
Example command: HCOP:ABOR
6.5.6.2
HCOPy[:IMMediate] <printer_number>,<numeric_value>
This command initiates printing of memory data to the given printer device.
This is equivalent to using the PRINT MEMORY menu function (see Section
5.3.4). The printer device number is given by <printer_number>. Printer device
1 is the serial port on the base. Other printer devices are assigned numbers se-
quentially. The command SYST:CONF: PDEV? (Section 6.5.8.16 ) can be used
to determine the number of installed printer devices. The number of measure-
ments to print is specified with <numeric_value>. MAX can be used to print all
data. If the given number is larger than the number of measurements stored in
memeory a "Data out of range" error (-222) is reported. The number of avail-
able measurements can be determined using the DATA:POIN? command (Sec-
tion 6.5.1.9). Printing can be canceled with the HCOPy:ABOR command (see
above). Measurements are printed one measurement per line with the channel
number, measurement value, unit, time, and date. Use the appropriate commu-
nication commands (Section 6.5.7) or device setup commands (Section
6.5.8.20) to configure printer port options such as baud rate or linefeed enable.
The following example prints the 10 most recent measurements stored in mem-
ory to the base serial port.
Example command: HCOP 1,10
6.5.6.3
HCOPy:PRINter[n][:STATe] <Boolean>
This command enables or disables output of measurement data to printer de-
vices. This is equivalent to using the PRINT OUTPUT menu function (see
Section 5.3.3). When printing is enabled all measurement data are printed as
they are acquired. The printer device number is given by the PRIN suffix n. If it
is omitted printer port 1, the base serial port, is assumed. Printer devices are as-
6 Digital Communications Interface
Action
Cancel printing of memory data
Print data in memory to printer device
Enable or disable data output to printer
Query printer output state
Commands
91

Advertisement

Table of Contents
loading

Table of Contents