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

Print OLE Object/Image Picture

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.