I prepare my graphing paper (5x5 mm squares) with Inkscape. When I print the graph paper directly from Inkscape the 5x5 square size is correct over a 20 cm length. If I first export that Inkscape document to a pdf file and then use Okular to print it, the squares are smaller (I can fit one square more in a 30 cm length). I know this is Okular's fact because if I print that same pdf file with lpr , the result is perfect, like when I print directly from Inkscape. I could provide the Inkscape file, if necessary. Reproducible: Always
This might be due to the document being scaled down due to printer margins, s. bug 336617. What does the result look like when you print the file using "lpr" and adding the "-o fit-to-page" option? Does it look the same as the printout from Okular?
In order to be able to evaluate whether the needed modification for this bug to disappear is already covered by bug 336617, the information in requested in comment 1 is needed.
When I try to print according to your suggestion the svg Inkscape file, I get the following error: lpr: Unsupported document-format "image/svg+xml" However, this is what I tried: Print the graph paper directly from Inkscape : perfect Print using inkscape --without-gui --export-pdf=/dev/stdout /tmp/file.svg | lpr -P HP_PRINTER -o fit-to-page : erroneous size Print using inkscape --without-gui --export-pdf=/dev/stdout /tmp/file.svg | lpr -P HP_PRINTER : perfect Print the pdf file from Inkscape using Okular : seems like printing with -o fit-to-page, although the ouput is not sub-millimetrically identical. So, yeah, the hypothesis you provide seems correct. Thank you for your handling of this bug. Cheers, Filippo So, yeah, apparently you are right,
Thank you for your retesting this and your quick reply. As mentioned, there is already another bug report that deals with the issue of the "fit-to-page" option, so I'll close this one as a duplicate. Please follow bug 336617 to see how the matter continues. *** This bug has been marked as a duplicate of bug 336617 ***