Hi,
no long time ago I can indicate where the pdf-printing are to be stored or choose it before print/store.
Now, I missing the printed files and installing `cups-ocr` discovered that those printing are stored in `/var/spool/cups-pdf/$username`.
The Arch-Linux-Wiki (https://wiki.archlinux.de/title/Drucker) don't tell anything about but this thread (https://askubuntu.com/questions/1263902/how-to-quickly-modify-cups-pdf-printer-output-folder-setting) tell more.
This should be a Artix or Plasma "problem", anyway, I didn't find any `/etc/apparmor.d/usr.sbin.cupsd` on my system.
How to get printed PDF in e.g.
/home/${USER}/PDF
or
/home/${USER}/Documents/PDF
???
1. Why my Artix missing `/etc/apparmor.d/usr.sbin.cupsd`? should I make something here?
2. Just create PDF-folder and make a symlink?
I'm looking for proper and durable solution.
Please for detailed information, no post of links only.
Thanks in advance
1. Artix does not come with neither AppArmor nor its profiles by default, unlike Ubuntu. AppArmor is supposed to harden against server exploits by specifying what directories/files an executable is supposed to write in and reporting/disallowing if unexpected behavior. Unless you want to go through the trouble of installing and configuring AppArmor for you (most likely) home system on a trusted network/firewall, you don't need to do anything.
2. You can follow the guide as is (minus the apparmor file) or use the symlink. (Though, I'd recommend making ~/PDF a symlink to /var/spool/cups-pdf/$USER, and not the other way around, since cups-pdf likes changing permissions). Either solution is likely to work well long-term.
Thanks capezotte,
I create
/home/${USER}/Documents/PDF
/home/${USER}/Documents/OCR
and edit these two files
/etc/cups/cups-pdf.conf
/etc/cups/cups-ocr.conf
respectively as following:
Out /home/${USER}/Documents/PDF
Out /home/${USER}/Documents/OCR
the changes takes effect immediately.
Apparmor is already installed (I don't know why) and contains:
/etc/apparmor.d/mariadbd_akonadi
/etc/apparmor.d/mysqld_akonadi
/etc/apparmor.d/postgresql_akonadi
/etc/apparmor.d/usr.bin.akonadiserver
the service is not registered or started ```rc-status```
rc-update -v show
NetworkManager | default
acpid | default
agetty |
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
alsasound |
avahi-daemon | default
Anyway, the problem is solved, thanks again for your quick clarification.