My ghostscript package is not functioning yet. Is there a way to test cups with cups-pdf as backend without using ghostscript just some raw or text data to a file either through command line or QT. I tried through QT the file is empty using QPainter and QPrinter.