Images sometimes not showing on Windows 98
We got a customer with Windows 98 (128MB) reporting that regularly
images do not show up in the Print Preview. Changing DirectDraw, Stretch
properties or resizing the images a bit in the end user designer
sometimes allows images to show but the next time the image is shown its
gone again. It seems completely random. No correlation can be found.
Under Windows 2000/NT/XP no problems. Also two other W98 and one ME
computer no problem.
The only time I get a blank image on Windows 9x is when resizing a large
image (2000x2000) in a small TppImage (< 2x2 cm), which I traced to a
Stretchdraw call in ReportBuilder. As we all know stretchdraw is totally
unreliable when resizing more than about 8 times under windows 9x.
However, this is not the problem the user is experiencing, because it
also appears with stretched set to false.
Is there anyone who has any idea what's going on here? I'm running out
of ideas here.
Jan Derk
images do not show up in the Print Preview. Changing DirectDraw, Stretch
properties or resizing the images a bit in the end user designer
sometimes allows images to show but the next time the image is shown its
gone again. It seems completely random. No correlation can be found.
Under Windows 2000/NT/XP no problems. Also two other W98 and one ME
computer no problem.
The only time I get a blank image on Windows 9x is when resizing a large
image (2000x2000) in a small TppImage (< 2x2 cm), which I traced to a
Stretchdraw call in ReportBuilder. As we all know stretchdraw is totally
unreliable when resizing more than about 8 times under windows 9x.
However, this is not the problem the user is experiencing, because it
also appears with stretched set to false.
Is there anyone who has any idea what's going on here? I'm running out
of ideas here.
Jan Derk
This discussion has been closed.
Comments
pagination. If the canvas said that it couldn't fit the image on a
page,then it would appear on the next page. As a test, change the default
printer of the problematic machine (like HP LaserJet 4 which should work),
or set the Report.PrinterSetup.PrinterName to Screen. This will test if the
driver is causing the problem.
Cheers,
Jim Bennett
Digital Metaphors Corp
http://www.digital-metaphors.com
info@digital-metaphors.com
Thanks Jim,
That sound interesting. I already suspected a buggy printer driver, but
wondered why that should show up in the preview. I will make a special
debug version which allows setting Report.PrinterSetup.PrinterName to
screen to make sure it is the driver and let you guys know what happened.
Jan Derk