Sending Print Commands Using the Command Line to the Star TSP143LAN Thermal Receipt Printer

I am trying to send print printers to a Star TSP100-enabled printer (TSP143LAN) via an Ethernet connection.

I have no problem opening a raw data connection to the printer using its LAN ip and port 9100, which is the port open for this purpose, but once it is connected, I can’t perform any actions, I suspect m using the commands incorrectly but I'm at a standstill about how I intend to use them.

I found the documentation at http://www.starmicronics.com/support/Mannualfolder/linemode_cm_en.pdf , which seems to be suitable for the correct model, but their references to commands are vague.

So far, I have tried to use a plain text command (for example, by typing "LF" and clicking on return to feed a separate line, for example) without any results.

I also tried using the obvious keys on the keyboard, in this example I used the "ESC" command by pressing the ESC key on the keyboard followed by the accompanying character from the documentation, also without any results.

Edit:

I also sent control characters in the form of hexadecimal values ​​and decimal values ​​without any different results.

+5
source share
3 answers

Some Star printers cannot be transmitted directly through the command line and must be used through their own software drivers.

, COM- , , , " ".

+2

TSP143 - FuturePRNT. FuturePRNT, .

, ethernet. , ESC/POS Epson LAN.

+2

STAR SP500 .

. , , , .

STAR SP500 , , STAR USB / / :

  sudo chown you:you /dev/usb/lp0
  echo -e "SOME SAMPLE TEXT\n\n" > /dev/usb/lp0
  echo -e "\x1b\x4d MORE SAMPLE TEXT" > /dev/usb/lp0

"escape-", /, . Linux liveUSB - ! f ***. , , escape- .

- , , - " " : http://www.starmicronics.com/support/mannualfolder/sp300pm.pdf

: cups lpr , , /dev/usb/lp0 , , , /dev/usb/lp0. , /dev/usb/lp0 reset, crontab udev lp Debian .

2. , "STAR Line", , , , , , STAR SP500 . 114 : http://www.starasia.com/%5CDownload%5CManual%5Csp500_um_en.pdf

, , , , , , , .

+2

All Articles