Tuesday, December 17, 2013

Review: Generic 5890 thermal receipt printer

If you ever shopped ebay or amazon for a cheap thermal receipt printer, you must have seen this one offered by an array of sellers.


Some of them come in slightly different enclosure, but from the specification and placement of buttons etc, you can tell it is the same machine.

My theory is that, this model 5890 (T-5890, 5890G, FT-5890, etc.) is manufactured by several different manufacturers in China.  They must be based on the same ODM scheme. Another thing in common is that they all comes in brown box and no marking of manufacturer's address or so.  (generic - no brand)

Hardware

As usual, I take it apart and see what's inside.
Very easy to disassemble.


In case you can't see the marking on IC, it is using:
- NUVOTON nuc501adnarm
This is the controller, ARM-M0

- A3906
I think this is the motor driver.

- Winbound 25016BVSIG
SpiFlash

* NUVOTON / Winbound is the same company.






To be fair, this solution isn't bad.  The choice of ARM-M0 and 16mbit ROM is capable of many things.  However, the problem is in the manufacturing part
  • For this particular unit I got, there are components look like scrapped off used electronics and soldering job isn't great.  
  • The power supply which comes with the printer feels flimsy.
  • Compatibility under windows. (I'll get to this below)


The printer head (JRP-2RA1) has manufacturer's sticker.  It's website states that this printer head is electronically compatible with Fujitsu FTP-628MCL101, which is a popular model used in many thermal receipt printers.

Software  -  Linux

Connecting it to a linux machine through USB, it shows up as /dev/usb/lp0.  Since it does not supply Linux driver with the machine, I can not use CUPS.  Just plain old serial connection.

[root@alarmpi ~]# lsusb
Bus 001 Device 005: ID 0416:5011 Winbond Electronics Corp. Virtual Com Port
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
cat test.txt > /dev/usb/lp0

#For this to work, I have to disable CUPS

The printer comes with ESC/POS manual on a CD. It appears to be compatible with Epson TM-T88, with some exceptions. However, as I tested the unit, some compatible ESC/POS command are only partially supported.
  • ESC ! n     This shorthand setting works, but does not take mixed setting well.  Stick with individual command for safe.
  • Underline does not show in some cases involving line wrapping.
  • Other small differences from EPSON ESC/POS.

Here is the sample print out:

Software - Windows 7  (it does not work)

I can not get it to work on win7.  The device shows up and driver installed without complaint, it just does not print anything.  Anything submitted to the printer shows as error.

I have tried the following:
  • change printer port USB - LPT - COM
  • re-install printer driver
  • unplug / plug in again
It shows on my device list. But does not print anything.

I have only windows 7 at home, therefore can not vouch for XP/Vista/8.  If any reader has success with this printer on windows machine, please share your method.


Overall

This is a cheap thermal receipt printer with partial ESC/POS support.  The general concern with these printers are the printer head is not durable.  If working continuously, overheating might reduce printer head's useful life quickly.

What it does:
  • Print out English/European/Chinese characters, symbols.
  • Basic formatting such as double height, double width, underline.
  • Easy to work on Linux.

What it doesn't do:
  • Work under Windows 7.
  • Drop-in replace your Epson TM-T20.

200 comments:

  1. Hello,

    Thank you for posting this. One of these has also come into my hand, but trying to play with it i am experiencing big problems. When I want to print something using python-escpos it says "inapropriate ioctl for this device" and then terminates. Doing something like "echo hello > /dev/usb/lp0" prints a small "hello", so it's not completly broken. How have you come to the test printing? Can you give me some code or something?

    Thank you very much,

    Merlin

    ReplyDelete
    Replies
    1. I don't recommend using python ESC/POS library with non-epson printers. Because that library is tricky to setup and it is based on standard epson ESC command, where most Chinese printers are not 100% compatible.

      Instead, I write raw ESC command in python. For example:
      printer = open('/dev/usb/lp0','w')
      string = "\x1b\x21\x10 ESC ! 16 2xheight\n"
      printer.write(string)

      Delete
    2. Just is missing end line (without this doesn't print):

      printer.close()

      Delete
  2. Hi, Thanks for this article, i have the same printer and i want to open up the cash drawer.

    Can you send me the command? Thank you!!!

    ReplyDelete
    Replies
    1. [Name] Generate pulse for drawer
      [Format] ASCII ESC p m t1 t2
      Hex 1B 70 m t1 t2
      Decimal 27 112 m t1 t2
      [Range] m=0,1,48,49; 0≤t1≤255; 0≤t2≤255
      [Description] This command is to generate pulse for controlling the cash drawer.
      • The pulse ON time is [t1 x 2 ms] and the OFF time is [t2 x 2 ms].
      • If t2 < t1, the OFF time is [t1x 2 ms].

      Delete
    2. This is taken from my POS58 printer's manual, no guarantee that it will work for anyone. I never tested because I don't have a cash drawer.

      Delete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. hay,
    I've lost drivers CD of FT-5890 printer,Then I'm looking drivers for printer. If anyone can please give me drivers link or drivers for printer,This is very urgent...

    ReplyDelete
  6. hi Reed,
    I'm wondering how would you write a generic python code for this printer. Usually I do this :
    import usb.core,usb.util
    a = usb.core.find(idVendor=0x0416,idProduct=0x5011)
    cfg=a.get_active_configuration()
    ep = usb.util.find_descriptor(cfg[(0,0)],custom_match=lambda e:usb.util.endpoint_direction(e.bEndpointAddress) ==usb.util.ENDPOINT_OUT)
    ep.write("test")

    in this particular case, I get an error
    usb.core.USBError: [Errno 19] No such device (it may have been disconnected)

    How would you write this to work out-of-the-box. Extra cookies, if it is compatible with python on windows as well ;)

    thanks!

    ReplyDelete
    Replies
    1. Your USB config(idVendor=0x0416,idProduct=0x5011) is wrong. Use "lsusb" to find out the correct device.

      Delete
  7. I know this is an old post but I was hoping you could help me in installing this printer under linux. I know you mentioned it doesnt work with CUPS but is there a certain driver you installed to get this printer up and running? I am not sure the steps to take!

    Thanks!

    ReplyDelete
    Replies
    1. It works with CUPS. I have a POS-5890G and with the correct driver works fine under ubuntu 14.04 - 14.10 and 15.04.

      Grab it here

      milantrend.com/POS58linux.zip

      if you haven't resolved yet. But if you need a fully ESC/POS compatible printer this is not for you.

      Delete
    2. This comment has been removed by the author.

      Delete
  8. Hi guys!
    I have a similar printer i bought from China just the other day, but the problem i am facing is that i cant get it to work with linux at all. The model i have is XP-350B witch is a USB model, when i plug it in it shows up on /dev/usb/lp0 but when i try to send any data it dose not do anything. The printer is made by a company named Xprinter.net and the drivers they say you should use are from a company named Seagull that makes the BarTender software. On windows it works without problems.
    On linux after i execute a .sh file i get a .ppd file in cusp and a filter named "rastertoxp" every time i try a testpage it gives some type of error on this file. I tried to reverse engineer what the filter dose but its written in C and all the disassemblers i have tried have failed.
    I want to use the printer to print sticky labels from a PHP app, that i am currently developing.
    If anyone can help please contact me!

    ReplyDelete
    Replies
    1. You can use TSC Printer Driver for Linux.
      Please see https://gempur.wordpress.com/2015/06/18/xprinter-xp360b-di-linux/

      Delete
  9. Hi Reed, does this printer support barcodes

    ReplyDelete
  10. Thank you for the info, I would like to connect one of these printer with Raspberry PI, But I am getting Cups Filter Failed Error, Any clue how to fix the issue?

    ReplyDelete
  11. how to install this in ubuntu14? completely noob here

    ReplyDelete
  12. can give some gambas code to print TXT without CUPS? thanks..

    ReplyDelete
  13. heloo it works fine with my windows 7 all i did was install drivers from cd and it prints i use quickbooks pos 2009 but can you guys tell me which cash drawer is compatible with this printer - kimforbesforbestech@gmail.com

    ReplyDelete
    Replies
    1. the cash drawer appears to be generic no info on it except its 24v and this printer push 12v is that the issue

      Delete
    2. the cash drawer appears to be generic no info on it except its 24v and this printer push 12v is that the issue

      Delete
  14. heloo it works fine with my windows 7 all i did was install drivers from cd and it prints i use quickbooks pos 2009 but can you guys tell me which cash drawer is compatible with this printer - kimforbesforbestech@gmail.com

    ReplyDelete
  15. heloo it works fine with my windows 7 all i did was install drivers from cd and it prints i use quickbooks pos 2009 but can you guys tell me which cash drawer is compatible with this printer - kimforbesforbestech@gmail.com

    ReplyDelete
  16. I installed it in windows 8 and it appears as a generic bulk device on printers and other divices, has anyone made it work yet in windows. I did install the drivers from the cd but no luck.
    I need to make this work, any ideas? please help?

    ReplyDelete


  17. Excellent post and wonderful blog, I really like this type of interesting articles keep it u


    123hpremoteassistance Officejet 7510 Printer Setup

    ReplyDelete
  18. It is a quite nice site with really good article. I have really enjoyed reading your blog posts. Any way I hope you post again soon.
    buy all in one printers 2017

    ReplyDelete
  19. Nice Article Share....Keep Sharing !! Call Us Now : +1-844-407-6777

    ReplyDelete
  20. Really a Good article.......Here is our website to sell you old mobile

    ReplyDelete
  21. Good nice article for Generic 5890 thermal receipt printer. Thanks for sharing this information 123.hp.com/setup

    ReplyDelete
  22. Revered articles 123.hp.com/setup Thanks for sharing useful information.

    ReplyDelete
  23. Gdax is one of the trusted and acknowledged digital wallet used for storage to keep it safe from getting stolen. Are you unsure which wallet Gdax uses? In order to clear your doubts, you can get in touch with the professionals by dialing Gdax Support Number 800-665-6722 which is available all the time. You can always look for the aid from the reliable team of experts who deliver all their energy in satisfying users and fixing their queries in microseconds.

    ReplyDelete
  24. First-class Structure 123.hp.com , First-rate Study 123.hp.com , Flattering Stuff 123.hp.com , Forceful Substance 123.hp.com , Forcible Summary 123.hp.com

    ReplyDelete
  25. Cheerful Training 123.hp.com , Cheering Unit 123.hp.com , Cheery Vignette 123.hp.com , Cherished Accepted 123.hp.com , Chic Acknowledgement 123.hp.com

    ReplyDelete
  26. Disciplined Judgement 123.hp.com , Distinct Key 123.hp.com , Diverting Knowledge 123.hp.com , Doable Leading 123.hp.com

    ReplyDelete
  27. A1 Advice 123.hp.com , Absolute Agenda 123.hp.com , Absolutely Aim 123.hp.com , Acceptable Anecode 123.hp.com , Accepted Apex 123.hp.com , Accepting Appreciable 123.hp.com

    ReplyDelete
  28. Report Bugs Topic tells about the bug reports of this blogs....


    123.hp.com smart app

    ReplyDelete
  29. Sarkariexamresults is a full package for those searchers, who willing to get all updated information about latest recruitments, upcoming exam datasheet, examination admit card, latest educational articles, Sarkari Result, Sarkari Results, Sarkari Exam, Sarkari Exam Results, Sarkari Exam Result, Govt Jobs, Govt Exam, Govt Exam Results, Sarkari Jobs, Govt Vacancy, Sarkari Vacancy, Sarkari Naukri, Govt Naukri, Latest Sarkari Job, Latest Govt Job etc along with preparation tips, current affairs and a lot more.

    Sarkari Result ,
    Sarkari Results,
    Sarkari Exam ,
    Sarkari Exam Results ,
    Sarkari Exam Result ,
    Govt Jobs ,
    Govt Exam ,
    Govt Exam Results ,
    Sarkari Jobs ,
    Govt Vacancy ,
    Sarkari Vacancy ,
    Sarkari Naukri ,
    Govt Naukri ,
    Latest Sarkari Job ,
    Latest Govt Job

    ReplyDelete
  30. Get instant help for install/Download Drivers & softwares from http://123helpline.com/hp-printer-setup/ Printer Setup page 123helpline.com website to setup HP

    Printer.

    HP Printer Support , |
    HP Printer Customer support , |
    HP Printer tech support Number , |

    ReplyDelete
  31. Unable to download, install, or uninstall HP printer driver? Get connected with the technicians at HP printer driver support by simply dialing the toll-free number.

    ReplyDelete
  32. great article!!!!!This is very importent information for us.I like all content and information.I have read it.You know more about this please visit again.


    123.hp.com/setup envy 5540

    ReplyDelete
  33. Are you fed up of resolving the Bitcoin transaction issues in Binance? Failure of Bitcoin transactions may lead to the loss of your funds. Binance Support NUmber So, to remove the transaction errors completely and also, to know the accurate procedure to do Bitcoin transaction, you can call on Binance support number +1877-330-7540 and get the proper remedies and solutions from the bunch of professionals who are always there to assist you irrespective of time.

    ReplyDelete
  34. Are you facing error while creating the Blockchain account? If you don’t know how to create Blockchain account and experiencing trouble, feel free to dial Blockchain Support Number which is always there to guide you. You can talk to the team anytime and avail solution that are easy to implement. Connect with the team and put forward your queries so that you don’t experience any issue while working or trading on the Blockchain platform. The team is always there to handle your queries in the best possible way. Blockchain Support Number

    ReplyDelete
  35. Are you facing error while creating the Blockchain account? If you don’t know how to create Blockchain account and experiencing trouble, feel free to dial Blockchain Support Number which is always there to guide you. You can talk to the team anytime and avail solution that are easy to implement. Connect with the team and put forward your queries so that you don’t experience any issue while working or trading on the Blockchain platform. The team is always there to handle your queries in the best possible way. Blockchain Support Number

    ReplyDelete
  36. Is your Binance account got temporarily out of service? Are you trying all your efforts to fix this issue but failing always? It’s the high time when instead of worrying about the error, you should directly speak to the team of skilled professionals who is always there to listen to your queries. All you have to do is to call on Binance Support Number which is all the time active and users can contact with the team anytime to get desired solutions. You are always welcomed by the team anytime as they love to provide guidance to users related to its issues. Binance Support Number

    ReplyDelete
  37. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. Random video chat

    ReplyDelete
  38. Facing difficulty in buying bitcoin? What are you waiting for? Dial Bitcoin Support Number USA +1-833-313-7111 and get ultimate and phenomenal Bitcoin Support right away. The experts are always there at your service. They provide 24*7 unstoppable and smooth services. Bitcoin Support Number| bitcoin support number USA. Visit: https://cryptocallsupport.com/bitcoin-support-phone-number/

    ReplyDelete
  39. Informative article. Thanks for sharing such an valuable article. Also visit my website for Printer Helpdesk Phone Number. Printer Helpdesk Phone Number

    ReplyDelete
  40. Thanks for sharing, its great content, Here some information Regarding Printer Want to setup HP Envy 5055 wireless? Is an effortless process that won’t take much of your time Hardware Setup: Firstly, remove the printer from its box, then place it on a clean surface.Visit www.123.hp.com For more Details.

    ReplyDelete
  41. Informative article. Thanks for sharing such an valuable article. Also visit my website for 3D Printer Support Phone Number. 3D Printer Support Phone Number

    ReplyDelete
    Replies
    1. Roku(roku.com/link ) devices , as we all are aware of, are one of the most popular streaming devices out there. Below, we will talk about why Roku (roku.com/link create account ) is as popular as it it, how different is it from the other streaming devices, and how to set up the device. To set up a Roku (roku com link ) device, there are three different steps. We will also take you through them, one after the other.

      Delete
  42. Nice blog, i read it and implement with my device and it's work. If any one looking for HP printer setup please call 1-844-482-5373.

    ReplyDelete
  43. Informative article. Thanks for sharing such an valuable article. Also visit my website for Print Helpline Number. Print Helpline Number

    ReplyDelete
  44. Informative article. Thanks for sharing such an valuable article. Also visit my website for Live Remote PC Support. Live Remote PC Support

    ReplyDelete
  45. Get the best Roku customer support by calling us @ +1-844-839-1180 toll-free number. We are experts in Roku.com/link activation, troubleshooting Roku and also in channel activation on Roku.

    ReplyDelete
  46. A Tech Gadget lover…! Wanderlust of Nature by heart and a tech-savvy by habit... I have written and reviewed blogs on many products. As a keen neophyte, I love to discover new Products and their plus points… Get in touch… Or drop in your queries.
    My blogs:
    Roku.com/link
    Roku.com/link create account
    Roku.com/link account
    Roku.com/link activate
    Roku.com/link activation
    Roku.com/link setup
    Roku com link
    www.Roku.com/link

    ReplyDelete
  47. Roku(roku.com/link ) devices , as we all are aware of, are one of the most popular streaming devices out there. Below, we will talk about why Roku (roku.com/link create account ) is as popular as it it, how different is it from the other streaming devices, and how to set up the device. To set up a Roku (roku com link ) device, there are three different steps. We will also take you through them, one after the other.

    ReplyDelete
  48. Great Content here some tips regarding HP Printer, Want to Troubleshoot HP ENVY 5055,It is very simple Uninstall the existing driver and update the matching version. It’s important to cross-check and ensure that the drivers are compatible to use with your model After that, all you have to do is navigate to 123.hp.com/setup 5055 and download the Drivers.

    ReplyDelete
  49. Informative article. Thanks for sharing such an valuable article. Also visit my website for Norton Antivirus Customer Service Number UK
    norton antivirus customer care
    anti customer care number
    anti customer care phone number
    norton customer service phone number
    norton setup activation key

    ReplyDelete
  50. Informative article. Thanks for sharing such an valuable article. Also visit my website for Avast Technical Support Phone Number USA. Avast Technical Support Phone Number USA

    ReplyDelete
  51. If you arefacing HP printer issue related to HP printer setup, HP installation or HP printer is not connect to other device, please visit here www.hp.com/support.

    ReplyDelete

  52. Roku Activation is made easy! Create a Roku account using your email and provide the payment details, and get an all-access pass to the exciting features and all the free channels that come with your Roku device! After Roku account creation, navigate to roku.com/link and entering the Roku link code acquired and start streaming.

    ReplyDelete
  53. Want to watch high quality entertainment in your home? The world's best brand Apple TV is a perfect option for you. High definition visuals with a great sound technology, Apple TV shows its brand value. Multiple features and excellent user friendly options make Apple TV the best among streaming devices. how to setup apple tv is quite easy when you follow these simple steps as given in our website. Time to enjoy streaming your favorite content in high definition in your home.

    ReplyDelete
  54. If you wish to complete the activation process in the Roku device that you use, then the best place to visit Roku.com/link. The Roku technical support team based here always lend a helping hand. For the entertainment you have vouched, you must choose the best Roku device. For viewers who wish to have a more enthralling experience, they must try Roku for sure

    ReplyDelete
  55. This is very much great and hope fully nice blog. Every body can easily found her need able information. I am visit first time but I fond many use full article. I will back again when get time.

    McAfee.com/Activate

    My.avast.com

    Garmin.com/express

    Webroot Login

    McAfee Login

    ReplyDelete
  56. Replies
    1. It is always useful roku.com/link to know about everyday life on roku private channels hacks to simplify all our daily tasks on roku ultra. Likewise, even though, you are a yearlong Roku user on Roku premiere plus, still, you may not aware of some simple ideas, which can enhance your daily streaming entertainment. We have garnered some easy tips and tricks that can add more value to your Roku streaming stick plus | pbs.org/activate | roku Streaming stick

      Delete
  57. Catch Runaways, The First, Harlots, Casual and much more interesting shows on Hulu. Not just shows, watch hit movies across all genres by activating Hulu on your device. Get the app and follow the www.hulu.com/activate procedures. Within few minutes, you are ready to stream hundreds of shows and movies.

    Visit:
    www.hulu.com/activate
    hulu.com/activate
    Hulu activate
    www.hulu.com/account
    www.hulu.com/activate activation code
    www.hulu.com/activate code
    Hulu activation

    ReplyDelete
  58. I am a technical writer based at Tampa, USA and I have been writing blogs on many technical products that have impressed me so far. When it comes to streaming, I have explored a lot of devices. But I have never come across a product like Roku. It is fabulous and more dynamic in design. The shape resembles a Pendrive yet it could bring you loads of Entertainment. The features of the Roku player are pretty decent and especially the enhanced voice search is what impressed me the most. The search provides me almost every movie that I like
    My blogs:

    Roku.com/link
    Roku.com/link create account
    Roku.com/link activate account
    Roku.com/link account
    Roku.com/link activate
    Roku.com/link activation
    Roku.com/link enter code
    Roku.com/link setup
    Roku.com/link code
    activate Roku.com/link
    www.Roku.com/link
    Roku com link
    Roku com link create account
    Roku com link activate account
    Roku com link code
    Roku com link enter code
    Roku com link activate code
    Roku com link account
    Roku com link activate
    Roku com link activation
    Roku com link setup
    activate Roku com link
    activate Roku com link code

    ReplyDelete
  59. Thanks for sharing such important information which is very useful .I really appreciate your way of work. 123.hp.com/setup | HP Printer Assistant Software | 123.hp.com/Laserjet | 123.hp.com/envy5540 | 123.hp.com/oj4650

    ReplyDelete
  60. Thanks for sharing such important information which is very useful .I really appreciate your way of work. 123.hp.com/setup | HP Printer Assistant Software | 123.hp.com/Laserjet | 123.hp.com/envy5540 | 123.hp.com/oj4650

    ReplyDelete
  61. Informative article. Thanks for sharing such an valuable article. Also visit my website for Relife Service Center - 24*7 All Brand Repair Service Center Delhi Ncr. Relife Service Center - 24*7 All Brand Repair Service Center Delhi Ncr

    ReplyDelete
  62. Looking to activate your Roku device effortlessly without any hassles? Create a Roku account and get an all-access pass to the exciting features and all the free channels that come with your Roku device! After activating your device by navigating to roku.com/link and entering the Roku activation code acquired. You are prompted to sign in with your Roku credentials.

    ReplyDelete
  63. Skype Support is here to help you with all of your The new Skype for Android and Video calls, Group calls, Skype to Skype, Skype to Phone, Skype Number

    skype Support
    skype Support Number
    skype Technical Customer Support

    ReplyDelete
  64. amazing post !! you may also check this site -- 123.hp.com setup

    ReplyDelete
  65. As we all know, Roku ( Roku.com/link ) is a popular online live streaming platform ( go roku.com/hdcp ) used by millions of consumers across the globe. The end user must follow these simple steps to activate the Roku device ( go.roku.com hdcp ) successfull . like ( hdcp roku ) | (hdcp error roku) | (Roku.com/link code ) | (roku.com/link activation code )

    ReplyDelete
  66. Do not miss your favorite sports Programs on NBC sports channel? If you are new and do not know how to activate the channel. We are here to guide you to complete the channel activation
    • To start with, select the streaming device
    • Connect the device to the Network
    • The very next step is to add the channel
    • Go to the channel store category, sports
    • Now start your search
    • As you wait, the channel search results will appear on the screen
    • Select and Add the channel
    • If you are unable to find the added channel, it’s good to perform the system update
    • Now go to the channel activation page nbc.com/activate
    • Then enter the appropriate activation code
    Speak to our techies for nbc.com/activate assistance
    nbc.com/activate/roku
    www nbc.com/activate
    nbc sports
    nbc.com
    nbc live stream
    nbc tv schedule
    nbc streaming
    nbc tv shows
    nbc.com/activate
    nbc sports app
    nbc tv
    nbc sports activate
    nbc sports live extra
    nbc tonight
    nbc schedule tonight
    nbc channel
    nbcsports activate
    nbc on demand
    what's on nbc tonight
    nbc stream

    ReplyDelete