473,788 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3492
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.SizeMo de = acOLESizeZoom
DoCmd.DoMenuIte m acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
imgFrame.SizeMo de = 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
3604
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 contain graphics) SELECT tblMain.UniqueID, tblMain.myField, tblGrahic1.ImageField1, tblGraphic2.ImageField2 FROM (tblMains LEFT JOIN tblGraphic1 ON tblMain.ImageID1 = tblGraphic1.ImageID1) LEFT JOIN tblGraphic2 ON tblMain.ImageID22 =...
0
626
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" ); using ( Graphics g = Graphics.FromImage( inputImage ) ) { g.DrawLine( new Pen(Brushes.White), 0, 0, 1, 1 ); } inputImage.Save( @"c:\temp\sink.bmp", ImageFormat.Bmp );
3
1729
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 background. In both applications the image is there, but has been reduced to something less than half a postage stamp. Other than that All seems to work. All the setting look okay. Tried changing a few with no affect as to size.
15
31813
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 help. Regards
2
3765
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 BinaryWriter(fStream); img.Save(bw.BaseStream, ImageFormat.Bmp);
4
1780
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 image). how can I do that? what library do I need to use?
0
1092
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
1741
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. My problem lies with viewing the image, the image wont show. I looked at the source code of the image and it seems to be because PHP is writing data to the top of the file, HTTP/1.1 200 OK Set-Cookie: JCPARPT=ZLNIZZSSRVDXECKKMO; path=/...
4
2262
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 this. i need to know i am not clear in my question.
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.