[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Images in UNIX SQR reports
Thanks everyone, it works.
After numerous trial and errors, I can verify that Ray has clarified the key
parts I was stumbling on.
By the way, the bmp to hpg utility did produce a hpgl image type that did
print OK in a UNIX run sqr. We really needed a PDF, and both the gif and
jpeg images work great and don't require any major code changes.
Bruce
-----Original Message-----
From: Ray Ontko [mailto:rayo@ONTKO.COM]
Sent: Thursday, January 03, 2002 3:28 PM
To: SQR-USERS@list.iex.net
Subject: Re: Images in UNIX SQR reports
Bruce, et al,
The hpgl image can only be used with "-printer:hp".
If you want a PDF output file, you need to use GIF-FILE or
JPEG-FILE, and "-printer:pd" or "-printer:ep".
PDF support was added with SQR 4.3.2.2.
Ray
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Great suggestions. This is exactly what I have been trying, but still no
> image, even after using the bmp to hpg converter.
>
> Do you know if an ADOBE pdf file can be created on UNIX with an image?
>
> Any other possibilities to check?
>
> Thanks,
>
> Bruce Kelling
> PeopleSoft Developer
> AdvanTech SolutionsSM
>
>
>
>
> -----Original Message-----
> From: Steve Wowelko [mailto:SAWOWELK@SYR.EDU]
> Sent: Thursday, January 03, 2002 9:41 AM
> To: SQR-USERS@list.iex.net
> Subject: Re: Images in UNIX SQR reports
>
>
> Hi Bruce,
>
> I've spent weeks trying to get this to work.
> I finally did get it to work.
>
> Here's what I had to do-
>
> Declare your printer as an HP printer. I used a PeopleSoft supplied .sqc:
> #include 'setup31.sqc' !Portrait HP Printer
>
> Declare your image as an HPGL image:
> declare-image A1
> type=HPGL-FILE
> source='/opt/psoft/syracuse/hrsa750/sqr/iofiles/registr/signature.hpg'
!
> location on UNIX server
> image-size=(40,6)
> end-declare
>
> Then just print the image:
> print-image A1 (66,8)
>
> The real (frustrating) problem is creating an HPGL file that SQR likes.
> I have tried various graphic packages to do this to no avail.
> There is a SQR that will convert a .bmp file to an .hpg (HPGL) format.
> It is found at the following web site:
> http://www.ontko.com/sqr/bmp_to_hpg.sqr
>
> It is shareware written by Ray Ontko. It does a wonderful job converting
> images. (thank you Ray!)
>
> Hope this helps.
>
> Stephen Wowelko, EDP
> Syracuse University - Information Systems
>
>
>
> >>> jwillson@DSSLTD.COM 01/02/02 02:12AM >>>
> Hi Bruce. See the print-image command. Note that on UNIX only reports I
> have
> only used this command with postscript reports. So before invoking the
> command
> I also do an image sizing procedure to ensure the image is scaled (with an
> aspect
> ratio) into the area that is being printed. I no longer have a copy of
UNIX
> based SQR to test this on and provide examples; however, I can confirm
that
> SQRs developed under WINNT BR 6 using postscript and nonpostscript when
run
> on UNIX BR 6 just execute faster and print the same. (both gif and jpg.
I
> don't know about bmp) So write and debug with NT and run production with
> UNIX
>
>
> Hope this helps.
>
> John Willson
>
> Another approach
>
> graphic box somesize
> print-image
> type= gif-file
> source = 'myimage.gif'
> image-size = somesize
> http://netwinsite.com/dbabble/
>
----------------------------------------------------------------------
Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/