Images are not printing on Report

  • Thread starter Thread starter Crispy
  • Start date Start date
C

Crispy

Hi,

Hope someone can help me out. I have a fairly simple invoice "report".
Trying to stick the logo image at the top of the report so it appears on
each invoice. Used the "image" icon on the toolbar then procceeded to draw
the box and then it asked me to select the image I wanted to use. I selected
the logo image...it filled the box with the image... and when you go to
print preview the image appears at the right place on all the invoices.

However, when I actually print the reports/invoices the image does not
appear-- instead just a blank space at the top of the page where the image
goes is all that is there.

The image is a .bmp image.

Any help is much appreciated!

Abby
 
Abby,

You will need to set an on format event for the section to
populate the image control.
Assuming the image is in the Page Header section of your
report (substitute the section to whatever you are using)
try using the following:

Dim Picky as String
picky = "c:\pics\logo.bmp"
[ImageControlName].Picture = Picky

Substitute your path / image name (I'm pretty sure UNCs
work) and use the name of your image control eg. Image10.

Put this code in the Section's On Format event and you
should be OK.

HTH,

Terry
 
Hi,

I think I did what you told me to correctly. I put it in the section the
image is in..and put the code in the On Format event. The picture loaded up
fine in the report.. but still didnt' print out. A blank space is still
wehre the image should be. Any ideas? Thanks for your help!

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim Picky As String
Picky = "C:\Documents and Settings\Abby\Desktop\Montessori
Database\Picture2.jpg"
[Image74].Picture = Picky
End Sub




Terry said:
Abby,

You will need to set an on format event for the section to
populate the image control.
Assuming the image is in the Page Header section of your
report (substitute the section to whatever you are using)
try using the following:

Dim Picky as String
picky = "c:\pics\logo.bmp"
[ImageControlName].Picture = Picky

Substitute your path / image name (I'm pretty sure UNCs
work) and use the name of your image control eg. Image10.

Put this code in the Section's On Format event and you
should be OK.

HTH,

Terry
-----Original Message-----
Hi,

Hope someone can help me out. I have a fairly simple invoice "report".
Trying to stick the logo image at the top of the report so it appears on
each invoice. Used the "image" icon on the toolbar then procceeded to draw
the box and then it asked me to select the image I wanted to use. I selected
the logo image...it filled the box with the image... and when you go to
print preview the image appears at the right place on all the invoices.

However, when I actually print the reports/invoices the image does not
appear-- instead just a blank space at the top of the page where the image
goes is all that is there.

The image is a .bmp image.

Any help is much appreciated!

Abby



.
 
Abby,

I think I complicated this more than is required.
The code you have should work but is really only needed if
you have different pictures for different records (a field
in your record source has the picture path&name for that
record).
FYI: you would then set Picky=[fieldNameWithPicturepath]

