How to print receipts with thermal printers using electron-pos-printer plugin github.com/Hubertformin/elect...
Пікірлер: 46
@laser19152 жыл бұрын
If you are facing any problems with timeout , especially with electron 12 and above go to node modules->electron-pos-printer -> dist -> pos-printer, add "contextIsolation:false" where the new window is being created
@hformin Жыл бұрын
You don't need to do this anymore, you can just upate to the latest, version. The latest version is compatible with the latest version of electron v20.x.x
@dodzlugod15862 жыл бұрын
Nice video men... thanks for sharing... ;)
@JoonhoKim-gg7lz2 жыл бұрын
Thank you for creating this great module. Please Help me. How can I make this package work in react & typescript environment?
@gerardorecendiz71463 жыл бұрын
gracias me sirvio mucho
@leandroroman55233 жыл бұрын
Hola si te sirvió me podrías ayudar, a mi no me imprime
@yasarmuhammed43592 жыл бұрын
Thanks
@edustreamimg3 жыл бұрын
Hello buddy, does it work in react-native or react app?
@alwise3 жыл бұрын
Hi, the app keeps crushing after successful printing.
@fisicoprogramador Жыл бұрын
can I use any html template? with css
@ningwang56482 жыл бұрын
wonderfull video , whould you please continuer the second part?
@hformin Жыл бұрын
Yes, I will. I have made some updates to the package. I will make a video talking about it
@moulicvr3 жыл бұрын
can someone help me with printing from web to pos printer using nodejs please.
@Buddhixmen3 жыл бұрын
can you tel me how open cash drawer separately?
@bunnyngim27582 жыл бұрын
Thanks q so much..But I try to from Mac..It got TIMEOUT..Please advise
@superkass3 жыл бұрын
hello Hubert, could you help with auto-detecting the printer connected then use the name in the printerName method. I am trying hands on your work but can only specify one printerName:'ESPSON', but wish it could have something as printerName: connectedPrinterName ,
@Winenance3 жыл бұрын
use the library electron print pos
@superkass3 жыл бұрын
@@Winenance ok I have created a public repository github.com/Profnird/nird-thermal-pos-printer. but with this you would have to state the printer name then the printing is carried out. check that out and see. we want to make it be able to auto-detect the printer
@nawazishali274 Жыл бұрын
I'm facing the problem while rendering type image and placed url it's not accepting url and that's error in console plz suggest me
@ratefinanaharytoky13353 жыл бұрын
Can you explain the pageSize option? The documentation just puts it in an example without giving any how or why.
@hformin Жыл бұрын
This is the size content of the printed page, You can set predefined values like; 'A4', 'A5' etc or set pass an object of width and height. Take a look at the docs, I updated the package
@chandruloganathan37252 ай бұрын
I am getting the below error when I install this package and imported it node:internal/modules/cjs/loader:410 throw err; ^ Error: Cannot find module 'C:\Users\CHANDRU LOGANATHAN\Desktop\Live-Project\CLT\testing-application\printer ode_modules\electron-pos-printer\dist\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:402:19) at Module._findPath (node:internal/modules/cjs/loader:644:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1012:27) at Module._load (node:internal/modules/cjs/loader:872:27) at Module.require (node:internal/modules/cjs/loader:1092:19) at require (node:internal/modules/cternal/mternal/modules/cjs/loader:1205:14) at Module._extensions..js (node:internal/modules/cjs/loader:1259:10) at Module.load (node:internal/modules/cjs/loader:1068:32) { code: 'MODULE_NOT_FOUND', path: 'C:\\Users\\CHANDRU LOGANATHAN\\Desktop\\Live-Project\\CLT\\testing-application\\printer\ ode_modules\\electron-pos-printer\\package.json', requestPath: 'electron-pos-printer' } Node.js v19.1.0 [nodemon] app crashed - waiting for file changes before starting...
@baatui3143 жыл бұрын
would this work if i access with mobile device like android
@nhermuhlen3 жыл бұрын
its not printing if i push on print
@stephenkomu14763 ай бұрын
So I am still getting errors while printing
@Truethought689 Жыл бұрын
Can u make vidio how I can do in vue js?
@dinobudic4492 Жыл бұрын
I managed to print on epson via usb, but the problem is sometimes printer just stop working. I can see queued jobs but it’s not printing them. Any idea how to fix that on windows? Seems like spooler get stuck after one print.
@firlytaufikurohman69225 ай бұрын
i got same problem and still dont know how to fix that
@dodzlugod15862 жыл бұрын
Is that plugin compatible on other printers like Epson TM-U220? What node version to run this app?
@hformin Жыл бұрын
This works wiht the recent version of electron
@asimimam22892 жыл бұрын
what is electron ?
@mohamedabdelmagid30142 жыл бұрын
TimeOut :(, How to solve this ?? I added "contextIsolation:false" to the pos-printer file, but still not working.
@oscarcardoso75992 жыл бұрын
Could you resolve it?
@devToolBox267 ай бұрын
this works for me. Thanks
@samuelcantos4169 Жыл бұрын
sirve para native?
@miansami25883 ай бұрын
can we send print commands to multiple printers with silent printing ?
@akadeadahot7067Ай бұрын
Hey did u find solution for that ? Multiple printer with silent printing on pos and also cut paper after completing printing