This website is using cookie. By continuing to browse you are accepting our Privacy Policy.

Find out more Accept

FAQ (Frequently Asked Questions) : Command Reference

Command Printing

Our answers to frequently asked questions about command printing so far are shown below. Before you email us your questions, please check the following.

Q

When sending a command via a network (wired/wireless LAN), what network protocols are available?

A

Any one of the following protocols is available.

  • TCP/IP (Port 9100)
  • LPR
  • FTP
Q

How do I get the status via a network?

A

Please send the following OID to the printer by using the SNMP protocol.
1.3.6.1.4.1.2435.3.3.9.1.6.1.0
This enables you to retrieve MIB information of the status from a printer.
This retrieved information is the same as the return value of the status request information in the ESC/P command reference. For details, please refer to the ESC/P command reference.

Target Models : RJ-4040
RJ-3050/3150/3050Ai/3150Ai
RJ-2050/2140/2150
TD-2120N/2130N
PJ-773
PT-P900W/P950NW
QL-810W/820NWB
QL-1110NWB

Q

How do I get the printer information via a network?

A

Please send the following OID to the printer by using the SNMP protocol.

OIDPrinter InformationExample (RJ-4040)
1.3.6.1.4.1.1240.2.3.4.5.2.3.0IP address010.226.150.051
1.3.6.1.4.1.1240.2.3.4.5.2.4.0Subnet Mask255.255.000.000
1.3.6.1.4.1.1240.2.3.4.5.2.12.0MAC addressXXXXXXXXXXXX
1.3.6.1.2.1.1.6.0Printer name(Printer location)""
1.3.6.1.2.1.25.3.2.1.3.1ModelBrother RJ-4040
1.3.6.1.2.1.43.5.1.1.17Serial numberXXXXXXXXX

Target Models : RJ-4040
RJ-3050/3150/3050Ai/3150Ai
RJ-2050/2140/2150
TD-2120N/2130N
PJ-773
PT-P900W/P950NW
QL-810W/820NWB
QL-1110NWB

Q

We would like to know the wiring layout for a serial cable to send a command with serial interface.

A

For the wiring layout for a serial cable at the printer main body side, please refer to the Instruction Manual of the printer.

Q

When sending an ESC/P command from the host, does the printer respond to the command?

A

No response returns. You have to send a status check command every time.

Q

When sending an ESC/P command from the host, does the printer return an error response?

A

No error response returns. You have to send a status check command every time.

Q

How do I detect whether the printer is connected via USB or whether the printer is turned on with a program?

A

When the PC and the printer is connected via USB and your program is based on the Windows printer driver, you can determine whether the powered printer is connected before sending a print command by checking the online status of the printer with the OS functions.
If the printer is determined as offline, it cannot be determined whether the printer is disconnected or it is connected and turned off.

Q

How do I detect whether the printer is out of paper with a program?

A

When paper shortage condition occurs after you turn on the printer and print once, if recovery printing is disabled, you can check whether the printer is out of paper with a command.
To check this, while an out-of-paper error occurs, send a printer status request and check the "End of media" error flag of the error information 1.
For details, refer to the "ESC i S printer status request" of the Printer Status Request Command Reference Manual.
For the recovery print setting, refer to the Command Reference Manual.
For the printers with no paper detection function, it cannot be detected whether paper shortage condition occurs before printing immediately after power-on due to their specifications.

For Developers

  • Choose from Purposes

    Label printing, printer setup and management information.

  • b-PAC

    Information on application development tools for Windows

  • Mobile SDK

    Information on application development tools for mobile terminals

  • Command Reference

    Information on control command reference for label printers and mobile printers

  • Choose from Models

    Introduction of Brother tools applicable to your model

  • Video Library

    Videos showing how to use SDK and other information

  • Contact Us

    Fill out the contact us form if you have questions about Brother developer tool.

Share This Page