473,398 Members | 2,088 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,398 software developers and data experts.

Print OLE Object/Image Picture

Hi All,

I am currently using an unbound OLE object to display images stored in a
folder. I want to be able to print these images from their normal format
(it just happens that these are A4 scanned documents) so they would
simply come out as 1 sheet and good quality. I have a print button on my
form, and one image is displayed per record.

How can this be done using an Unbound OLE Object? Or will I have to use
an Image Frame?

TIA

Alec Christie
alec_e_christie(at)hotmail(dot)com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
1 8092
"Alec" wrote
... I want to be able to print these
images from their normal format
(. . . A4 scanned documents) so they
would simply come out as 1 sheet
and good quality How can this be done using an Unbound
OLE Object? Or will I have to use
an Image Frame?


I'd _guess_, by carefully designing a report with no Headers or Footers of
any kind, a Control (I always use Image, but the unbound OLE may work) sized
as big as you can size it, in the detail, and margins set as small as they
can be set, and passing it the path to the image in question.

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: S Shulman | last post by:
Hi all Does anyone knows how to print an image without openning the file from VB.NET Thank you, Sam
0
by: Buzz | last post by:
Please can anyone advise on how to use PHP to print an image for WAP. I can get print to work with .jpgs on a www. page or through a mobile phone browser (transitional doctype) : <h4>Picture...
1
by: Drunkalot | last post by:
How can I print an image, i need to specify the position in the paper... s...
1
by: S Shulman | last post by:
Hi I am looking for sample code to print an image file from VB code image can be .jpg, .bmp etc. Thank you in advance, Shmuel Shulman
3
by: CG3000 | last post by:
I have an Image in a picture box in VS 2005 that I want to print using the following event handlers: Private Sub btnPrintLabels_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
4
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property,...
1
by: robert10 | last post by:
Hi, Can someone please help me with finding some code to print an image which is larger than the screen? I am trying to print a black background which is exactly A4 in height and width, yet...
0
by: khanbtech | last post by:
Hai friends, now iam working in C#.net windows application project,In this project we need to capture webcam image and print,i know how to print but its not look for clear, how to print webcam...
0
by: Zainull | last post by:
Hi, I'm very new to VB and I am using visual basic 2010 express. I have to write a program that is capable of simple image processing: The user must be able to type in the path and name of an...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...

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.