Giter VIP home page Giter VIP logo

Comments (4)

dreamcat4 avatar dreamcat4 commented on June 16, 2024

A small update:

Actually I was using a PNG image initially here because I didn't have any .zpl files to test with. And didn't know how to make a .zpl file (and I still don't know how to make them!).

However what I did find today in that other python module's source code was a folder of sample files including ZPL versions of some of the converted files. Which is to say that they are not very good test files but at least they are ZPL files. And with PNG equivalents. Here they are.

https://github.com/kylemacfarlane/zplgrf/tree/master/src/zplgrf/tests/input

I noticed that since trying to install this tool etc. And rebooting my printer. Then going back to lprint here and trying to print the ZPL instead of PNG that the feeding was working a little bit better. Still not 'correct' but at least this time when i press the paper feed mechanism now it correctly stops at the next tear off point. So that is great progress.

Then I tried printing one of those other PNG images. The result was that: the paper feeding sstill worked better now. Ok so it isn't PNG vs ZPL. So what about going back to my earlier test PNG from before? Does that feed better now? Why... yes it does!

So what else did I do here? Well I actually reinstalled the CUPS TSC printer driver. Which I had removed during my initial 'its not working right' tests with lprint here as per my comment #1 not feeding right etc.

So when I reinstalled the CUPS TSC driver I set properly again my paper size in there, the feeding type (continuus labels roll with gap) etc.

Now it still does not print the full 6 inches length: only the first 4 inches. Then it just plain old stops like midway. My naiive view (please dont assume this is true) is that maybe either this could be some bug, where the program does not finish printing the page. Or it could otherwise be that the thing thinks it's in landscape mode. Or that the media size is only 4x4 inches. I really have no idea which one of those things is true.

Anyhow this weird combination of CUPS + lprint is at least a small step forwards. The other thing I tried to do was install the other python module's cups filter by editing my CUPS ppd file from the TSC driver and adding the new filter line.

Unfortunately over in CUPS world it just keeps blinking and saying "processing". And does not print anything out. This I have seen before when I tried using the Zebra's CUPS drivers. It is stuck somehow. And there is nothing in the CUPS logs about it.

So that is where I am at right now... all a bit of a mess. And not sure much what is going on to be honest. So if you have any suggestions what I should be doing next then please let me know.

from lprint.

dreamcat4 avatar dreamcat4 commented on June 16, 2024

And am now back to the feeding being about 1.5 labels worth. It's almost as if it's detecting the previous partial printout as the demarkation, when I try to wind back the roll. And none of these observations seems like a helpful type feedback in terms of figuring out what's really going on here. And the red light is flashing again. Have to power cycle it again.

from lprint.

michaelrsweet avatar michaelrsweet commented on June 16, 2024

This should fix the job option issues:

[master 08703cc] Lookup supported device-specific attribute values from the driver attributes.

from lprint.

dreamcat4 avatar dreamcat4 commented on June 16, 2024

Thank you this has worked!

from lprint.

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.