Git Product home page Git Product logo

Comments (12)

watson avatar watson commented on September 14, 2024

@TravelingTechGuy Yeah, Windows will most likely not be able to detect it automatically unless there is some way to add Bonjour/Zeroconf to Windows that I don't know about. So you need to add it as a network printer manually as you also tried.

I'm not entirely sure why you still couldn't get it to work, but I haven't tested IPv6 support that thoroughly yet, so it might be related to that. I have tested it using IPv4 on Windows 10 and that worked. I used this guide:
http://www.zedt.eu/tech/windows/installing-an-ipp-printer-in-windows-10/

Can you tell me if you did the same thing or if you did something different?

from ipp-printer.

watson avatar watson commented on September 14, 2024

@TravelingTechGuy I didn't take any screenshots when I did it on Win10, but you can check my steps on XP here

from ipp-printer.

TravelingTechGuy avatar TravelingTechGuy commented on September 14, 2024

@watson tried following the Windows 10 instructions to the letter.

  • I ran the global module in the folder C:\Users\myuser\Code\printer\.
  • I picked a random printer name for the driver.
  • I'm getting an error when trying to print the test page
$ ipp-printer
ipp-printer listening on: http://[2001:0:5ef5:79fd:20a1:1fa3:bc6b:c2d7]:3000
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open 'C:\Users\myuser\Code\printer\ipp-printer_2015-12-28T23:32:52.202Z.ps'
    at Error (native)

from ipp-printer.

watson avatar watson commented on September 14, 2024

@TravelingTechGuy Seems like it doesn't have permissions to create files in the current directory. Can it be a permission issue?

It's trying to create a file on this line:

job.pipe(fs.createWriteStream(filename)).on('finish', function () {

from ipp-printer.

TravelingTechGuy avatar TravelingTechGuy commented on September 14, 2024

Hmm, I wonder why. My user is the admin. And the folder is under my user's profile anyway.
Perhaps it's printing under a different user (like a print spooler). At any rate, I'd like to use the non-global version. I hope that won't happen under that condition.

from ipp-printer.

watson avatar watson commented on September 14, 2024

@TravelingTechGuy Turned out to be the colons in the filename that Windows didn't like. I've updated the CLI to add the epoch to the filename instead of the ISO timestamp. It's released in v0.10.7 on npm.

Thanks for reporting this 😃

from ipp-printer.

TravelingTechGuy avatar TravelingTechGuy commented on September 14, 2024

@watson great! Glad it was a real issue eventually :)

Thanks for the hard work!

from ipp-printer.

matthiasg avatar matthiasg commented on September 14, 2024

it did work here too on windows 10. but windows prompted me to specify a driver first ? is this expected ? which driver should i select ? i selected the microsoft print to pdf (microsoft PS printer works too) but still i would like not to have to choose this.

from ipp-printer.

matthiasg avatar matthiasg commented on September 14, 2024

installing the Apple Bonjour Print Services for Windows did the same, it detected the printer but asks for a printer driver then.

EDIT: the apple print services can find the printer, but cannot install them btw. something about access rights. seems they did not update this service for a few years.

from ipp-printer.

watson avatar watson commented on September 14, 2024

@matthiasg yeah, unfortunately windows doesn't have a default IPP driver (as far as I know). So you need to chose a dummy printer driver manually. I usually just chose HP Color LaserJet 2500 PS Class Driver

There might be a way to tell windows witch driver to use by modifying the TXT record when advertising or modifying some of the IPP responses. I'll have to look into that.

from ipp-printer.

otaroo avatar otaroo commented on September 14, 2024

@watson Have no HP Color LaserJet 2500 PS Class Driver in Windows 7 x64
What should i do?

from ipp-printer.

Vlad-Polupan avatar Vlad-Polupan commented on September 14, 2024

@otaroo Try to use Microsoft PS Class Driver

from ipp-printer.

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.