Skip to content

Instantly share code, notes, and snippets.

@yradunchev
Created March 6, 2014 05:52
Show Gist options
  • Select an option

  • Save yradunchev/9383314 to your computer and use it in GitHub Desktop.

Select an option

Save yradunchev/9383314 to your computer and use it in GitHub Desktop.
Print LTO6 barcode labels: 57 labels on one A4 sheet. Set label range in 'for' loop. Change printf statement for different label title.
for ((i=1; i<=57; i++)); do printf "D%05dL6\n" $i; done | \
barcode -u mm -t 3x20 -g 79x17 -o label.ps -e code39 -p 210x297 -m 3,2 -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment