Operating System - HP-UX
1752795 Members
6159 Online
108789 Solutions
New Discussion юеВ

Printing Barcodes using a 4100n

 
SOLVED
Go to solution
David Jardon
New Member

Printing Barcodes using a 4100n

Is it possible to print barcodes using a laserjet 4100n from a unix system. If so, how?
6 REPLIES 6
G. Vrijhoeven
Honored Contributor

Re: Printing Barcodes using a 4100n

HI David,

# echo "|||| || | |||||| ||| | |||" lp -d printername

:)

Here are some links i found using google:
http://www.tec-it.com/asp/main/startfr.asp?mainmenu=&sbmenu=&content=TBC_LINUX&redirect=&LN=1&DW=1

http://aspn.activestate.com/ASPN/Modules/dist_html?dist_id=8888

http://www.e-bizco.de/download_barcode.phtml

If you do a search you will find a lot more possibilities.

HTH,

Gideon
A. Clay Stephenson
Acclaimed Contributor

Re: Printing Barcodes using a 4100n

There is a printer module that will do this. Do a search on JetCAPS and you will find it. My method for doing this is a product called UnForm. It will do barcodes plus a whole lot more and is easy to integrate with existing applications --- including those for which you don't have the source code.
http://www.unform.com/

If it ain't broke, I can fix that.
David Jardon
New Member

Re: Printing Barcodes using a 4100n

We are basically trying to barcode a piece of information. Will I need a SIMM board?
A. Clay Stephenson
Acclaimed Contributor

Re: Printing Barcodes using a 4100n

No, it can be a purely software solution. For example, UnForm does it with software alone.
If it ain't broke, I can fix that.
David Jardon
New Member

Re: Printing Barcodes using a 4100n

We currently using unform ourselves. However, I need the command that I will have to execute to get it to barcode a piece of information that is printed on a document. Can you point me in the right direction or will the people at unform be able to help me with this?
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Printing Barcodes using a 4100n

Here's a section of one of my rules files that prints an Order Number in barcode. Our application calls for a %O to prepent the actual order number so that the scanning software recognizes the field. The order no. is stored in order_number$ which has already been assigned. The order itself is also printed just below the barcode in this example. It uses the exec() function to build up a complex barcode command that is instantiated at run-time.


precopy {
if len(order_number$) > 0 \
then \
fbarcode$ = "%O"+order_number$; \
s_title$ = "Order No: "+order_number$; \
exec("barcode 75.0,0.5,"+chr(34)+fbarcode$+chr(34)+",400,80,3); \
exec("text 80.0,2.8,"+chr(34)+s_title$+chr(34)+",shade 100,univers,6.5,left") \
fi
}

Note the 400 symbology code corresponds to CODE39 with no check digit.

If it ain't broke, I can fix that.