Generated images not printing?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin Thorpe

    #1

    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

  • Martin Wickman

    #2
    Re: Generated images not printing?

    In article <3f6857b8$0$241 06$afc38c87@new s.easynet.co.uk >, Kevin Thorpe wrote:[color=blue]
    > 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.[/color]

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

    Or use a better browser...

    Comment

    • Kevin Thorpe

      #3
      Re: Generated images not printing?

      Martin Wickman wrote:[color=blue]
      > In article <3f6857b8$0$241 06$afc38c87@new s.easynet.co.uk >, Kevin Thorpe wrote:
      >[color=green]
      >>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.[/color]
      >
      >
      > Try adding suitable no-cache headers to the http reply headers for the
      > generated gifs.
      >
      > Or use a better browser...[/color]

      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 ;-)

      Comment

      Working...