You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Lisbeth Heggen <li...@kristengard.com> on 2002/10/04 16:25:53 UTC

Email PDF icon

MessageHi!

In regard to "  viewing PDF in Netscape vs IEX "
Is there a way to get an "link to email" icon in addition to save and print?
( so the PDF file will be attached to an email, so the users can mail the
file without save as and insert this file manually....)

thanks;
 Lisbeth Hilde Heggen
 Senior konsulent


-----Original Message-----
From: Marko Petersen [mailto:lg002237@rzserv2.fhnon.de]
Sent: 2. oktober 2002 19:52
To: fop-user@xml.apache.org
Subject: AW: viewing PDF in Netscape vs IEX



  Hi,

  this is correct. In IE this is a bug, see
  http://support.microsoft.com/default.aspx?scid=KB;EN-US;q182315&
  Maybe you should substitute 'attachment' with 'inline'.
  For more details: http://www.nic.mil/ftp/rfc/rfc2183.txt

  marko
    -----Ursprüngliche Nachricht-----
    Von: Durkin, Terrence A [mailto:tdurkin@indiana.edu]
    Gesendet: Mittwoch, 2. Oktober 2002 19:01
    An: fop-user@xml.apache.org; Rick Delpo
    Betreff: RE: viewing PDF in Netscape vs IEX


    Hi,

    In addition to setting the content type, one can add a content
disposition header.  We're doing this in my project and have not needed to
append the "dummy.pdf" to the end of the URL.

    we're doing the following in out sevlet:
    response.setHeader("Content-Disposition","attachment;
filename=whatever.pdf");

    We still get the options to open or save the PDF, though.

    Terry

      -----Original Message-----
      From: Marko Petersen [mailto:lg002237@rzserv2.fhnon.de]
      Sent: Wednesday, October 02, 2002 11:42 AM
      To: fop-user@xml.apache.org; Rick Delpo
      Subject: AW: viewing PDF in Netscape vs IEX


      Hi,

      maybe you forgot to set the correct content type in your servlet?
      Try this:

      response.setContentType("application/pdf");

      I had the same problem without the correct type, but with it, netscape
      and opera do not post the "save as" message.

      greetings,

      marko
        -----Ursprüngliche Nachricht-----
        Von: Rick Delpo [mailto:rick@smallbizusa.com]
        Gesendet: Sonntag, 1. August 1993 15:35
        An: fop-user@xml.apache.org
        Betreff: Re: viewing PDF in Netscape vs IEX


        Hi Noel,

        I re ran my PDF and yes, in the IEX menu you can save as but in the
adobe acrobat menu there is no such option. If you open a PDF file in IEX,
acrobat comes up seperately with its own menu. In Netscape, before acrobat
opens I get a message saying "do you want to save this file or open it?" I
am looking for a way to programatically disable this feature in my servlet.
Any other suggestions?

        Thanks
          ----- Original Message -----
          From: Noel Golding
          To: fop-user@xml.apache.org ; Rick Delpo
          Sent: Wednesday, October 02, 2002 9:13 AM
          Subject: Re: viewing PDF in Netscape vs IEX


          in IE they can save the pdf also.  There is an image of a disk
that users can click to save the pdf.
            ----- Original Message -----
            From: Rick Delpo
            To: fop-user@xml.apache.org
            Sent: Sunday, August 01, 1993 9:11 AM
            Subject: viewing PDF in Netscape vs IEX


            Hi all,

            I am using FOP servlet to create PDF on the fly. Am VERY happy
with it !! My question is as follows:

            under netscape the viewer has the option to use the "save as"
feature while under IEX the user is unable to use this feature. How do I
disable the "save as" feature in my programming ? I do not want my users to
be able to save the PDF files, I just want them to be able to view and print
them.

            thanks so much and keep up the good work

            Rick Delpo

Re: Email PDF icon

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Lisbeth Heggen wrote:
> In regard to "  viewing PDF in Netscape vs IEX "
> Is there a way to get an "link to email" icon in addition to save and print?
> ( so the PDF file will be attached to an email, so the users can mail the
> file without save as and insert this file manually....)

There are several possiblities: you can for example use
some (browser dependent) client side scripting, or you can
use a request (link) which causes the email to be built and
sent from the server.

J.Pietschmann