I am developing a web-based POS. Unfortunately, POS must print through a thermal receipt printer (TM-T88IV, Epson). The web application is based on Django. Is there any idea on
I see two ways to accomplish it:
Notes
Good solution if you have one printer for every client (because you can use the default printer only). Keep in mind that you can remove your print server (useful for very resource limited devices) making a script that the browser should automatically execute for open your file. You can use something like this:
#!/bin/bash
printer="/dev/usb/lp0"
encoding_needed=true #false
if $encoding_needed; then
iconv -c -t 437 $1 > $printer
else
cat $1 > $printer
fi
print.always_print_silent
and set it to True
print.show_print_progress
and set it to False
Keep in mind that there are other extensions for making kiosks, for example:
You can start it with those options: --kiosk --kiosk-printing
For kiosk mode see: http://support.microsoft.com/kb/154780
Notes
Good solution if: