5 pts.
 Barcode CODE3OF9 printing in V5R3 with *HRI option
I am trying to print the barcode using the option BARCODE(CODE3OF9 2 *HRI) in printer file. The barcode is printing successfully but the exact value of that field is not printed below the barcode as expected. Please let me know if you have any solution for this.

Note: The exact value of the barcode should be printed below the Barcode without any space. 



Software/Hardware used:
OS/400 Version V5R4
ASKED: August 11, 2011  11:18 AM
UPDATED: March 31, 2012  6:51 PM

Answer Wiki:
This is from one of our print files which does the same thing. <pre>TICKET# 7A 69BARCODE(CODE128 2 *HRI (*RATIO 2.- 00) (*WIDTH .018)) </pre> There is a comment in the source code to compile the print file as *AFPDS.
Last Wiki Answer Submitted:  September 6, 2011  4:33 pm  by  WoodEngineer   5,525 pts.
All Answer Wiki Contributors:  WoodEngineer   5,525 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

What do you mean by ‘exact value of that field’?

BTW, you have to have some space between the barcode and the text.

 5,670 pts.

 

This prints a seven long field barcode with the value centered beneath the barcode.
INV7 7A 28BARCODE(CODE3OF9 2 *NOHRI (*WIDTH .01))

 1,000 pts.

 

What difference is there between the contents of the field with the BARCODE keyword and what is being printed?

 5,670 pts.

 

Code 39 barcode generator
 
Any chance you can explain how this helps the question in the slightest? It won’t run where needed, so it appears to be nothing but an attempt at unpaid advertising. That’s a good way to let potential customers know vendor business ethics.
 
Tom

 108,055 pts.

 

I wonder what the exact value is, and you may try to remove the “*” characters at the beginning and end of the code 3 of 9.

 70 pts.