Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

images display in print preview but not in printed report

Status
Not open for further replies.

hickeyc

Technical User
Sep 12, 2001
12
US
I have a report that displays images for records. It looks fine in Print Preview but when I actually print it some of the images are missing. It seems to be hit or miss as to whether or not an image will show.

I also tried printing the report to a pdf file with the same results.

Has anyone else seen this? Any suggestions?
 
Yup, I've met this but can't remember just what the problem was! Are you using code to bring up the images? I think my problem had something to do with which event I attached the code to.
 
it's the access libraries, some of them don't/can't export to print very well...

you could try to update your printer driver, or use a different version of access libraries, bit of a hit and miss really...

--------------------
Procrastinate Now!
 
Thanks for the replies.

yetanotherjo: Yes, I'm using code to bring up the images. The code is in the Detail Format event and the report looks fine in Print Preview, just not when it's printed. I'm not sure what other event to link this code to.

Crowley16: Would the access libraries be updated with MDAC? I'm pretty sure this machine has a current MDAC version but I could probably get it reinstalled. I've put in a request to have the printer driver checked (I don't have direct access to the PC in question.)
 
not sure if that'll get it...

I've run across similar problems when printing chart objects, because the print driver doesn't suport the chart object from access, it didn't print it, although I was using the same library as I was in excel, and excel was printing fine, so it seems to be just one of those things...

In the end, I had to convert the report to a snapshot, and then print the snapshot...

--------------------
Procrastinate Now!
 
I had this too.

I had to had the image loading code to:
Report_Page()
and
Sub Detail1_Print(Cancel As Integer, PrintCount As Integer)
so that the images would conditionaly display on the screen and on the printed page.

I just created my own sub and called it from each
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top