You are not logged in.
When attempting to print to PDF using cups and cups-pdf I am presented with a QT widget (see attached) with a default Output file ${HOME}/print.pdf. Does anyone know how to change the path appearing here? The Wiki states the location in which "PDF files are stored in" can be changed in /etc/cups/cups-pdf.conf, presumably with the Out directive, but changing the path here e.g. to ${HOME}/downloads/default.pdf appears to have no effect.
Last edited by piperfw (2022-12-11 14:42:02)
Offline
Cups doesn't present you w/ a Qt widget.
Did you restart cups after editing the file?
lp -d CUPS_PDF somefile.txtEdit: or maybe just
lp -d CUPS_PDF <<< "SNAFU"=> Where does that print end up in?
Last edited by seth (2022-12-11 08:21:12)
Offline
Did you restart cups after editing the file?
Yes (although in fact the cups-pdf documentation states you don't need to restart any services for changes to take effect).
In your commands how can I find the destination corresponding to CUPS_PDF? lpinfo -v lists file cups-pdf:/ but this doesn't appear to be an accepted destination.
Offline
"lpstat -e", but "CUPS_PDF" is the default name for the cups pdf printer, you should™ be able to use that command literally.
Offline
Thanks, I did try lpstat but it only returns my one physical computer (Brother_HL...). CUPS_PDF returns "lp: Error - The printer or class does not exist."
I have cups and cups-pdf installed. I can't see anything on the CUPS Wiki page (or Troubleshooting) which suggests additional configuration is needed.
Offline
http://localhost:631/printers/
Is there a PDF printer?
If not, add one in http://localhost:631/admin/
Offline
The screenshot shows "print to file (PDF) " as selected option .
That is NOT the cups_pdf printer but an option provided by the software you are trying to print from .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks both for the input here.
@seth there wasn't a PDF printer. Adding one and using it with 'lp -d' the output goes to the correct location (i.e. specified by the config file), so that all appears to be working.
The path in the dialogue prompt is unchanged, but thanks to your and Lone_Wolf's comments I now understand this is separate from cups-pdf. This dialogue box is spawned by okular and some other KDE apps I use, so it sounds like I should post a question in the KDE forums instead.
Unless either of you happen to have suggestions on changing that dialogue box, I'll mark this thread as solved.
Last edited by piperfw (2022-12-11 13:44:51)
Offline
Found (outdated):
https://bugs.kde.org/show_bug.cgi?id=360849
https://bugreports.qt.io/browse/QTBUG-496
Doesn't look too promising ![]()
Offline
Found (outdated):
https://bugs.kde.org/show_bug.cgi?id=360849
https://bugreports.qt.io/browse/QTBUG-496Doesn't look too promising
Haha, time to reinstate this feature request from '07 ![]()
Offline