Skip to content

Instantly share code, notes, and snippets.

@LeeU1911
LeeU1911 / scale-zpl.js
Last active April 27, 2021 13:40 — forked from tresf/scale-zpl.js
(Experimental) Scales a Raw ZPL file from 203 DPI (dots per inch) to 300 DPI
/*
* author: Tres Finocchiaro
* date: 2015-05-22
* license: Public Domain; Use as you wish.
* source: http://qz.io
* updated: 2021-04-27 - Add 'BQN,2' to scale QR Code size (N is orientation and 2 is model so no need to scale that number)
*/
/*
* Scales text from a raw ZPL label from 203 DPI to 300 DPI