Skip to content

Commit

Permalink
corrected error for set print density
Browse files Browse the repository at this point in the history
  • Loading branch information
theFloe committed Sep 1, 2012
1 parent 112a8de commit 18ba086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printer.cpp
Expand Up @@ -107,7 +107,7 @@ void Printer::setDoubleWidth(bool state) {

// set the print density and break time
void Printer::setPrintDensity(quint8 printDensity, quint8 printBreakTime) {
write(8);
write(18);
write(35);
write((printBreakTime << 5) | printDensity);
}
Expand Down

0 comments on commit 18ba086

Please sign in to comment.