Having said that, does your printer support printing
images (can you print the bitmap on it's own) and what
version of Access / windows are you running? Generally if
you can preview the report and it looks correct it should
print correctly.

Terry

-----Original Message-----
Hi,

I think I did what you told me to correctly. I put it in the section the
image is in..and put the code in the On Format event. The picture loaded up
fine in the report.. but still didnt' print out. A blank space is still
wehre the image should be. Any ideas? Thanks for your help!

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim Picky As String
Picky = "C:\Documents and Settings\Abby\Desktop\Montessori
Database\Picture2.jpg"
[Image74].Picture = Picky
End Sub




Abby,

You will need to set an on format event for the section to
populate the image control.
Assuming the image is in the Page Header section of your
report (substitute the section to whatever you are using)
try using the following:

Dim Picky as String
picky = "c:\pics\logo.bmp"
[ImageControlName].Picture = Picky

Substitute your path / image name (I'm pretty sure UNCs
work) and use the name of your image control eg. Image10.

Put this code in the Section's On Format event and you
should be OK.

HTH,

Terry
-----Original Message-----
Hi,

Hope someone can help me out. I have a fairly simple invoice "report".
Trying to stick the logo image at the top of the report so it appears on
each invoice. Used the "image" icon on the toolbar then procceeded to draw
the box and then it asked me to select the image I
wanted
to use. I selected
the logo image...it filled the box with the image...
and
when you go to
print preview the image appears at the right place on
all
the invoices.
However, when I actually print the reports/invoices the image does not
appear-- instead just a blank space at the top of the page where the image
goes is all that is there.

The image is a .bmp image.

Any help is much appreciated!

Abby



.


.
 
I can print the image on it's own... if I insert the image into word,
publisher, etc. it works as well.

I'm using Access 2003 and XP.

I know, I just dont' understand why it would print preview fine but then not
print the image.

Abby

Terry said:
Abby,

I think I complicated this more than is required.
The code you have should work but is really only needed if
you have different pictures for different records (a field
in your record source has the picture path&name for that
record).
FYI: you would then set Picky=[fieldNameWithPicturepath]

Having said that, does your printer support printing
images (can you print the bitmap on it's own) and what
version of Access / windows are you running? Generally if
you can preview the report and it looks correct it should
print correctly.

Terry

-----Original Message-----
Hi,

I think I did what you told me to correctly. I put it in the section the
image is in..and put the code in the On Format event. The picture loaded up
fine in the report.. but still didnt' print out. A blank space is still
wehre the image should be. Any ideas? Thanks for your help!

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim Picky As String
Picky = "C:\Documents and Settings\Abby\Desktop\Montessori
Database\Picture2.jpg"
[Image74].Picture = Picky
End Sub




Abby,

You will need to set an on format event for the section to
populate the image control.
Assuming the image is in the Page Header section of your
report (substitute the section to whatever you are using)
try using the following:

Dim Picky as String
picky = "c:\pics\logo.bmp"
[ImageControlName].Picture = Picky

Substitute your path / image name (I'm pretty sure UNCs
work) and use the name of your image control eg. Image10.

Put this code in the Section's On Format event and you
should be OK.

HTH,

Terry

-----Original Message-----
Hi,

Hope someone can help me out. I have a fairly simple
invoice "report".
Trying to stick the logo image at the top of the report
so it appears on
each invoice. Used the "image" icon on the toolbar then
procceeded to draw
the box and then it asked me to select the image I wanted
to use. I selected
the logo image...it filled the box with the image... and
when you go to
print preview the image appears at the right place on all
the invoices.

However, when I actually print the reports/invoices the
image does not
appear-- instead just a blank space at the top of the
page where the image
goes is all that is there.

The image is a .bmp image.

Any help is much appreciated!

Abby



.


.
 
Abby

Do you have any other code that runs while formatting or
printing? I'm running out of ideas. Anyone else got
anything to contribute?

While I'm clutching at straws .... you could try deleting
the image control and re-creating it, copying all your
report controls into a new report and finally creating a
new blank db and importing all objects into it.


Terry
-----Original Message-----
I can print the image on it's own... if I insert the image into word,
publisher, etc. it works as well.

I'm using Access 2003 and XP.

I know, I just dont' understand why it would print preview fine but then not
print the image.

Abby

Abby,

I think I complicated this more than is required.
The code you have should work but is really only needed if
you have different pictures for different records (a field
in your record source has the picture path&name for that
record).
FYI: you would then set Picky=[fieldNameWithPicturepath]

Having said that, does your printer support printing
images (can you print the bitmap on it's own) and what
version of Access / windows are you running? Generally if
you can preview the report and it looks correct it should
print correctly.

Terry

-----Original Message-----
Hi,

I think I did what you told me to correctly. I put it
in
the section the
image is in..and put the code in the On Format event.
The
picture loaded up
fine in the report.. but still didnt' print out. A
blank
space is still
wehre the image should be. Any ideas? Thanks for your help!

Code:
Private Sub Detail_Format(Cancel As Integer,
FormatCount
As Integer)
Dim Picky As String
Picky = "C:\Documents and Settings\Abby\Desktop\Montessori
Database\Picture2.jpg"
[Image74].Picture = Picky
End Sub




Abby,

You will need to set an on format event for the
section
to
populate the image control.
Assuming the image is in the Page Header section of your
report (substitute the section to whatever you are using)
try using the following:

Dim Picky as String
picky = "c:\pics\logo.bmp"
[ImageControlName].Picture = Picky

Substitute your path / image name (I'm pretty sure UNCs
work) and use the name of your image control eg. Image10.

Put this code in the Section's On Format event and you
should be OK.

HTH,

Terry

-----Original Message-----
Hi,

Hope someone can help me out. I have a fairly simple
invoice "report".
Trying to stick the logo image at the top of the report
so it appears on
each invoice. Used the "image" icon on the toolbar then
procceeded to draw
the box and then it asked me to select the image I wanted
to use. I selected
the logo image...it filled the box with the image... and
when you go to
print preview the image appears at the right place
on
all
the invoices.

However, when I actually print the reports/invoices the
image does not
appear-- instead just a blank space at the top of the
page where the image
goes is all that is there.

The image is a .bmp image.

Any help is much appreciated!

Abby



.



.


.
 
Abby,

I'm having the same problem with access 2003 and XP pro. Images appear fine in
print preview but fail to actually print. The only way I can get them to print
is to use the "microsoft office document image writer" and print from there.


Ray
 
well, after much head banging, this was incredibly stupid.

I'm using an HP deskjet 5550 set on "fast draft". The images will only print
when set to "Normal" or "Best" modes.

duh.

ray
 
Back
Top