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

Re: Printing image



Hi Fong,

Please try this code. Insert the BMP in the path specified. I am also sending 
BMP or you can use you own BMP.


  

Dimensions plays a major role in printing the Image. In my code the dimensions 
are (10,5) which means the image takes 10 as width and 5 as column from the 
print coordinates (1,1)

Hope this will solve your problem. If you still get the same problem please 
send your code.


Pramod Parepalli
Intelligroup Asia Pvt Limited
Hyderabad
India

----------
From:   FONG_FAI[SMTP:FONG_FAI@SMC.EDU]
Sent:   Friday, April 23, 1999 4:16 AM
To:     Multiple recipients of list SQR-USERS
Subject:        Printing image



I'm having problem printing an image.  I keep getting just an empty box 
with
no image.

1.  Do you have to get the dimension of the image correctly to show?  or
Does SQR scale it according to image-size (39,7)?

2.  Also it is really confusing as to what that numbers should be.  I 
looked
at an SQR example that supplied by Scribe.
where an 747x292 pixels bmp file (7.78"x3.4") converts to 
image-size=(39,7).

I ran this sample sqr (on the 3.0 CD), I still get an empty box while all
the graphic boxes on the same page came out.  I made sure the path is
correct.


-Fai Fong
Santa Monica College

Attachment: balaji.sqr
Description: Binary data

Attachment: Balaji1.bmp
Description: Binary data