0

I have a website in django, I only going to visit the website using a Raspberry Pi, I need print a data, and for print I am using a Thermal Printer in the Raspberry Pi. I can print from the Raspberry pi using

("/dev/ttyAMA0",19200,timeout=5)

for obtain serial communication This work fine but only when the project is hosting local in the raspberry Pi , but the django project is hosting in a VPS with ubuntu then I have problems for printer from the Raspberry PI. because in ubuntu there are not

"/dev/ttyAMA0"

How I can work with this thermal Printer from a django project for print correctly using a RaspberryPi

1 Answer 1

0

install a print server on the pi and serve the printer. you may need some sort of tunnel so that the VPS can reach the pi.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.