Rinstrum - 5200 Communications Manual Rev 1.2
Page 42 0025-605-120
2.4.30. PRT: Print
Force the instrument to print, query the print log or query the unique print id.
General Details
No. of Parameters Save Changes Changes Used Increment Trade Counter
2 - - No
Parameter Details
Parameter Description Range Default Required
1 Port Number 0
1
Serial 1
Serial 2
- Yes
2 Format string String. Length <=200. “” No
A 1024 character log is kept of printed data for each port. This data is read 1 line at
a time and is cleared after the first read. To read this data use PRT?0 or PRT?1.
When there is no more data, an empty string (“”) is returned. If the port number is
left off, the print ID of the last print ticket is sent.
A custom string can be printed using the PRT command. If the custom string is to
be sent from the same port that the PRT command is sent to, no reply is sent other
than the print output. Otherwise 0 CRLF is returned as per normal. This command
is not compatible with the CTS connection on Serial 2. Sending a PRT command
without the port number specified, is the same as pressing the <PRINT> key.
Example
Command Response Details
S01; Select Instrument 1
PRT0,”\230\013\010”; ^^^^429kg CRLF Send the current weight from serial
1 (using serial 1)
PRT1,”\230\013\010”; 0 CRLF Send the current weight from serial
2 (using serial 1)
PRT?1; ^^^^429kg CRLF Query the print log for serial 1
PRT?1; “” CRLF No more data
PRT?; 000005 CRLF Query the print ID