473,385 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
1 3476
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lauren Quantrell | last post by:
I have a recordset that joins five tables. Two of the tables contain a field that contains an image (a small bmp file 32x32 pixels). The join looks like this (omitting the other tables tha tdon't...
0
by: F. Hall | last post by:
If I read a bitmap image from one file and save it to another the save operation is slow unless I draw on the image. In other words, Image inputImage = Image.FromFile( @"c:\temp\source.bmp" );...
3
by: Clint Stowers | last post by:
Running A2k on Win-2000 platform Just tranferred my applications on to new hard drive ( Different PC ) that has just been setup. I have two applications that use an image files (Linked) as a...
15
by: Anand Ganesh | last post by:
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and...
2
by: Peder Y | last post by:
My code is something like this: --------------- Image img = Image.FromFile("somefile.bmp"); FileStream fStream = new FileStream("someBinaryFile.dat"); BinaryWriter bw = new...
4
by: Kevin | last post by:
for uploading image, I can use System.Web.UI.WebControls.HtmlInputFile libary in codebehind. but if resolution size is too big, I want to resize the picture to 800X600 and then do upload(save...
0
by: Andrew Bullock | last post by:
Hi, Is this possible? If so can someone please give me an example of how to do it? Thanks Andrew
14
by: Anthony2oo5 | last post by:
Hey, I'm trying to remotely download an image to my server via the web and an URL that the user inputs. I have managed to do this with a cron job, and write the file to the system no problem. ...
4
by: waqasahmed996 | last post by:
hi to all i want to show image on page in fix size of 300*300. images which have size more than that should also show in that size with same picture quality. is it possible? if yes how can i do...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.