Skip to main content

[Migrated content. Thread originally posted on 04 November 2004]

J have an DOS-aplication using version 5.2 of Acucobol and a program is printing reports direct to the printer and using HP-PCL.
Now I want to print Bar Codes on the report.

Is there any program, e.g. an API doing this.

[Migrated content. Thread originally posted on 04 November 2004]

J have an DOS-aplication using version 5.2 of Acucobol and a program is printing reports direct to the printer and using HP-PCL.
Now I want to print Bar Codes on the report.

Is there any program, e.g. an API doing this.
What I would suggest, is that you get a hand on a bar code font, you can find free ones for download over the internet. Then, use this one with W$font and WINPRINT-SET-FONT and write your bar codes straight away.

This requires though, that you make a move to the Windows runtime. Is that a viable option?

Alternatively, I am sure that using an escape sequence, you could also download a font with the dos runtime, but most likely it would be more hassle and likely user fees?

I don't know for know anymore, but it used to be years ago, that one could purchase additional softfonts for the printers, install them, and just activate them with the correct escape sequence.

[Migrated content. Thread originally posted on 04 November 2004]

J have an DOS-aplication using version 5.2 of Acucobol and a program is printing reports direct to the printer and using HP-PCL.
Now I want to print Bar Codes on the report.

Is there any program, e.g. an API doing this.
What I would suggest, is that you get a hand on a bar code font, you can find free ones for download over the internet. Then, use this one with W$font and WINPRINT-SET-FONT and write your bar codes straight away.

This requires though, that you make a move to the Windows runtime. Is that a viable option?

Alternatively, I am sure that using an escape sequence, you could also download a font with the dos runtime, but most likely it would be more hassle and likely user fees?

I don't know for know anymore, but it used to be years ago, that one could purchase additional softfonts for the printers, install them, and just activate them with the correct escape sequence.

[Migrated content. Thread originally posted on 04 November 2004]

J have an DOS-aplication using version 5.2 of Acucobol and a program is printing reports direct to the printer and using HP-PCL.
Now I want to print Bar Codes on the report.

Is there any program, e.g. an API doing this.
You can purchase a chip (for older HP Lasers) or a downloadable font for newer ones. Then you just send the appropriate HP PCL commands to select that font. We've also used custom fonts for specific things like the company logo on letterhead.

[Migrated content. Thread originally posted on 04 November 2004]

J have an DOS-aplication using version 5.2 of Acucobol and a program is printing reports direct to the printer and using HP-PCL.
Now I want to print Bar Codes on the report.

Is there any program, e.g. an API doing this.
I have find what I was seeking for,
thanks a lot