To configure cups-pdf to save its output in a CIFS share mount point, follow these steps:
Mount the CIFS share on your system using the mount command. For example, if the CIFS share is located at //server/share:
sudo mount -t cifs //server/share /mnt/share -o username=<username>,password=<password>
Replace <username>
and <password>
with your credentials.
Edit the cups-pdf configuration file /etc/cups/cups-pdf.conf
:
sudo nano /etc/cups/cups-pdf.conf
Find the line that starts with Out
and change it to:
Out /mnt/share/PDF
Replace /mnt/share/PDF
with the path to the directory where you want to save the PDF files.
Save and close the file.
Restart the cups-pdf service:
sudo systemctl restart cups-pdf
Now, whenever you print to the cups-pdf printer, the PDF file will be saved to the specified directory in the CIFS share.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-29 20:45:16 +0000
Seen: 10 times
Last updated: Jun 29 '23