Peter Alcibiades wrote:
OK, profiting from the collective wisdom, my gdi printer is set up as raw in CUPS and is now working very nicely with
cat myfile>/dev/usb/lp0
I don't get why you are writing to the device and not using something like lp -o raw -d printername myfile
In fact if the printer is configured as a raw device in cups then you can omit the -o raw bit IIRC