[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Printing Image logo on HP printer



Franck,

I don't have any direct personal experience with tools
to convert gif or bmp images to HPGL, but I do have a
couple of thoughts that may be helpful.

1) I have heard that a program called HiJaak Pro will
perform a number of conversions, including one that will
produce HPGL files in the correct format.  As I said,
I don't have any experience with the program.

2) I have hacked programs before that convert an HP PCL
bitmap into a HPGL raster scan.  The problem with HPGL
is that it's a pen plotter oriented protocol, not a bitmap
protocol.  When I've had to do this, I turn each line of
the bitmap into a string of 0's and 1's, and then produce
HPGL that lowers the pen for a transition from 0 to 1,
and raises the pen for a trainsition from 1 to 0.  Sorry,
but I did the work on a client project to convert a single
logo and no longer have the source code.  Also, not that
the original bitmap must be black and white; I can't put
the pen halfway down, or change it's color.  Finally,
SQR looks at the first few HPGL commands to see how big the
image is so that it knows how to scale it to fill the box
that you specify in the print-image command.  This means
that you should probably decide how big you want the logo
to be when you print it, and then set the number of scan
lines in the HPGL to match the printer resolution.

3) I have seen some programs which produce HPGL output from
a bitmap, but they usually do this by producing an outline
of the shaded areas of the image.  If your logo is mostly
comprised of thin lines, this may not work.

Hope this helps.

Ray

> does any one have experience of printing logo on HP printer using SQR on
> unix server ?
>
> I know it is possible with HPGL format but my images are not in this
> format. It is GIF or BMP images.
>
> Do you know a work-around ?
> or do you a tool that convert GIF or BMP in HPGL.
>
> thanks for your help
>
> franck,

Content-Description: Card for Franck Masson

[Attachment, skipping...]

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Time for a new signature line."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/