473,623 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Generated images not printing?

I have a problem with IE and generated images (jpgraph). It displays
them fine but it's not printing them. They appear as little red crosses
in print preview.

I've fiddled with the cache control headers as I thought that was it.
Certainly IE refuses to cache pdf files sent using fpassthru and cannot
open them in acrobat.

Any suggestions gratefully received.

Kevin Thorpe

Jul 17 '05 #1
2 2492
In article <3f************ ***********@new s.easynet.co.uk >, Kevin Thorpe wrote:
I have a problem with IE and generated images (jpgraph). It displays
them fine but it's not printing them. They appear as little red crosses
in print preview.

I've fiddled with the cache control headers as I thought that was it.
Certainly IE refuses to cache pdf files sent using fpassthru and cannot
open them in acrobat.


Try adding suitable no-cache headers to the http reply headers for the
generated gifs.

Or use a better browser...
Jul 17 '05 #2
Martin Wickman wrote:
In article <3f************ ***********@new s.easynet.co.uk >, Kevin Thorpe wrote:
I have a problem with IE and generated images (jpgraph). It displays
them fine but it's not printing them. They appear as little red crosses
in print preview.

I've fiddled with the cache control headers as I thought that was it.
Certainly IE refuses to cache pdf files sent using fpassthru and cannot
open them in acrobat.

Try adding suitable no-cache headers to the http reply headers for the
generated gifs.

Or use a better browser...


I think php automatically adds no-cache headers. Certainly that's how it
appears looking at server traffic. It then causes problems with php
delivered non browser documents (Excel, Word etc) as IE simply runs Word
or Excel and gives it the name of the document in the cache which
magically doesn't exist. For these documents I have to add
Cache-control: public to get IE to work. It doesn't appear to work for
generated gifs though.

I use Opera and it works fine. I guess I'll have to upgrade my users,
preferably with a baseball bat ;-)

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1575
by: Henk | last post by:
I suddenly have problems when i want to insert pictures (bmp) in my access database. When i insert the 'object', i only see the icon with pic.bmp under it. In the properties menu the 'show icon' option is not on so that's not the problem. My old databases still show the pictures in their normal shape. Any ideas?
1
310
by: A.J.M. van Rijthoven | last post by:
I have a textfield in my database which stores the location of an image. Each time a record is selected, the right image is loaded based on the path stord in the textfield. Now I want to print a report with these pictures. Is this possible??
2
1769
by: NASAdude | last post by:
I'm working on a report that shows a lot of data, so I've set it up so it is 2-pages wide in landscape view for each record. ie: The report is 22" wide (less margins). On the left page there are three images, and there are two images on the right page. The images are stored in a directory, and only path\filename info is stored in the database. For testing purposes, there are only four records, so there isn't a memory issue. I'm...
1
7487
by: Zeroeffect | last post by:
Hello! I have a database with alot of embedded images. The reason for having the images embedded is security. My problem is that it works fine on my computer, but not on my clients computer. He hasn't got Microsoft Photo Editor installed and because of that he cant view the images when doubleclicking on them in the table. He can still see the pictures in the formview but when he doubelclicks the images a error message shows up.
5
4792
by: chrisse_2 | last post by:
Hi, All the records in my database will contain at least one picture. At the moment all the images are part of the database as ole objects although the database is way to big and there is only 12 records in it. I have been reading about linking images into the database and i would like to use the method linking via code this way the database will be as small as possible.
2
12709
by: trae | last post by:
If you can import the images, then where to I go to find out how to do this correctly.
3
4079
by: chrisse_2 | last post by:
Hey, In my database i have images, linked to the database, corresponding to different records. I am having trouble making them show in the report. At the moment i can only get the one picture to show everytime. There is a catch to the situation; the report is constructed in such a way in that it doesn't have anything in the record source field. I would greatly appreciate some help.
4
11562
by: Rico | last post by:
Hello, I have an MDE application where I use a bound object frame to display an image. This frame is updatable and bested on the contents of an OLE field. My problem is, some images display as the image and some display as an icon with the file name below. The process I'm following is as follows; Right click Choose "Insert Object..." Select "Create from File"
4
4054
by: Contralto | last post by:
Hi, I can convert my report to Adobe PDF, but the photos are very poor. They were taken as RAW images and I've tried saving them at different resolutions as JPEGs, but it doesn't seem to make much difference in the PDF output. I have about 500 images in the 200ish page report (unless I split it into several smaller ones). Each photo should be about 6-8cm on the longest side. Any recommendations on what res to use would be most...
0
8217
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8661
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4067
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1467
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.