BBB File /etc/lprng/printcap

From Wiki
Jump to: navigation, search

The printer I'm using is basically a straight ASCII printer that's serially connected on /dev/ttyO2. Unless the device tree for the kernel has been modified, the default device tree does not enable UART1 through UART5. This means that prior to actually printing to the printer, the /usr/local/sbin/enableTTYO2 script must have been executed. This is normally done in /etc/rc.local, which is executed after the system is pretty much done booting.

  :stty=raw crtscts 19200
  # optional Open Read Write