Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ApexData@gmail.com - 26 Dec 2006 23:05 GMT
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
ApexData@gmail.com - 28 Dec 2006 19:24 GMT
My Solution to the problem listed:

> My form has an image control linked to (.bmp & .jpg) files.
>
[quoted text clipped - 5 lines]
>
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.