- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System Other (Unsupported)
- Severity Low
- Priority Very Low
- Reported Version 3.9.1
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by Poul-Henning Kamp - 15.03.2015
Last edited by Andrew - 16.03.2015
FS#1193 - Landscape print lacks rotation
I have spent a couple of days banging my head against this.
If I print the attached drawing in landscape mode to my printer, the drawing is not rotated, and the paper only contains ~2/3rds, oriented the wrong way.
If I print to PDF-File, open in gv(1), and change the size field from “Automatic” to the chosen papersize, same thing happens.
If I print to Postscript-File, open in gv(1), change the size field to the chosen papersize, the rotation is correct.
Many PDF viewers will autodetect missing rotations and other such stuff, and you will never notice a mistake like this, but gv(1) does it the “old-school” way and shows the mistake.
The crucial bit of the Postscript output is:
/pageinit { % 210 *297 mm (landscape) 90 rotate 0.060000000 -0.060000000 scale } def
Something similar is missing in the PDF and the output to the printer.
PS: This is also on FreeBSD, but I doubt that matters at all for the “print to file” operations.
This looks OK on other systems.
This would be news to me. The PDF definitely looks fine here in Adobe Reader and Preview. Perhaps you can attach the PDF file you get, so I can check if the viewers are playing a part in this or the PDF is flawed when generated on your system.
In any case, there's not much we could do about the PDF internals here. QCAD uses the Qt tool kit for printing and PDF output.
I've attached the pdf file.
You can also see the problem with 'pdfinfo' which says:
Notice the "Page size", and "Page rot" fields, neither indicate landscape as far as I can tell.
Thanks. Definitely a portrait PDF, in all viewers on all platforms I've tested.
In other words, the PDF produced by QCAD on your particular system / installation is a PDF in portrait mode, not landscape.
Perhaps, there is a printer driver setting somewhere that forces this behaviour?
I will close this report now, since I see no chance for this to get solved from my side. It's either a problem with the configuration of your system (could only be fixed on your side) or of Qt on your system (could possibly be fixed by the Qt team).
FYI: This pdf was made with "export PDF" so printer settings does not come into it.