I am using MonoMac (with gtk#) and I need to send raw ZPL commands to CUPS printer. Raw commands look like text. They are not "images". I see that Mono can print images via System.Drawing, but how can I send raw data (raw text) ?
It looks like I need to call PMPrinterPrintWithFile or talk to CUPS API directly. But I don't see bindings for these functions in the Mono.
I know I can do CreateProcess on "lpr" command. It works, but this is a very-very last resort solution.