[Mageia-dev] What to use instead of /dev/usb/lp*

Jeff Robins jeffrobinssae at gmail.com
Thu Jul 26 00:27:52 CEST 2012


On Wed, Jul 25, 2012 at 1:59 PM, Dan Fandrich <dan at coneharvesters.com> wrote:
> Using cups would be the best. If the program is currently opening the lp
> device directly, then it might be as simple as replacing the call to
> fopen("/dev/lp","w") with popen("lp","w"). That will pipe the data to
> the "lp" program which will spool it to the printer through CUPS.
>
>>>> Dan

I'm not sure if that will work.  CUPS doesn't have a driver for the
device and it's not really a printer.
It just uses the USB printer class.  It's used to cut shapes into or
out of paper.  This includes
moving the blade up and down.  I looked at the program and I thinks
its sending G-code, which is
used for CNC work.

Thank you,

Jeff


More information about the Mageia-dev mailing list