dymosoftware / Drivers

21 stars 5 forks source link

Print density flag on LW550 Turbo #1

Closed Dann-Demetre closed 2 years ago

Dann-Demetre commented 2 years ago

Summary

The print density command line optional argument does not appear to work causing the printer to crash only on the LW 550 Turbo and not the LW 450 Turbo.

Removing the flag allows 550 Turbo printer to work normally. Exact command with density flag can be used on 450 Turbo.

Operating System: Raspbian 11 Bullseye Using command: lpr

Debugging Measures Performed:

Test 1: Remove print density flag from lpr command Change LabelWriterDriverV2.cpp's normal flag command character to:
case pdNormal: cmdBuffer[1] = 'e'; -> 'g' (the one for pdDark) break; Recompile and install drivers, print test page from cups on localhost:631 Result: label does not print

Test 2: Remove print density flag from lpr command Change LabelWriterDriverV2.cpp's normal flag command character to:
case pdNormal: cmdBuffer[1] = 'e'; -> 'c' (the one for pdLight) break; Recompile and install drivers, print test page from cups on localhost:631 Result: label does not print

Conclusion

It would appear the driver is cannot work with the printer's embedded firmware on the LW 550 Turbo to change the print density to other than the default value.

Dann-Demetre commented 2 years ago

Problem was a binary issue with lpr on Raspberry Pi. Used the unofficial repository instead and followed installation instructions in README Installed libboost-all-dev DymoPrintDensity flag also needed to be changed to PrintDensity