michaelrsweet / lprint

A Label Printer Application
https://www.msweet.org/lprint
Apache License 2.0
219 stars 29 forks source link

add 4x7.83in label size #144

Open markusdd opened 1 month ago

markusdd commented 1 month ago

rationale: this is very commonly needed in Europe (more known as 102/103mm x 198/199mm) as it is the standard label size DHL recommends, for private or small business it is the only label size they provide, hence, it makes sense to offer this out of the box

tested on Zebra LP2844 EPL2 printer

michaelrsweet commented 1 month ago

Tentatively for the next stable release, pending a deeper review.

michaelrsweet commented 1 month ago

Also, if this is a standard European size then chances are it is defined in millimeters so we'd want to use a metric (om_192x198-label_192x198mm or similar) size name to ensure accurate dimensions.

markusdd commented 1 month ago

Also, if this is a standard European size then chances are it is defined in millimeters so we'd want to use a metric (om_192x198-label_192x198mm or similar) size name to ensure accurate dimensions.

The answer is: it's complicated :smile:

If you look into the standard label formats there already is a 3.25x7.83 inch.

this is essentially just the 4" version of exactly that.

The official dimensions are 4x7-10/13".

Obviously in Europe most people refer to it in mm, but they occasionally round up or down. so you'll find them as 102 or 103mm wide and as 198 or 199mm long (I've seen 200mm as well).

So arguably, the inch-size is the 'real' one. You'd have to ask DHL what their original source or intent is.

I opted for the inch size because it corresponds nicely to the 3.25" wide version.