tojocky / node-printer

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

Printe Label Through Zebra Thermal Printer by using Node.js #278

Open kumarg6775 opened 4 years ago

kumarg6775 commented 4 years ago

Hello Ion Lupascu,

Hope you are doing great!!

I am a software developer and I am new to Ubuntu and node js.

I was going through your article related to node-printer and I have some questions.

In my current project, we need to print test label by using zebra thermal printer( TLP 2824 Plus Printer) from Node.JS.

We are using Ubuntu as a operating system.

I saw your getDefaultPrinterName.js in examples folder . I am getting error while running the code and it says that cannot find module ‘../lib’.

Directory is like this: Home/node_modules/ node- thermal-printer/getDefaultPrinterName.js

Could you pls help me with step by step process? What are the thing I need to install in order to work with zebra printer through Node.js. What would be the npm module required. Where should I need to keep java script file.

I got your reference from below article . FYI :: www.npmjs.com/package/zebra-printer

CodeWithError FolderStructure