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

Re: Problems with JPEG in PDF



We're using JPEG files to print signatures on checks, instead of going the
typical font-cartridge route, so I can tell you that JPEG can work fine
with the PDF format (SQR 6.1.4).

However, I completely sympathize with your plight.  It seems that
different graphic formats work with each output format.  I've had to do a
lot of experimentation at times to get things to work right (I think I
finally settled on a 16 color BMP as the only thing that worked for fax
output).

Things you may want to play with are the size of the image (width,
height), the size of the file, the number of colors, and the compression
format.  I've seen some JPEG files use compression schemes that can be
displayed by some programs, but not by others.

And just for comparison, here's the snippet of code used in our PAY003.SQR
to print signatures:

  let $sig_file = 'd:\psoft\tools815\signatures\' || $Company ||
'_SIG.jpg'

  print-image (72,0)
    type = JPEG-FILE
    image-size = (55,8)
    source = $sig_file
    graphic                       (#row,1,51) horz-line 7


I'll send a JPEG file that you can test with directly to your e-mail.

Chris

On Thu, 11 Apr 2002, Seth Earnhardt wrote:

> Thanks for the response, however, I have seen a few postings where individuals
> have apparently been successful displaying .jpg files within a pdf and were
> able to print from there.  Sound familiar?
>
> Thanks again
>
> "Mueller, Daniel" wrote:
>
> > Yes.  I have been down this road.
> > SPF format is the only format that supports graphical images.
> > Furthermore, have the image in a location that is accessible
> > at the time the SPF document is viewed.
> >
> > Example:
> > Our users run SPF report on the Unix server,
> > and specify Type=Web, Format=SPF.
> >
> > The .jpeg source resides on the NT file server, not on Unix.
> >
> > > -----Original Message-----
> > > From: Seth Earnhardt [SMTP:searnhar@AEROTEK.COM]
> > > Sent: Thursday, April 11, 2002 10:13 AM
> > > To:   SQR-USERS@list.iex.net
> > > Subject:      Problems with JPEG in PDF
> > >
> > > Have followed all previous recommendations to no avail.  In PS 8 the pdf
> > > file displays a box with diagonal lines.  I have verified the image
> > > (.jpg) and source via .htm output.
> > >
> > > Any suggestions?
>