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

[sqr-users] Need help with placing an image in SQR report v 4.3.4



Hello All
   
  I am in a desparate need to print a signature (Jpeg file) to an existing SQR 
report. I tried the following code (test code) which keeps failing and gives me 
the following error:
   
  Error on line 20:
   (SQR 6108) Invalid chart size or placement.
   
  The code is as follows:
   
  begin-setup
declare-report label_report
      layout=default_label
      printer-type=hp
   end-declare
   declare-layout default_label
      orientation=portrait
      left-margin=0.5
      top-margin=1.85
      line-height=4.5
   end-declare
declare-image logo
type = JPEG-FILE
image-size = (336,115)
source = 'd:\carl2.jpg'
end-declare
end-setup
  begin-program
print-image logo (1,1)
end-program

   
  Thanks for all the help in advance,
Sonny

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