-> Printing PDF files? <-

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve JORDI

    -> Printing PDF files? <-

    Hi,

    I'm using fpdf to create a report in PDF.

    Now the problem is that I want to print it directly to the
    client's default printer, with no intervention from the user.

    Is this possible?

    The problem of having the PDF file displayed in the browser's
    plug-in is that:
    - it lets the user change the scaling
    - the user may use the browser print button instead of Acrobat
    - the user will close the window thinking it's closing Acrobat
    but actually closes the application itself.

    I'm ready to switch to any other PDF engine/tool, including
    commercial ones, if it can ease the printing process.

    Thanks for any help


    Sincerely,
    Steve JORDI

    (Remove the K_I_L_LSPAM from my email address)
    ------------------------------------------------
    1197 Prangins Email: stevejordiK_I_L _LSPAM@hotmail. com
    Switzerland WWW: www.sjordi.com
    ------------------------------------------------
    Volcanoes at www.sjordi.com/volcanoes
    MovieDB at www.sjmoviedb.com
    ------------------------------------------------
  • McKirahan

    #2
    Re: -&gt; Printing PDF files? &lt;-

    "Steve JORDI" <steveK_I_L_LSP AMjordi@hotmail .comwrote in message
    news:ntfhr2h86v f1qhnpct10m36og epr8e1k1p@4ax.c om...
    Hi,
    >
    I'm using fpdf to create a report in PDF.
    >
    Now the problem is that I want to print it directly to the
    client's default printer, with no intervention from the user.
    >
    Is this possible?
    [snip]

    I certainly hope not!

    Would you want to visit a site that uses your printer
    without asking? Besides, what if they have no default
    printer or that it's out of ink or that it has labels loaded,
    or ...

    If you have specific printing needs then inform your
    users. Also, open up the PDF file in a new window.


    Comment

    • Steve JORDI

      #3
      Re: -&gt; Printing PDF files? &lt;-

      >I certainly hope not!
      >Would you want to visit a site that uses your printer
      >without asking?
      You're right, I have to agree with that.

      >Besides, what if they have no default printer or that
      >it's out of ink or that it has labels loaded, or ...
      Then Windows print manager would inform the user, just like
      any other printout.
      >If you have specific printing needs then inform your
      >users. Also, open up the PDF file in a new window.
      Yes, that's the hard way. Let the user close the window
      so he will learn not to close it after three times to avoid
      login again in the application :-)

      Well the direct printing problem seems to be related to the
      pdf file which is on the server side and the printing method
      on the client side.


      Sincerely,
      Steve JORDI

      (Remove the K_I_L_LSPAM from my email address)
      ------------------------------------------------
      1197 Prangins Email: stevejordiK_I_L _LSPAM@hotmail. com
      Switzerland WWW: www.sjordi.com
      ------------------------------------------------
      Volcanoes at www.sjordi.com/volcanoes
      MovieDB at www.sjmoviedb.com
      ------------------------------------------------

      Comment

      • Michael Fesser

        #4
        Re: -&gt; Printing PDF files? &lt;-

        ..oO(Steve JORDI)
        >>If you have specific printing needs then inform your
        >>users. Also, open up the PDF file in a new window.
        >
        >Yes, that's the hard way. Let the user close the window
        >so he will learn not to close it after three times to avoid
        >login again in the application :-)
        Of course opening a new window for a PDF will cause a new problem for
        users without a PDF plugin - they will get a download dialog _and_ a
        useless empty browser window ...

        What about a simple link?

        <a href="document. pdf">title (PDF, xx KB)</a>

        Works always and lets the user decide what to do.

        Micha

        Comment

        • Steve JORDI

          #5
          Re: -&gt; Printing PDF files? &lt;-

          I can make sure they have the Acrobat Reader plug-in,
          that won't be a problem.
          My concern is about having them change the scaling options
          in the print dialog box and the necessity for them to actually
          have to print the document manually.

          I'm coming from C++ and I enjoyed having reporting tools that
          could print transparently in the background...

          Steve

          Sincerely,
          Steve JORDI

          (Remove the K_I_L_LSPAM from my email address)
          ------------------------------------------------
          1197 Prangins Email: stevejordiK_I_L _LSPAM@hotmail. com
          Switzerland WWW: www.sjordi.com
          ------------------------------------------------
          Volcanoes at www.sjordi.com/volcanoes
          MovieDB at www.sjmoviedb.com
          ------------------------------------------------

          Comment

          Working...