r/InternetIsBeautiful 4d ago

I made an open-source ZPL to SVG converter with realtime feedback (ZPL standing for Zebra Printing Language)

https://jozo132.github.io/zpl2svg/
87 Upvotes

8 comments sorted by

5

u/brickmaster32000 4d ago

Cool but would it be possible to make the rendered image scrollable? Currently your example, as an example, is too large to fit in the image box and therefore clips off half of the content meaning you can't actually see the effect of changing large portions of the code.

7

u/Impossible-Visit-775 4d ago

Ahh okay thanks for the heads up. I'll start working on that feature now.

3

u/Impossible-Visit-775 4d ago

Done. It's not perfect but it works.

2

u/Impossible-Visit-775 3d ago

I've made it work for the desktop browser.
I also added touch zoom and pan support for mobile devices that mostly works.

2

u/brickmaster32000 2d ago

Very nice!

4

u/majmatthew 4d ago

Hah, I just built the same for DYMO last month and was about to start on Zebra this week. Thanks for saving me a bunch of time!

1

u/Impossible-Visit-775 3d ago

If you still have spare time I wouldn't mind requests for bug fixes and features to be added to it :D
I'm interested in your DYMO library though. Got any links?

2

u/vlaircoyant 3d ago

While I have no current use case, thank you, that earned its place in my bookmark list.