Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...this web site is a 'Godsend' for me. If I have a programming problem that I'm unable to solve, I'll get a sensible reply in no time. It's really great!..."

Geography

Where in the world do Tek-Tips members come from?
tal6499 (Programmer)
9 Feb 12 9:42
Hi,
I want to reuse a PCL raster image that is defined once in stream and required to placed with different scales on multiple pages.

If any other work around is possible for reusing the same image for different sizes(resolution).

Kindly reply.
tal6499 (Programmer)
9 Feb 12 9:50
****
Question relates to PCL5e.
****
jlasman (TechnicalUser)
9 Feb 12 11:15
If the image is defined as a macro, then you can call the macro as many times as you need it. If this is a logo that you just want to print at the same position om every page, you can enable the macro as an automatic overlay and the printer will do all the work for you.

See the chapter on macros in the PCL5 tech reference. You might also go to my website and grab a copy of the MKPCL manual for some
help as well.
 

Jim Asman
http://www.spectracolorservices.com

tal6499 (Programmer)
9 Feb 12 11:21
but i want different sizes for this image on different pages. Will this be possible?
tal6499 (Programmer)
9 Feb 12 11:22
with just a macro
jlasman (TechnicalUser)
9 Feb 12 12:11
No, not as such, but...

If you have 2 or three different sizes, make a different macro for each of the sizes, download them all to the printer at the head of the job, and then logic in your application would call the appropriate macro when needed.

You need to give a bit more detail as to what you are doing.

Jim Asman
http://www.spectracolorservices.com

tal6499 (Programmer)
9 Feb 12 12:19
This is the scenario:
I get some images first then the details where these images are to be placed. Detail contain there position on those pages with sizes.


Will it be possible to construct the PCL image once and place it on different pages with required sizes?

Currently images are placed with copies on all pages.
e.g if an image is required on 40 pages. it will be constructed as PCL raster 40 times with the required resolution on that page.
jlasman (TechnicalUser)
9 Feb 12 12:33
The only way you could change the size at the PCL level would be to print the image at different resokutions, This is not likely to be satisfactory for sizing or quality.

In the 40 versions of the image, how many different sizes are there?

Jim Asman
http://www.spectracolorservices.com

tal6499 (Programmer)
9 Feb 12 13:38
its on user , it can be 40 different resolutions or any.
tal6499 (Programmer)
9 Feb 12 13:40
actually we are trying to minimize the stream length and also the overhead to recreate the raster.
jlasman (TechnicalUser)
9 Feb 12 14:23
Are you compressing the raster data when the pcl file is created?

How are you creating the raster data to begin with? I assume that you are supplied a .bmp or whatever image file. Yes?

If you have potentially 40 different sized images in the same job, I don't see how you could avoid having 40 different raster pcl images.



 

Jim Asman
http://www.spectracolorservices.com

tal6499 (Programmer)
9 Feb 12 14:29
we have all compressions implemented.
But still we want to minimize the stream.

but thanks for the time.
DansDadUK (Programmer)
9 Feb 12 16:20
Perhaps use 'arbitrary' Raster Scaling in conjunction with a macro storing the 'base' raster image?

Arbitrary scaling is only available on a few printers (perhaps large colour or greyscale capable devices?)

It requires use of the 'Configure Image Data', 'Destination Raster Width' and 'Destination Raster Height' sequences.

... and before you ask, I haven't tried anything like this myself!  
tal6499 (Programmer)
9 Feb 12 16:26


>>Perhaps use 'arbitrary' Raster Scaling in conjunction with a macro storing the 'base' raster image?
>>It requires use of the 'Configure Image Data', 'Destination Raster Width' and 'Destination Raster Height' sequences.

ok,
could you plz elaborate these terms.
i have not seen any thing like this in hp manuals.

i had the idea of a macro for base raster, but it failed due to different resolutions.
DansDadUK (Programmer)
10 Feb 12 4:58
>> could you plz elaborate these terms.

Described in the HP "Colour Technical Reference" manual (bpl 13212).

... but (as I mentioned before) these sequences are not supported by all PCL5 printers (certainly not by my LJ 1320n).
tal6499 (Programmer)
10 Feb 12 8:53
k, i will have a try.
and what would you think be the preferered approach to minimize pcl stream size in case of many images. Just compression or any ideas?
DansDadUK (Programmer)
10 Feb 12 13:22
>>... or any ideas ...

Raster graphics is not really my area of expertise, sorry.

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!

Back To Forum

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