01-18-2022, 04:59 PM
(01-18-2022, 01:40 PM)rich2005 Wrote: I can not really comment on Windows printing, the Gimp print.exe plugin that links to the Windows printer driver is old and not that good.
Linux using CUPS (providing your printer is supported) should be better.Choose the paper size, set the left / top margins. If measuring from the edge of the paper, enable that marginless option. https://i.imgur.com/PKQANQ0.jpg
Again using CUPS (Providing your printer is supported and the Gimp Gutenprint plugin is in the repo) The Print with Gutenprint gives a few more options. Still uses Top and Left margins from the edge of the paper. https://i.imgur.com/D27hs5s.jpg
You can check basic printer settings from your browser http://localhost:631/admin https://i.imgur.com/h9oZJTE.jpg
Using Windows or linux often better to use LibreOffice to set up a page + image for printing.
Thanks for your reply, Rich.
You gave me good advice on how to do what I want from within Gimp but I am trying to do that from an application I am creating.
So, I went through your directions to generate a print job on Cups and then I opened the job file (they are saved to var/spool/cups) and inspected the printing options that Gimp used but could not find any that seems to control the image positioning on the media.
This is what I am investigating: what options Gimp uses on the command line it sends to Cups in order to obtain the precise positioning of the image on paper.