Landscape PostScript output prints incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When saving a landscape svg as PostScript (using Save As) then printing the PostScript file, it does not print correctly. The landscape drawing is incorrectly oriented on the paper with 1/3 of the drawing chopped off.
The reason for this is that when generating landscape PostScript, a portrait page size needs to be used and then the drawing rotated 90 degrees counterclockwise to fit onto the portrait page. This is because portable PostScript does not contain the page size or orientation (DSC comments are ignored by printers). Creating a PostScript file where the width is greater than the height does not print correctly because the printer will render it onto a portrait page.
I've placed some information on the cairo wiki describing how to print landscape:
http://
The PageOrientation DSC comment should also be used to tell viewers such as gv and evince the orientation of the document.
Note that printing via the print menu works fine as gtkprint rotates the cairo context when landscape is selected.
tags: | added: printing |
tags: | added: exporting |
Changed in inkscape: | |
importance: | Undecided → Medium |
assignee: | nobody → Adrian Johnson (ajohnson-redneon) |
Changed in inkscape: | |
status: | In Progress → Confirmed |
assignee: | Adrian Johnson (ajohnson-redneon) → nobody |
Changed in inkscape: | |
status: | Confirmed → Fix Released |
This is the SVG file I used to generate the PostScript output.