These steps really apply to printers that are recognised by usblp, where you are providing your own print commands. My POS system is the rasberry pie I run the software from the PC I had completed tested with the local windows only and it works. Zamani — Absolutely. You need to share the raw printer on the Windows side, then install smbclient and try printing some text files over the network on the Linux side. Make sure that it all works, then use a WindowsPrintConnector from escpos-php to achieve the same result.
THanks so much on the guide and the shared codes. I had check the cmd prompt and the name is user administrator vs mine PC for debugging having its name and its password. I also check the computer name and key in together This is the part where I had edited but still not able to print over the network using the line below and tested one by one.
Hi Mike, It took me 2 days to finally complete the debugging!! Great write-up. Look into the stty command, and see if you can find a device file appearing when you plug in the adapter. I have a question. Nice write up. I have no problems doing this on the serial port that is also available on the printer. Hello Mike. I am still getting this error in browser even if i followed all guide. In terminal, I can print test characters. If have solution, please help me thanks. Thank you very much, Mike.
I spent days trying to get my Raspberry Pi to talk to a printer. The essential command sudo usermod -a -G lp pi seems to be missing everywhere else. I have added the user to the group lp that the printer is in, rebooted the Raspi, the printer, reconnected it a few times but nothing. Do you have any ideas where I could start troubleshooting?
I can connect and pair the printer, but whenever I try to print from your app, it shows the print icon in the top status bar, but then nothing happens. I use the linux platform server , but the printer is connected and shared on windows, I need to use the windowsPrintconnector class, how do I do it? Your email address will not be published. Notify me of follow-up comments by email. The command will need to be reis- sued when the printer is quiescent. Improve this answer.
Same error with sudo. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Related 5. Hot Network Questions. Since 1. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 10 years, 2 months ago. Active 9 years, 1 month ago. Viewed 24k times. Improve this question. The Archwiki has some paragraphs on this issue , in the end they advise to use the usblp module to load the firmware e.
Ugly, indeed. Here's a bug report that mentions in the patch how to use the libusb CUPS backend to load the firmware. Add a comment. Active Oldest Votes. Printer configuration file for CUPS v1.
To find the USB device corresponding to your printer, try lpinfo -l -v Of course you need to make sure it is plugged in and switched on. Note: I wouldn't start blacklisting modules unless you are really sure that is the problem.
Improve this answer.
0コメント