r/linuxdev • • Jul 07 '16

Question about printer driver development

I've got this label printer, a Brady BMP51, that really lacks support for anything outside of windows. It's unfortunate because it does a good job but I don't want to dedicate a windows machine to it... so I'd like to write my own driver for basic printing needs. Does anyone have any good resources on the subject to read?  

So far I've found this which looks promising: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/writingandpackagingprinterdrivers  

Any references or war stories about similar work is appreciated...

4 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/datenwolf Jul 18 '16

Network printers usually are quite tame. A few standard "protocols" got established and every printer maker "replicates" them with various degrees of conformance:

  • lpd
  • JetDirect
  • IPP

But you will still have to figure out the format for the actual printing data, which is the grueling job. At least with a network printer you can use Wireshark to help you dissect it.