Hello! I am currently looking for some help or ideas in a specific area of Python programming.
The project I am having problems with pertains to python print drivers, and printing in a Linux OS.
I had originally wanted to find a way (if possible) to write a python print driver for a Linux box I have; but the main issue I have is how to get the code to communicate with the kernel.
Is it possible to write a piece of code that upon kernel start up, be able to translate a USB print driver written in python to C? OR is it possible to just skip the notion of having to load the specific driver in the kernel, and just use a print driver written in python?
OR
Is there a way to send data (whether it is text, file, or strings) directly to the printer itself via python code?
How would I go about doing something of this nature? I have searched high and low and have found very little to go by to accomplish this task. I have always thought python was a very flexible and versatile language but I am having trouble finding information that would pertain to this subject.
The printer normally uses CUPS printing, if that would help at all.
I greatly appreciate any input on the matter.
Thank you,
Page