I have a Qt app that prints to a file in Linux using cups... and it needs to be able to read that file after printing. I am using a custom filter that has a "File=" option.
Unfortunately printing to a file creates a lp-owned file
-rw------- 1 lp lp 2405465 Nov 11 12:17 abcd.ps
If I create a file ahead of time and attempt to print, printing fails. Lots of troubleshooting made me realize (guess) that it is because of the ownership.
How can I set permissions in the cups filter to have "group" and "others" read permission ?