---
title: "Discussion on \"Stop Printing Blurry Barcodes: Generating Native TSPL & ZPL in Plain JavaScript\" | Hashnode"
description: "Discussion on \"Stop Printing Blurry Barcodes: Generating Native TSPL & ZPL in Plain JavaScript\". Why thermal printers hate HTML canvas, how 203 DPI dithering breaks barcode scanners, and how to generate raw TSPL and ZPL code directly in client-side JavaScript."
url: "https://hashnode.com/posts/stop-printing-blurry-barcodes-generating-native-tspl-zpl-in-plain-javascript/6b0a63e8aa46d124a83871dc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop Printing Blurry Barcodes: Generating Native TSPL & ZPL in Plain JavaScript](https://ownbarcode.hashnode.dev/stop-printing-blurry-barcodes-generating-native-tspl-zpl-in-plain-javascript?utm_source=hashnode&utm_medium=feed)

Why thermal printers hate HTML canvas, how 203 DPI dithering breaks barcode scanners, and how to generate raw TSPL and ZPL code directly in client-side JavaScript.

18h ago · 8 min read · ownbarcode.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#hardware](https://hashnode.com/tag/hardware)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Ajay Sukhadeve](https://hashnode.com/@sukhadewe)

@sukhadewe · Mumbai, India

  
[View profile](https://hashnode.com/@sukhadewe)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
