Giter VIP home page Giter VIP logo

Comments (4)

tojocky avatar tojocky commented on June 14, 2024

With old source code this may happen when the default printer is not defined.
Could you please re-test the latest source code if you have the same issue?

from node-printer.

iamsaso avatar iamsaso commented on June 14, 2024

Thanks, I installed directly from github and now segmentation fault is gone.

I still have this issue:

➜  node-printer  node defaultPrinter.js
default printer name: is not defined on your computer

When I list all printers it says the office_printer is set as default

➜  node-printer  node getPrinters.js 
installed printers:
[ { name: 'Office_Printer',
    isDefault: true,
    options: 
     { copies: '1',

https://www.dropbox.com/s/su08df3grac8ecd/Screenshot%202015-03-17%2010.33.25.png?dl=0

Any thoughts on this?

from node-printer.

tojocky avatar tojocky commented on June 14, 2024

The issue seems to be with windows API itself. I noticed this. If you restart the PC and don't change the default printer it works properly. I need to find a way to correct.

from node-printer.

tojocky avatar tojocky commented on June 14, 2024

I'm closing this issue because it was opened for other reason. Default printer functionality I will think how to do. feel free to propose PR.

from node-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.