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

[sqr-users] Image not getting printed to its full size



Hi all,

I am trying to print an jpg image to its full size  in
SQR in Portrait orientation, A4 paper. The width of
the image in SQR output  is reduced in  size by 2
millimeters. The SQR version used is  " SQR for
PeopleSoft/8.42/PC/Windows NT 4.0/Oracle 8.0.6/Nov 05
2002 " .The code used is as follows: 


begin-setup

declare-layout def                       
paper-size=(8.27 in, 11.69 in)                  
top-margin=0.4 in                               
        left-margin=0.0 in                                      
        right-margin=0.0 in                                                     
        bottom-margin=0.0 in                                    
        orientation=portrait                            
end-declare

declare-report r1
layout=def 
end-declare

declare-image I1
        type                    = JPEG-FILE
        source          = 'C:\scan0006.jpg'
         image-size             = (81,65)
end-declare

end-setup

Begin-procedure im1
use-report r1

print-image I1 (0, 0)

        type                            = JPEG-FILE
        source                  = 'C:\scan0006.jpg'
        image-size              = (81,65)

End-procedure

begin-program
do im1
End-program

Thanks,
Chandra.


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users