[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Print-Image problem...
Irena,
You can try the following approach:
- if you generate a spf file - define your image source as bmp image
- for pdf output file use jpg image file ( you'll need to convert you
original bmp file to jpg)
You might need to define a new report param (let's say $report_output_type)
which will tell your report what image to use
DECLARE-IMAGE your_logo_bmp
TYPE = bmp-file
IMAGE-SIZE = (36, 36)
SOURCE = 'your_logo.bmp' ! spf output
END-DECLARE
DECLARE-IMAGE your_logo_jpg
TYPE = jpeg-file
IMAGE-SIZE = (36, 36)
SOURCE = 'your_logo.jpg' ! pdf output
END-DECLARE
If $report_output_type = 'SPF'
PRINT-IMAGE your_logo_bmp (12,8)
Else
PRINT-IMAGE your_logo_jpg (12,8)
End-if
Note: For Sqr version later then 6.x there is a different approach.
Genady Sosnovsky | Ray Ontko & Co | genadys@ontko.com
----- Original Message -----
From: "Shevchenko, Irena" <ishevchenko@co.san-joaquin.ca.us>
To: <sqr-users@sqrug.org>
Sent: Friday, November 08, 2002 1:53 PM
Subject: [sqr-users] Print-Image problem...
> Hello,
>
> I'm trying to print company's logo on the report, using Windows o.s. When
I
> define the output as .spf , (working from my computer) , I'm getting a
> printout of logo. But I need to do it through Process Scheduler, using
> Acrobat Reader. All I'm getting is a rectangle with two diagonal lines...
> If there is some additional code has to be used to do it in Acrobat
Reader?
> I'm using very simple code:
> Print-Image (3, 45)
> Type=bmp-file
> Source: 'M:\user\Sjflat.bmp'
> Image-size= (8,4)
> If somebody has any ideas, please help...
>
> Thanks,
> Irena
>
> _______________________________________________
> 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