Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QPrinter custom CUPS options



  • How do I specify custom print options via QPrinter. These options were created by the printer manufacturer and work correctly at the CUPS command line ie. lp -o



  • Hi,
    I don't think it's possible. IMHO the easiest way to achieve this is to print to a temporary PDF file and then call lp with the needed options by yourself.
    Cheers!