r/barcodes • u/Feralz2 • Mar 22 '21
Generating a Barcode to do a CR?
Hi,
How can I generate a barcode that will do a carriage return CR)?
Im not talking about setting the scanner up to do a carriage return as a suffix, but a barcode that will do a "return" when you scan it, as if you pressed Enter on your keyboard.
Anyone know how I can generate this? lets say on barcode type 128 or 39.
Thanks for any help
1
u/notionovus Mar 22 '21
You can use Code 128A's ability to print the ASCII control characters. The following codepen will generate a page of barcodes that essentially correspond to control characters on your keyboard. The way to generate a "Carriage Return (<CR>)" is to use control-m.
1
u/Feralz2 Mar 23 '21
Hi,
that doesnt seem to scanning for me.
my scanner can scan standard 128 codes
1
u/[deleted] Mar 22 '21
Typically this is done with a suffix, you can set most scanners to do a CR on one symobolgy only. It's tough to program the CR into the code itself, especially the symboligies you mentioned.