By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,483 Members | 1,909 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,483 IT Pros & Developers. It's quick & easy.

Image Prints too small (.jpg vs .bmp)!

P: n/a
My form has an image control linked to (.bmp & .jpg) files.

Each type of file will display correctly on the form and propery fill
out the ImageControl, however, when I PRINT the form, the (.jpg) file
prints normally (ie as the size it is displayed as in the image
control). The problem is the (.bmp) does not. It displays VerySmall
1/10 the size.

How do I resolve this ?

Thankyou
Greg

Dec 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
My Solution to the problem listed:
My form has an image control linked to (.bmp & .jpg) files.

Each type of file will display correctly on the form and propery fill
out the ImageControl, however, when I PRINT the form, the (.jpg) file
prints normally (ie as the size it is displayed as in the image
control). The problem is the (.bmp) does not. It prints VerySmall
1/10 the size.

How do I resolve this ?
I read the information at http://www.lebans.com/image_faq.htm
I guess I was unclear that the (.bmp / .BMP) extensions had an affect
on my situation.
I discovered, only after experimenting over & over that the
(Uppercase BMP = Office Graphics filter - Printed Normal)
(Lowercase bmp = bypass Office Graphics filters - Printed Very Small)
had an impact on my problem.

Bottom line is that when I changed the .bmp extension to .BMP, my
bitmap images printed normally. You must make sure that the file
extension is reflected in your code path, since I believe that the
actual file name extension seen on disk does not matter.

Since the .BMP extension uses OfficeFilters, and since I wish to avoid
that for application distribution reasons, I discovered that another
solution worked for me. See the following code:

' Turn ZOOM ON before print and return to CLIP after print
imgFrame.SizeMode = acOLESizeZoom
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
imgFrame.SizeMode = acOLESizeClip

Thankyou Steven Lebans.com

Dec 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.