Midrange News for the IBM i Community


Posted by: Krishna Ganti
2D BARCODE Label printing - DDS help
has no ratings.
Published: 20 Nov 2014
Revised: 18 Dec 2014 - 3410 days ago
Last viewed on: 19 Apr 2024 (6062 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

2D BARCODE Label printing - DDS help Published by: Krishna Ganti on 20 Nov 2014 view comments(4)

Hi

I am working for a small company, they dont want to buy any third party software to design labels, so I have to code it in DDS and print the label with 2D barcode.  I know how to do the 1D barcode in QPRINT, but I never coded 2D in DDS. I always used BARCODE 400 software for that.

Do anyone have example of working DDS for 2D BARCODE Label printing? if yes, can you share the code.

appreciate any help with this.

 

Regards

Krishna

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: 2D BARCODE Label printing - DDS help
Posted: 9 years 5 months 6 hours 5 minutes ago

If you want normal 2D, check out the BARCODE keyword and PDF417 or MaxiCode options on that keyword.

http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzakd/rzakdmstptbarco.htm

You really need to be on a later release; if you're on V5R4 or earlier, you can do it, but it requires more work and has more restrictions. On V7R2 it is pretty complete support, on v7.1 it has most of what you'll need.

Posted by: kganti
Premium member *
Comment on: 2D BARCODE Label printing - DDS help
Posted: 9 years 5 months 1 hours 31 minutes ago

 

Bob

Thank you.

This is what my 2D barcode should have..

 

 

 https://drive.google.com/file/d/0B_9XhNyqPoUIT2FWVnJHWElzN1k/view?usp=sharing

Can this be done in v6r1?

if not Which Barcode software you recommend , i am looking for a one with reasonably priced.

Regards

Krishna

 

Posted by: DaleB
Premium member *
Reading, PA
Comment on: 2D BARCODE Label printing - DDS help
Posted: 9 years 4 months 26 days 11 hours 28 minutes ago

6.1 BARCODE() does support PDF417. Here's an example I found:

A       R  #PDF417B
A          EDI#P        512A       BARCODE(PDF417 *VRT +
A                                  X'00' (*WIDTH 0.010) +
A                                  (*PDF417 12 *MIN 5))
A                                  POSITION(0.475 4.031)

Seems like your requirements are more about the content than the barcode presentation.

The RS and GS in the data area probably ASCII Record Separator and Group Separator, x'1E' and x'1D'. I think these correspond to EBCDIC IRS and IGS, also x'1E' and x'1D', but you may need to confirm that they actually translate that way in your translate table.

Posted by: kganti
Premium member *
Comment on: 2D BARCODE Label printing - DDS help
Posted: 9 years 4 months 3 days 4 hours 35 minutes ago

Dale

Thank you, sorry, i didnt see your response till today.

 

Krishna