Skip to content

Commit

Permalink
HTML fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vzor- committed Apr 3, 2024
1 parent 093b56b commit e6fa3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qz/printer/action/PrintHTML.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void print(PrintOutput output, PrintOptions options) throws PrinterExcept
settings.setJobName(pxlOpts.getJobName(Constants.HTML_PRINT));
settings.setPrintQuality(PrintQuality.HIGH);

if (pxlOpts.getColorType() != null) {
if (pxlOpts.getColorType().getAsChromaticity() != null) {
settings.setPrintColor(getColor(pxlOpts));
}
if (pxlOpts.getDuplex() == Sides.DUPLEX || pxlOpts.getDuplex() == Sides.TWO_SIDED_LONG_EDGE) {
Expand Down

0 comments on commit e6fa3f0

Please sign in to comment.