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

Insert image in a PCL5

Insert image in a PCL5

Insert image in a PCL5

Hi guys. I have look every were i could go and i found nothing. I want to insert a logo in the top of my page.

i got this code so far but for the logo big ?????.



i want o insert a logo on the top at left and i realy dont know want to code for.
this is my logo.

thank you guys.

RE: Insert image in a PCL5

You need to convert the logo image to PCL first, and then use that binary file to print the logo.

Typically, you would set the image up as a PCL macro, and have the printer automatically place the logo on every page.

The idea is that you would send the macro file to the printer before the print job so the logo is resident in the printer, and then simply issue a short PCL code on the first page to enable the macro overlay, and voila, you have a logo on every page. Easy stuff.

Are you printing color or BW? PCL3 or PCL5 printer?

Go to my website and download the mkpcl.pdf manual for some general discussion.

Jim Asman

RE: Insert image in a PCL5

I will be printing in BW and it is a pcl5 printer.

RE: Insert image in a PCL5

Then you shouldn't have much difficulty in getting it to work. I assume you have the PCL5 technical publications.

Jim Asman

RE: Insert image in a PCL5

i got this error.

failure - error 26: Cannot create temp file !

Other thing is there a way to do it without your programme because my boss realy dont want it and want it to put that in a .ldl

thank you

RE: Insert image in a PCL5

You need to create the directory \TEMP first.

Sure! Print the logo to a file through a windows printer driver and then edit out the stuff you don't want. Just make sure that the editor is capable of editing a binary file.

Generally, you want to keep the resolution command, in the form <1b>*t###R where ### is the dpi, probably 600. Then delete everything up until <1b>*r1A . Keep that and everything up to and including <1b>*rB.

Delete the rest, add the macro envelope, and you are good to go.

Jim Asman

RE: Insert image in a PCL5

could i have your e-mail because me and my partnar have try what you said and it is not working.

We try to take the code that your demo have done. i copy it to my code that i post in the top.

RE: Insert image in a PCL5

PCLWorks Program ($89) includes IMG2PCL.exe.  IMG2PCL can convert a TIFF or JPEG file into a PCL file, in-stream PCL, a placable logo macro or a full page overlay macro.

You have to be an expert in PCL to figure-out how to edit a Windows temporary printstream into a macro.  It used to be easier, but it's way too much effort when a tool like IMG2PCL is available.

Go to www.pclworks.com.  Or, first download PCLTool SDK Demo (which includes IMG2PCL.exe).

Bob Pooley

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