Generated images not printing?

This is a discussion on Generated images not printing? within the PHP Language forums, part of the PHP Programming Forums category; I have a problem with IE and generated images (jpgraph). It displays them fine but it's not printing them. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2003
Kevin Thorpe
 
Posts: n/a
Default 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

Reply With Quote
  #2 (permalink)  
Old 09-18-2003
Martin Wickman
 
Posts: n/a
Default Re: Generated images not printing?

In article <3f6857b8$0$24106$afc38c87@news.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...
Reply With Quote
  #3 (permalink)  
Old 09-18-2003
Kevin Thorpe
 
Posts: n/a
Default Re: Generated images not printing?

Martin Wickman wrote:
> In article <3f6857b8$0$24106$afc38c87@news.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 ;-)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0