Printing Examples

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ralph Freshour

    Printing Examples

    Does anyone have any examples of how to send web page content to the
    printer? I've looked at the PHP manual and I think I know how to do it
    but I'd like be sure:

    I have to open the printer first
    Then I use the print write call?
    Then I close the printer

    Thanks...

  • Tom Thackrey

    #2
    Re: Printing Examples


    On 15-Oct-2003, Ralph Freshour <ralph@primemai l.com> wrote:
    [color=blue]
    > Does anyone have any examples of how to send web page content to the
    > printer? I've looked at the PHP manual and I think I know how to do it
    > but I'd like be sure:
    >
    > I have to open the printer first
    > Then I use the print write call?
    > Then I close the printer[/color]

    If you want to print on the client you will have to use JavaScript or some
    other client side program. You can't do it with PHP.

    --
    Tom Thackrey

    tom (at) creative (dash) light (dot) com
    do NOT send email to jamesbutler@wil lglen.net (it's reserved for spammers)

    Comment

    • Almada

      #3
      Re: Printing Examples

      Try:




      Ralph Freshour wrote:[color=blue]
      > Does anyone have any examples of how to send web page content to the
      > printer? I've looked at the PHP manual and I think I know how to do it
      > but I'd like be sure:
      >
      > I have to open the printer first
      > Then I use the print write call?
      > Then I close the printer
      >
      > Thanks...
      >[/color]

      Comment

      • Ralph Freshour

        #4
        Re: Printing Examples

        That looks really super - but I don't want to create .pdf files nor
        send the output to a browser - I want to send the output to a printer
        - I didn't see where this tool could do that or did I miss that?


        On Thu, 16 Oct 2003 23:06:36 +0100, Almada <nada@nada.no > wrote:
        [color=blue]
        >www.fpdf.org[/color]

        Comment

        • Ralph Freshour

          #5
          Re: Printing Examples

          If anyone else replies please use my email address as I'm losing my
          ISP news server - thank you...


          On Thu, 16 Oct 2003 23:06:36 +0100, Almada <nada@nada.no > wrote:
          [color=blue]
          >Try:
          >www.fpdf.org
          >
          >
          >
          >Ralph Freshour wrote:[color=green]
          >> Does anyone have any examples of how to send web page content to the
          >> printer? I've looked at the PHP manual and I think I know how to do it
          >> but I'd like be sure:
          >>
          >> I have to open the printer first
          >> Then I use the print write call?
          >> Then I close the printer
          >>
          >> Thanks...
          >>[/color][/color]

          Comment

          Working...