[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Problem with PRINT-IMAGE function
Dave,
To generate PDF files, you CAN also use gif files. We use them all the time
on our reports.
HTH,
Louise
-----Original Message-----
From: Benzenhafer, Dave [mailto:DBenzenhafer@houston.deepwater.com]
Sent: Friday, May 02, 2003 4:42 PM
To: 'sqr-users@sqrug.org'
Subject: RE: [sqr-users] Problem with PRINT-IMAGE function
PDF files will only recognize JPEG files.
You need to declare the image in the setup section like
DECLARE-IMAGE TO_logo
type=jpeg-file
image-size=(22,2)
source='to.jpg'
END-DECLARE
And then in a procedure
Print-Image TO_logo (1,126)
Good luck
Dave Benzenhafer
dbenzenhafer@houston.deepwater.com
-----Original Message-----
From: luc.vallee@vtl.ca [mailto:luc.vallee@vtl.ca]
Sent: Friday, May 02, 2003 3:28 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Problem with PRINT-IMAGE function
Hi,
I think I'm not first to have this kind of problem with SQR.
I'm trying to put an image on my PDF report (-PRINTER:PD) and I always get a
box with diagonals in it instead of the image.
I use those lines of codes:
print-image (81,35)
type = gif-file
image-size = (30,20)
source = 'logo4.gif'
and tried different options like:
- Use different types of image (jpeg and bmp)
- Specifying the full path of the file ex: ( source =
'/export/home/valleel/test_sqr/logo4.gif' )
- Use a "declare-image" statement then use the declared image name with
"print-image"
But always get the box with diagonals instead of the image in the PDF.
I'm using SQR v5.1on Sun-Unix and created the gif, bmp and jpg files using
Paint Shop Pro for windows.
Any help or hints would be greatly appreciated
Thank you
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users