Skip to main content

Python library to support Point Of Sale displays

Project description

Hardware Customer Display

Python library for supporting Customer Point Of Sale Display.

It should support most serial and USB-serial LCD displays out-of-the-box or with inheritance of a few functions.

It has been tested with:

For Epson OCD300, change pywebdriver/config/config.ini :

` [display_driver] device_name=/dev/ttyACM0 `

For Bixolon devices connected via USB, for kernel >= 3.12, you have to create a file /etc/udev/rules.d/99-pyposdisplay.rules with the following content:

` ACTION=="add", ATTRS{idVendor}=="1504", ATTRS{idProduct}=="0011", RUN+="/sbin/modprobe ftdi_sio", RUN+="/bin/sh -c 'echo 1504 0011 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'" ACTION=="add", ATTRS{idVendor}=="1504", ATTRS{idProduct}=="008c", RUN+="/sbin/modprobe -q ftdi_sio" RUN+="/bin/sh -c 'echo 1504 008c > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'" ` (Source : http://www.leniwiec.org/en/2014/06/25/ubuntu-14-04lts-how-to-pass-id-vendor-and-id-product-to-ftdi_sio-driver/)

For kernel < 3.12 and bixolon display please read this: http://techtuxwords.blogspot.fr/2012/12/linux-and-bixolon-bcd-1100.html

This library has been inspired by the work carried out during a POS code sprint at Akretion France from July 7th to July 10th 2014.

Contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyposdisplay-0.0.8.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file pyposdisplay-0.0.8.tar.gz.

File metadata

  • Download URL: pyposdisplay-0.0.8.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for pyposdisplay-0.0.8.tar.gz
Algorithm Hash digest
SHA256 97c5fef3d3b477e56b25c6c1d8d7193966c023cae18631eda3d52095c85244e4
MD5 463ec15aee3756093a85ad4f6702d500
BLAKE2b-256 099f90f4158e8d948b126a2c2dea659590e8f6cdc35b2540b6af52ee43226dda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page