Skip to content

Commit

Permalink
Ensure orientation is seen at page format layer too
Browse files Browse the repository at this point in the history
  • Loading branch information
Berenz committed Feb 27, 2017
1 parent 30f5648 commit 667a6b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qz/printer/action/PrintPixel.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected PrintRequestAttributeSet applyDefaultSettings(PrintOptions.Pixel pxlOp
}
if (pxlOpts.getOrientation() != null) {
attributes.add(pxlOpts.getOrientation().getAsAttribute());
page.setOrientation(pxlOpts.getOrientation().getAsFormat());
}

//TODO - set paper thickness
Expand Down

0 comments on commit 667a6b1

Please sign in to comment.