01-18-2022, 06:07 PM
Dont know for your exact requirements but the gutenprint setup uses a straight
-s page size and -d the destination printer.
So I assume that gimp formats the image and exports the whole page as a postscript file to /var/spool/cups/
No need to go there, Gimp will print straight to a postscript file, https://i.imgur.com/pHMjihL.jpg and that can be printed.
where -l is for a preformatted page. Best check the parameters with 'man lpr;
No idea if that works, never tried it
Code:
lp -s -d "printername
So I assume that gimp formats the image and exports the whole page as a postscript file to /var/spool/cups/
No need to go there, Gimp will print straight to a postscript file, https://i.imgur.com/pHMjihL.jpg and that can be printed.
Code:
lpr -P "printername" -l output.ps
No idea if that works, never tried it