tojocky / node-printer

Native node.js printer
1.53k stars 441 forks source link

Docs unclear - do I need Python on target server, or just on dev machine? Other related questions... #300

Open rconstantine opened 3 years ago

rconstantine commented 3 years ago

Hello. I'm working on an ExpressJS app for a server. I want to be able to get all installed printers that I have on that server so I can present a list on my frontend app. I do printing from the server already, I just need to enumerate the printers.

I see that I'm supposed to get Python 2.x and Windows Build Tools. Do I just need this for development, or do I need to deploy both to my QA and PROD servers after I build my app as well?

Why do I need them, exactly? I wasn't clear on that. Why isn't the module as installed via npm just ready-to-go? Or is that exactly what the prebuilt node builds are? (Prebuilt node builds npm install printer --target_arch=ia32 npm install printer --target_arch=x64) <-- python and WBT not needed???

Have you used this module with ExpressJS server apps, or have you only used it for client apps? If you have, any tips?

Thanks!