Re: My OLE picture looks fine on screen but is clipped when printed.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Soldier for Jesus" wrote

> I am using a query and reptort to create
> name tags for guests. Each nametag
> will have a picture corresponding to the
> individual's branch of service. The
> pictures look great when they are on
> screen, but they are clipped on both the
> left and top sides when printed. I have
> tried mutiple printers, and moving
> the object to a different place on the
> report. Size for the object is set to
> Zoom. An image that is static with
> every name tag does not have this
> problem. Once again, the images
> look great when displayed on screen.

When you say "displayed on the screen", I don't know if you mean the Print
Preview of the badge with the picture, or something else. I don't use OLE
Objects and bound OLE Frames because of the bloat and reporting
difficulties. What you describe is not the way that Zoom is supposed to
work... it is supposed to fit the picture to the control in the largest
dimension and maintain the aspect ratio for the other dimension. If you
aren't talking about the Print Preview looking great on-screen, take a look
at the Control on the Report you are using to Print. In any case, perhaps
the following will be of help, and/or offer you a worthwhile alternative.

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.

Stephen, by the way, also has a picture/image control on his site that you
can use if the graphics filters are not available on the machine you are
using.

Larry Linson
Microsoft Access MVP


.



Relevant Pages

  • Re: Digital Image Stitching II
    ... So, I've had a play with Autostitch, Hugin and Pandora for GIMP. ... set control points between a picture and one other picture. ... You can set up points between any pair of images, ...
    (rec.photo.digital)
  • Re: Graphics in Report
    ... text1 on my report was a bound control named text1. ... I hope what you wrote actually translates to "change the picture ...
    (microsoft.public.access.reports)
  • Re: Picture on report based on only the path & filename of that picture
    ... associated with images in OLE Objects. ... PrintFailure.zip is an Access97 MDB containing a report that fails during ... > should also be a picture of each employer on the report. ... > don't save the picture as an OLE-Object in the database, ...
    (microsoft.public.access.reports)
  • Re: BMP image in forms
    ... did images. ... Control Access", etc.). ... Sylvain Lafontaine, ing. ... You can then use the Picture control to display ...
    (microsoft.public.access.forms)
  • Re: How can I show or hide an image using an access table field?
    ... You could determine the visibility of the picture control using the value of ... report. ... am missing the whole picture here, and THAT IS POSSIBLE..LOL But, I can ... "Jeff Boyce" wrote: ...
    (microsoft.public.access.forms)