Code Monkey home page Code Monkey logo

Comments (14)

Wydna avatar Wydna commented on August 22, 2024

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

Good questions.

Are the garbled characters always the same? No, similar characters, but the sequence is unique each time. Here is a few more samples.
img_7513
img_7514

What should be printed in this place on the printout? In some cases, it seems to be just a mis print between the printouts as the next print out occurs. In other cases, it should be the receipt for the customer. Here is a sample of a correct print out.
img_7515

from epsonsimplecups.

Wydna avatar Wydna commented on August 22, 2024

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

Yeah we are exploring that possibility. Our setup works using two Plugins.

  1. Point of Sale Plugin built with REACT
  2. Google Cloud Print Plugin managing the print jobs being sent

We also want to isolate if it's related to the Google Cloud Print management of the printer and the actual driver which I was hopeful to identify if someone has encountered anything similar here.

For this recommendation "Any way you can print something similar directly from the Raspberry Pi?" Are you thinking bypass Google Cloud Print and print locally to test? Sorry can you clarify.

from epsonsimplecups.

Wydna avatar Wydna commented on August 22, 2024

from epsonsimplecups.

jan-muller avatar jan-muller commented on August 22, 2024

Hi,

We have the same setup (woocommerce/google cloud print / Pi 3 with CUPS / Epson TM-20II) and having the same problem, did you find any solution already? Would like to hear it :)

Jan

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

Hey Jan.

No. We are still trying to identify the failure point in the system, since its going across 4 platforms it's been difficult to isolate. The configuration is a powerful setup as a system, but we are seeing it fail at a 20% plus rate. Way too high.

If we can't resolve the issue, we may need to abandon the configuration, so if you identify any solutions or potential areas to investigate we'd love to hear the details. Same for anyone else that stumbles upon the issue. If we collaborate, hopefully we can resolve the issue and enable others to adopt it.

If we discover the issue and or solution, I'll definitely circle back with an update.

Cory

from epsonsimplecups.

jan-muller avatar jan-muller commented on August 22, 2024

Hi Cory,

We also have a fail rate about 20%.

We are now investigating the power source. We have our printer in a restaurant kitchen with a lot of large power consumers.

This source: (https://www.justanswer.com/printers/6n3s3-epson-tm-t85-prints-fix.html) tells there could be a problem with the power supply, so we will change that just to be sure.

Our second solution we would like to try is to place a UPS to stabilize the power source. It could be if a large power consumer is powered on (like a oven or stove) there is a small "bump" in de power source. Just to be sure we want to test it.

I will keep you updated.

Jan

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

Hey Jan,

Thanks for the follow-up. Good news, we are seeing similar failure results.

The power source is an interesting potential root cause. As we had several clients in a similar setup as you describe with large power consumption and heat playing a factor. As a result, we created a "mini" lab isolated as a control to remove any environmental issues. Even in the lab, running a print on a single power source, the fail rate continues. Plus, we have the setup in multiple business locations and the failure persist. As a result, I am doubtful it's a power source issue.

At this point, we might explore the driver more and or potentially another printer line outside of Epson. See if we can isolate it outside the WooCommerce, Cloud Print and CUPS configuration. If we have another printer such as Star and Failures continue, then we can rule out the Epson printer and driver.

Collectively I am hopeful we can find a solution, it's a powerful configuration which is extremely scalable, I'd hate to have to abandon it.

from epsonsimplecups.

gajdusek avatar gajdusek commented on August 22, 2024

Hi,

I am printing locally on several RPIs with raspbian. (Using forked epsonsimplecups, but I think I haven't done any related code change).

For me this issue disappeared after black-listing kernel module usblp. Since then, I didn't observed any problem in last 3 months.

Kernel module usblp (USB Printer Device Class driver) is loaded by default but is not needed by CUPS. Each time a job is to be printed, device file /dev/usb/lp0 (provided by kernel module usblp) is removed to avoid interfering with ongoing print job, and re-enabled after the job is finished. However, this seems to be not enough to prevent interfering. So I just black-listed the usblp module:

# /etc/modprobe.d/local-printer-blacklist.conf

# Blacklist usblp to attempt of fixing printing issues
blacklist usblp

I also disabled built-in Rasperry Pi sound card (module snd-bcm2835) at the same time to eliminate possible interventions, but probably this is not needed.

  • Remove volume applet from lxde-pi
  • then blacklist sound card kernel module
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

# Disable sound (after removing volume applet from lxde-pi) as it is not needed;
# an attempt to avoid anything which may interfere with printer
#snd-bcm2835

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

Thanks Petr for the information and overview. I really appreciate you sharing the details here. I plan on attempting your solution of black-listing kernel module usblp this week.

I'll post a follow-up if it was successful under my setup too. I'm hopeful it will be. This would be huge if so for my project.

from epsonsimplecups.

corycpf avatar corycpf commented on August 22, 2024

@gajdusek Petr, great news! I've done a series of tests this week, looks like your solution solved the problem. I really appreciate the follow-up and insight on a solution, this has cleared the way for us to release an update.

I'd love to donate a coffee for your time and effort as a Thank You! Drop me your paypal information on my email.

At this point, I am going to close out this issue. For others on the issue, let us know if it solves it for you too. If I encounter the issue in the coming weeks, I'll reopen the issue.

from epsonsimplecups.

shudis avatar shudis commented on August 22, 2024

@gajdusek - It also corrected our problem with a Custom America receipt printer that we were struggling with for 2 days. Thanks!!

from epsonsimplecups.

MarcSallent avatar MarcSallent commented on August 22, 2024

Hi! I was having this issue too and it helped me solve it. Thanks!

@plinth666 : As I see that many people is having the same issue, I suggest giving this issue more visibility or adding it to the README file

from epsonsimplecups.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.