[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
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/