GNU Barcodes


 
Thread Tools Search this Thread
Operating Systems Linux Debian GNU Barcodes
# 1  
Old 12-10-2014
GNU Barcodes

I wish to be able to print a barcode .5 inches from top of the page and centered.

I generate the barcode -

Code:
yes 12345 | head -84 | barcode -p 5x5.0cm -umm  -e CODE39 > test.ps;

and print -

Code:
lpr -o media=letter -#1  -P LJ1012 /var/www/test.ps -o page-top=33 -o page-bottom=44 -o page-left=60 -o page-right=80

The barcode is
upside down
not centered
at the very top and truncated
and multiple copies are printed

Last edited by Don Cragun; 12-10-2014 at 03:58 AM.. Reason: Add CODE tags.
# 2  
Old 01-02-2015
Just reading the man page, but I looks like you asked for 84 copies. The -u seems to fight with the -p, so if you say you want mm units, why not just say say 50x50? Great to know this exists, but I am no longer in a barcode shop.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

GNU = inventions that nobody wants?

Stumbled over this today on GNU/Linux, output from ps -fp : UID PID PPID C STIME TTY TIME CMD root 3516 1 0 2017 ? 00:00:13 syslogd -m 0 UID PID PPID C STIME TTY TIME CMD syslog 2952 1 0 2017 ? 00:02:08 rsyslogdSTIME showing... (8 Replies)
Discussion started by: MadeInGermany
8 Replies

2. Shell Programming and Scripting

Using GNU Regex

I'm just learning Regex and while testing my understanding I received some unexpected results. I created example.txt with the text "abcddd". Running the command grep --color 'd' example.txt I received the results: "abcddd" with the first and second letter d highlighted in red. So... (1 Reply)
Discussion started by: rthomas529
1 Replies

3. What is on Your Mind?

loading barcodes

Does anyone know how I can upload a barcode into UNIX? I want to scan the product and load it into the UNIX system. (4 Replies)
Discussion started by: Albright Weldin
4 Replies

4. UNIX for Advanced & Expert Users

non GNU utilities

Hi Chaps, Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Discussion started by: wempy
4 Replies

5. UNIX for Advanced & Expert Users

GNU screen

Hello, One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Discussion started by: neked
2 Replies

6. UNIX for Dummies Questions & Answers

GNU Date

I know there are some posts on getting the time with milliseconds included and I realize unix may not be the best on this. I have seem some posts where its advised to install the GNU date. Any one know where I can download this as I am struggling to find it. Alternatively - if you have... (5 Replies)
Discussion started by: frustrated1
5 Replies

7. Programming

Gnu C

hello, i have use only TURBO C for programming.i used to did only on windows OS. but now i am trying to program on Linux systems.so i heard about GNU C tools and compiler. i am a bit confused and i want to know a very simplified answer for it. can anybody help me. what a heck is this GNU...... ... (1 Reply)
Discussion started by: vibhory2j
1 Replies

8. UNIX for Advanced & Expert Users

how to print barcodes?

Hello All, I need to print barcodes on reports being generated/printed on a Unix server. I think I can do this using a combination of PCL and TrueType fonts, but I'm not exactly sure how. Can anyone point me in the right direction? Any help would be appreciated... (3 Replies)
Discussion started by: gdrumb
3 Replies
Login or Register to Ask a Question