×
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

Embedding BMP graphic in PCL

Embedding BMP graphic in PCL

Embedding BMP graphic in PCL

(OP)
I’m working on a project that requires printing a 1D barcode onto a PCL form. The tool I use to generate the 1D barcode creates a BMP image of the barcode. I need to programmatically embed the BMP image into the PCL form before sending the form to the printer. How is this done?

RE: Embedding BMP graphic in PCL

Go to my website and have a look at the manual for my MKPCL program that does what you want.

But can't you just download a soft font of the barcode and print it directly? Which barcode symbology?

Jim Asman
http://www.spectracolorservices.com

RE: Embedding BMP graphic in PCL

(OP)
Thanks for the fast response and I will take a look at the website. Not sure if a soft font will work. I'll give you more information on our process. We have form template files in PCL format. Our software determines which template to use and injects the data into the template resulting in a temporary PCL file. The temp file is then either printed to a PCL printer or converted to EMF or PDF depending on what printing options the user selected. A new requirement has been introduced stating that we must support 1D barcodes. The barcode will contain some of the data that we add to the PCL file. I.e. the barcode is not a static barcode. It must be determined at runtime. We have looked at the IDAutomation tools but they return a BMP of the barcode not a PCL representation. We are using a very old tool for the 2D barcodes we support but it returns the PCL representation which allows us to just append it to the temp PCL file.

RE: Embedding BMP graphic in PCL

Is this on windows, unix or ???

Do you intend to support ALL 1D barcodes, selected ones, or a specific one.

I have seen in the past where the barcode migrates from the PCL file to the PDF, but while it looks OK in the PDF, it won't scan if you print it. Going to a BMP along the way has some merit.

Jim Asman
http://www.spectracolorservices.com

RE: Embedding BMP graphic in PCL

(OP)
1). Windows only.
2). currently we need to support interleaved 2 of 5 but may need to support code 39 in the future.

RE: Embedding BMP graphic in PCL

(OP)
Do you have a DLL or .NET assembly for MKPCL? Can the input/output be an in-memory stream instead of a file on disk?

RE: Embedding BMP graphic in PCL

(OP)
Thanks for your time and help. I think i will pass on the pagetech option :)

RE: Embedding BMP graphic in PCL

Our tools can insert a raster graphic anywhere into any level of PCL3-5 or XL print stream.  And, we can edit a PCL print stream by inserting the appropriate 1D barcode as vector line/box draw objects.

Option V of our PCLTool SDK does this best using PCLXForm.exe with a custom .tpt script.

Regards,
Bob Pooley
bp@pagetech.com

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