×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Print Image Using PCL

Print Image Using PCL

Print Image Using PCL

(OP)
I have researched this and still cannot find a useful tutorial or explanation of how to do this. The HP documentation gives a great list of steps and then at the part where the image data is used, it says "transfer the raster data to the printer..." My question is how does one do that? Here is what I want to do. I continually print several documents with digitalized signatures, etc on them and I have found a way to pull all of the text information from the database into a report automatically, but without the graphics, the automation is worthless. As a result, I need to render these signatures and such to PCL images so they can be printed on the page. So far, I used Image-Magic to convert an image to a PCL file. That file looks like gibberish, but I can see the binary data in a binary viewer. Does each line of this file need to be converted to binary and then hard coded as PCL codes into my report? Ideally, I would like to upload the image to the printer and simply reference it in my code as is the case with fonts. Anyhow, any help is greatly appreciated!  

RE: Print Image Using PCL

Well, you need to "print" the PCL file; i.e., copy the PCL file to the printer. The trick is to build the image as a permanent macro so it won't print immediately when sent to the printer, but rather later when it is executed in your code.

To get the macro into the printer...

From DOS    copy /b pclfile LPT1: (or other printer port)
or                copy /b pclfile \\servername\printersharename
      
From Unix    lp -d printername -o raw pclfile

Go to my website and grab a copy of the MKPCL manual where you
will find a motr detailed explanation.
                

 

Jim Asman
http://www.spectracolorservices.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