0% found this document useful (0 votes)
31 views2 pages

Ethernet Port Printer Status Monitoring Instructions

The document provides instructions for sending a hex code to monitor the status of an Ethernet printer via TCP port 4000. It details the four bytes returned by the printer which indicate status information such as paper level, errors, motor operation, and cover opening.

Uploaded by

JeffersonTolotti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views2 pages

Ethernet Port Printer Status Monitoring Instructions

The document provides instructions for sending a hex code to monitor the status of an Ethernet printer via TCP port 4000. It details the four bytes returned by the printer which indicate status information such as paper level, errors, motor operation, and cover opening.

Uploaded by

JeffersonTolotti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Ethernet port printer status monitoring instructions

Note: to send a hex - band 1B 76 instruction to the printer, please use the
TCP protocol 4000 port (print data port 9100).

ESC v

[Name] Ethernet printer status detection

[Format] ASCII ESC v

Hex 1B 76

Decimal 27 118

[Description] After receiving the instruction, the printer will reply the 4 bytes of

printer status information, the relevant meaning of the four byte is

described as follows:

The first byte info:

Bit ON/OFF Hex Decimal Printer status

0,1 OFF 00 0 Reserve,fixed to 0

2 OFF 00 0 Cash drawer interface is in low level voltage

ON 04 04 Cash drawer interface is in high level voltage

3 OFF 00 0 Printer is online

ON 08 8 Printer isn’t online

4 ON 10 16 Reserve,fixed to 1

5 OFF 00 0 Printer up cover is closed

ON 20 32 Printer up cover is opened

6 OFF 00 0 Motor not work

ON 40 64 Motor is working

7 OFF 00 0 Reserve,fixed to 0
The second byte info:

Bit ON/OFF Hex Decimal Printer status

0-2 - - - Not defined

3 OFF 00 0 Cutter normal

ON 04 04 Cutter error

4 OFF 00 00 Reserve,fixed to 0

5 OFF 00 0 No unrecoverable error occur

ON 20 32 Unrecoverable error occur

6 OFF 00 0 No auto recoverable error occur

ON 40 64 Auto recoverable error occur

7 OFF 00 0 Reserve,fixed to 0

The third byte info:


Bit ON/OFF Hex Decimal Printer status

0,1 OFF 00 0 Not deteced Paper is going to over

ON 03 3 Printer paper is going to over

2,3 OFF 00 0 Printer has paper

ON 0C 12 printer has no paper

4 OFF 00 00 Reserve,fixed to 0

5,6 - - - Not defined

7 OFF 00 0 Reserve,fixed to 0

The fourth byte info::

Bit ON/OFF Hex Decimal Printer status

0-3 - - - Not defined

4 OFF 00 00 Reserve,fixed to 0

5,6 - - - Not defined

7 OFF 00 0 Reserve,fixed to 0

[Note] The command is valid only for the Ethernet port.

[Reference] ESC EOT n

You might also like