minlux / dymon

Command line based print tool for DYMO LabelWriter Wireless.
MIT License
40 stars 10 forks source link

Change of paper size? #2

Closed vstath closed 4 years ago

vstath commented 5 years ago

Hi there,

thanks for the latest commits. Would it be possible to provide information on how to change the paper (label) size and/or orientation?

The command line options are very useful, thank you for that!

joeltrondotcom commented 4 years ago

Did you ever figure this out? I'm in the SAME situation. Minlux's code is the ONLY thing that I could get to work on my device, but the text is too small and its sideways.

minlux commented 4 years ago

Today I have updated the project. Now I support two label formats with different orientation:

Please have a look into src/print.cpp. You can find in the lines 40ff a table that defines those two formats and orientation.

Remark: Switching the orientation must be done by rotating the bitmap. Therefore I have extended the Bitmap class (see /src/bitmap/bitmap.cpp).