GithubHelp home page GithubHelp logo

Comments (8)

erikwahlstrom1 avatar erikwahlstrom1 commented on May 29, 2024

Installing libusb made some progress - got it to list the devices, but I get this when I try to add a printer:

lprint add -d lprintdymo -v usb://DYMO/LabelWriter%204XL?serial=18051100360084 -m dymo_lw-4xl

Unable to start lprint server: Bad file descriptor

Kind regards,
Erik

from lprint.

michaelrsweet avatar michaelrsweet commented on May 29, 2024

@erikwahlstrom1 Can you check whether lprint is running in the background? (ps ax | grep lprint will tell you)

Also, what files do you see in $TMPDIR? (ls -l $TMPDIR will tell you)

from lprint.

erikwahlstrom1 avatar erikwahlstrom1 commented on May 29, 2024

Thanks for the quick reply:

lprint is not running

tmp-output is:

https://pastebin.pl/view/dde07227

I'm unable to add a printer, and when I try printing a dummy file it says

lprint test.png
Unable to start lprint server: Bad file descriptor
lprint: No default printer available.

from lprint.

michaelrsweet avatar michaelrsweet commented on May 29, 2024

Hmm, it definitely isn't running the lprint server in the background...

Can you try running the server explicitly:

lprint server &

and then see if it works? It sounds like it isn't able to auto-start the service in the background...

from lprint.

michaelrsweet avatar michaelrsweet commented on May 29, 2024

Oh, and looking at the build log again maybe try:

CODESIGN_IDENTITY=- make clean all

to force ad-hoc signing?

from lprint.

michaelrsweet avatar michaelrsweet commented on May 29, 2024

@erikwahlstrom1 Were you able to try the things I mentioned in the above comments?

from lprint.

oby1 avatar oby1 commented on May 29, 2024

I'm getting the same behavior (code signing error and no devices) on OSX 10.13.6

CODESIGN_IDENTITY=- (or CODE_SIGN_IDENTITY=-) did not resolve the code signing error.

Unlike @erikwahlstrom1 I'm still not getting any output from lprint devices even after installing libusb and rebuilding and reinstalling lprint.

from lprint.

oby1 avatar oby1 commented on May 29, 2024

I was able to get things working. I didn't realize before that libusb is not enabled by default. ./configure --enable-libusb resulted in my USB-connected printer showing up in lprint devices.

I was able to sign manually after the code signing error using codesign -v -s - /usr/local/bin/lprint

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.