Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To configure cups-pdf to save its output in a CIFS share mount point, follow these steps:

  1. 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.

  2. Edit the cups-pdf configuration file /etc/cups/cups-pdf.conf:

    sudo nano /etc/cups/cups-pdf.conf
    
  3. 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.

  4. Save and close the file.

  5. 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.