react-barcode icon indicating copy to clipboard operation
react-barcode copied to clipboard

Downloadable and printable barcodes

Open Muljayan opened this issue 6 years ago • 2 comments

Hello is there a way to make the barcode produced by this module printable and downloadable.

Muljayan avatar Jan 20 '19 10:01 Muljayan

i think you need another repo to do it with this one.

ilaipi avatar Mar 19 '19 02:03 ilaipi

We just ended up using https://github.com/ryanseddon/react-frame-component and calling useFrame().window.print() within that.

In practice, we're printing to a 203 dpi label printer, and I think we're running into Moiré effects (see https://www.barcodefaq.com/knowledge-base/print-quality/ ). We may end up switching out this barcode library for something that uses a barcode font instead. I've not worked it out yet.

If anyone has any recommendations, that would be appreciated. Otherwise, I will report back when I have something working.

alsuren avatar Nov 16 '23 10:11 alsuren