×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Barcode printing using PCL

Barcode printing using PCL

Barcode printing using PCL

(OP)
Hi All,

We have a requirement to print barcodes in reports. Any idea how this can be achieved? Is there any special font characteristic that allows barcode to be printed?

Is it possible to adjust the height and length of barcodes?

Thanks
DSARO00

RE: Barcode printing using PCL

dsaro00,
how are the reports generated?  what are they printed on?
regards,
longhair

RE: Barcode printing using PCL

(OP)
The data for writing barcodes is retrieved from a database table. These barcodes will then be printed, and then pasted on customer cards.

RE: Barcode printing using PCL

dsaro00,
are you writing the code for the barcode printing or using someone elses?  if writing it and using HP laserjet printers you will need the HP DIMM barcodes and more.  from there you will need to code the proper escape sequences to notify the printer to print the barcode rather than the literal string.
hth
regards,
longhair

RE: Barcode printing using PCL

Not many PCL printers have resident bar-code fonts, although there are a few that do.

So you will probably have to obtain a suitable PCL format font (for the bar-code symbology you have chosen); this may be provided as either:

hardware (DIMM or equivalent)
software (downloadable PCL-encapsulated format)

Then you would be able to select the font (by ID, or via characteristics; font vendor should provide details).

You may need to add things like stop/start characters, calculate checksum character and maybe even translate characters (if the font characters do not have one-to-one correspondence with actual character codes).

RE: Barcode printing using PCL

(OP)
Hi,

Do you think Lexmark T630N, HP4250 and HP9050 will have resident bar code fonts? Those are the printers we use.

Thanks
DSARO00

RE: Barcode printing using PCL

Go and have a dig around at Barcode-1

RE: Barcode printing using PCL

dsaro00,
don't know about lexmark, but as i said for HP's you need to get the HP DIMM called 'Barcodes and More' in order for the printer to understand the escape sequences that will generate the barcode.
another option is a software one using .pdf where the barcode is an image in the file rather than being interpreted by the printer.
hth
regards,
longhair

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close