Jump to content
  • Sign Up

Why is my receipt printer printing gibberish?


obejohn
 Share

Recommended Posts

After turning my receipt printer on, it prints perfect receipts for the first order. It also lets me print multiple receipts for the first order and they are all fine. For the second and subsequent orders the receipts are gibberish. If I power cycle (off then on) the printer in it will once again print the first order perfectly, but reverts to printing garbage on all subsequent orders.

The printer is a generic thermal printer with usb, serial, ethernet and WiFi interfaces. I am currently using WiFi. The issue exists whether I use an Android tablet or my smartphone. Presumably, I need to send some sort of start up command sequence to the printer in order to intitialise it. 

Has anyone experienced this type of problem or can anyone offer a suggestion as to how I can rectify this issue?

Link to comment
Share on other sites

It turns out that it was because I had Loyverse set to print in graphic rather than text mode. I initially selected graphic mode as I wanted to print our logo on the receipts. Once Loyverse was set to pint in text mode, the receipts printed ok, but didn't have our logo at the top.

In order to get the logo to print at the top of our receipts, I used a utility program that came with the receipt printer to store our logo in the printers non-volatile memory (NVRAM). Once this was done, I entered the following ESC/POS commands in the Loyverse initial ESC/POS commands field: -

1B,61,01,1C,70,01,00,0A

Broken down, these commands do the following:-

1B,61,01 - center justifies the logo on the page

1C,70,01,00 - prints the logo

OA - gives a line feed after the logo so it isn't too close to the other receipt information.

Hope this helps

Link to comment
Share on other sites

  • 4 weeks later...

It seems to me my printer is 'losing its way' either because a buffer is being overloaded or because an ESC/POS command being sent in graphics mode is incompatable with the printer. My printer is a less expensive one that I purchased off eBay (see photo). One thing is for sure, when I run Loyverse in text mode and download the logo file to the printer using the utlity program that came with the printer, it works great! 😀

Thermalprinter.jpg.4318f7d477b7b0a25476e6292055b275.jpg

Link to comment
Share on other sites

  • 5 months later...

I have the same problem, I cannot switch to text mode because the app doesn't support Arabic language.

Can I have any tips for solving my problems?

The first receipt printing was most likely gibberish, the immediately second one comes correct, you can imagine how many papers we toss every day!

On 8/9/2019 at 7:53 AM, obejohn said:

It seems to me my printer is 'losing its way' either because a buffer is being overloaded or because an ESC/POS command being sent in graphics mode is incompatable with the printer.

 

Link to comment
Share on other sites

  • 4 months later...
On 8/9/2019 at 12:53 PM, obejohn said:

It seems to me my printer is 'losing its way' either because a buffer is being overloaded or because an ESC/POS command being sent in graphics mode is incompatable with the printer. My printer is a less expensive one that I purchased off eBay (see photo). One thing is for sure, when I run Loyverse in text mode and download the logo file to the printer using the utlity program that came with the printer, it works great! 😀

Thermalprinter.jpg.4318f7d477b7b0a25476e6292055b275.jpg

Is your printer by any chance an Xprinter? I have the same problem with you before you figured out a solution. I’m trying to scan the QR code from my android phone but it leads me to various advertisements :( i cannot find the app in Google Play :( i tried plugging in the values you indicated in your 2nd post, to no avail. The logo was moved a bit to the right, printed fine on the first run, got truncated before the bottom message appeared and didn’t automatically cut on the 2nd run, then printed a long garbled message on the 3rd run ☹️

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By Andrew de Freitas
      I know this has been asked a thousand times already... I have followed the instructions to change the printer to "other model" and use the Initial ESC/POS commands as 1C,70,01,00.
      That did not work.
      Saw that someone else recommended using the Hex code for the image in the Initial ESC/POS commands. But I am unable to find the Hex code in the Epson Utility.
      Has anyone gotten it to work with the T88V? or have any other solutions?
       
    • By Chia
      Hi,
      I have the issue when bill printing completed, I tear the bill and the tear line fall on last printer line. How to auto feed paper further after the bill printing completed?


    • By RedRider
      My Epson TM-M10
      It prints everything a bit too far to the left and leaves too much space on the right margin.
      I added the following ESC/POS command
      1B,61,01
      It kinda works because it centres all the text which is not really what I want.
      I prefer to move everything about 3-4mm to the right.
       
      Anyone know what ESC/POS command to use for that?
      My printer is set up as an other printer.
       
      PS. I have gone through every setting and adjusting the paper width but 48mm is the max setting I can use.
    • By Las-Cascadas-The-Fal
      Hello,
      For anyone having trouble with their bills print being cut off from the right, the following command will help: B6,6C,9A
      just write in the Initial ESC/POS commands area in advanced settings
      Also you can find more command info that might help other situations in: http://www.ekka.com.ua/files/doc/ma501_4421_00_rev14.pdf
      Hope it helps!

       
      NOTE: Just to clarify, i do not own the MP-4000 TH POS Printer mentioned in the manual, but most commands did work for my off-brand Bluetooth thermal printer, so it might also work for yours

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...