Printing a barcode from the O specs of an RPG program

pts.
Tags:
Printing
RPG
RPGLE
Specifically, I need information on how to print a barcode from the O specs of an RPG program. I found an example to print a barcode by passing hex in the O specs, but I didn't understand the how to part. I realize this is an older way of printing a barcode as I am aware of how to use the DDS and RPG combined to accomplish the same thing. However, the software application program already has the printer file in the O specs of the RPG program. Essentially, all I am doing is adding the barcode to the bottom of the printer file in the O specs. Any help would be greatly appreciated.

Answer Wiki

Thanks. We'll let you know when a new response is added.

The lone solution I know is to built the list with DDS using the function BARCODE where you can specify the barcode (128,39,…) that you wantto use.
Example :
0007.00 A 1 3’code article ‘
0008.00 A CODART 10 O 1 25BARCODE(CODE128 *HRZ *HRI)

the printer must be IPDS

Good luck

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Wooting
    Thanks for the reponses. I did conclude that the hex codes used in the O specs are dependent on the printer. The printer is a Lexmark T630. I'm going to attempt calling their technical support. Thanks, Alicia
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following