×
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

BMP 2 PCL

BMP 2 PCL

BMP 2 PCL

(OP)
I'd like to know if there's a software that converts a bmp image to PCL5 raster file to be used in a report...
I usually prints the bmp image to a text file using the HP Laserjet 6L printer driver to generate de PCL5 code, but would like to make it by a different way!!!!!

Thanks!!!!

Luciano - Brazil

RE: BMP 2 PCL

Look at the earlier thread on "embedding an image into
a PCL document".

jim asman

RE: BMP 2 PCL

Hi everbody.
I am working on a unix environment, and using PCL I have already created the logo of the company. I've been trying to call the macro as an overlay but it doesn't work, so I am just calling the macro with 3X. I spooling five pages in just one printjob. but the logo just print on the first page...How can I do, to make the logo printing on each page?????

Thanks is advance

RE: BMP 2 PCL

Either your enable the macro for AUTOMATIC overlay
with 4X once at the beginning of the job or if you run
the macro with 3X you have to call the macro on every
page. For an automatic overlay, put positioning code
inside the macro.

Jim Asman

RE: BMP 2 PCL

Hi again:
I figured out how to print the logo on each page, but I am having a little problem...I don't know why on the first page is skiping 1 line before printing the text. I've trying to fix it, but still don't get it...
If you have any ideas, they are welcome..
Thank you

RE: BMP 2 PCL

If your text is down a line on the first page,
I would suspect that the file containing the macro
has a spurious linefeed buried in it. It is easy
for "rot" likes this to creep in, particularly if
you send several macros to the printer in the file.

What I usually do as a pre-emptive strike is to put
the code <esc>&a0R as the very first thing on the first
text line. This code will postion the printing to line 1
so if any unwanted LF's find their into the macro
file, the code will get you back to the first line.

The skipping only happens on the first page because
the overlay is only loaded at the beginning of the
print job.

Jim Asman
jim@spctra.wimsey.com

RE: BMP 2 PCL

To: Jlasman
From: malila73.

I checked on my file and I have already added &a0v0H, but anyway I change my code and replaced with your suggestion &a0R but still down a line on the first page...
Do you have any other suggestion that might work? This is my final step and I am stuck with it.
Thank you again.

RE: BMP 2 PCL

Normally, you wouldn't want to goto point 0,0 if your
line was text. &a0R puts you on the baseline of line 1
not at the very top. The absolute baseline position is
dependent on the linespacing.

Can you print to a file including the macro
and email it to me and I will have a look.

Maybe then it will be clear.

Jim Asman

jim@spctra.wimsey.com

RE: BMP 2 PCL

Do you have the &a0R printing on every page or only
on the first page? If only on the first page, make
sure it prints on the first line on every page.

If the # of text lines in the PCL page format was
out of sync with the # of lines your application
was printing, this could explain the behavior you
are seeing.

Jim Asman

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