The thread is rather confusing - sounds like an [xy problem] to me.
Judging from your initial topic and the comments - it appears to be something like
[linux print a document from remote ssh to local printer] you are looking for.
This software - does it run over SSH using x11 forwarding ?
Is the file stored on the remote ssh or local file system ?
Print from where to where ?
Which machine do you want to edit the cups config on ?
The remote ssh system or your local client ?
The usual flow for reading configurations - where the first found is the one used
Have you tried copying the file to the equivalent location in your home ?
mkdir ~/.config/cups
cp /etc/cups/cups-pdf.conf ~/.config/cups
Then edit the file ~/.config/cups/cups-pdf.conf
I wanted to thank all for the help. I am sorry I am not being more clear. Some of the replies are asking questions I am unsure of. Please bear with me as I try to get the information to you as I am greatfull for your assistence and time.
I am unsure if our SSH is running over X11 forwarding. How can I let you know?
I belive it is generated locally. It is used to connect to a remote server. The app is web based and accessed via a web page.
Putty has a feature allowing remote printing listed as “Printer to send ANSI printer output to” if that helps any. It would be printing from the program to an printer, be it paper output or print to PDF.
I would like to edit the cups-config file on my local machine. I have not tried that command but I will.
Thanks again for the help.
I will strive to learn correct formatting! Thanks.
cups-pdf
Some (or all) of these links may be useful.
Good luck.
Thanks. I will read through those.
1 Like