Ask Your Question
0

How can I configure cups-pdf to save its output in a CIFS share mount point?

asked 2023-06-29 20:45:16 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-29 21:06:02 +0000

qstack gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2023-06-29 20:45:16 +0000

Seen: 10 times

Last updated: Jun 29 '23