User Manual

Page 3.40
=============================================================
QUERY PRINT QP
-------------------------------------------------------------
Purpose:
Queries a screen dump of the instrument in different
printer formats. This allows you to make a copy of the
instrument screen on paper.
Command Syntax:
QP <screen_number>,<output_format><cr>
where,
<screen_number> = 0 Always zero
<output_format> = 0 Epson FX, LQ compatible
1 Laser Jet
2 Desk Jet
3 PostScript
Response Syntax:
<acknowledge><cr>[<printer_data>]
<printer_data>
This data can directly be sent to the printer to get a
screen copy on paper.
Example:
The following program reads the instrument screen (print)
data and copies this data to the file Qpfile. Hereafter, you
can copy this file to the printer port LPT1, for example.
The Read Buffer length for the PC is set to 7500 bytes to
prevent buffer overflow during input from the instrument.
The data transfer speed (baud rate) is set to 19200 and after
the output it is set back to 1200 (default baud rate).