Send data to print one page at a time - PHP

This is a discussion on Send data to print one page at a time - PHP ; I currently have a script together that will display one record per page and allow the user to manually click through pages to view the next record. How can I translate this to printing the data? I want to be ...

+ Reply to Thread
Results 1 to 5 of 5

Send data to print one page at a time

  1. Default Send data to print one page at a time

    I currently have a script together that will display one record per
    page and allow the user to manually click through pages to view the
    next record. How can I translate this to printing the data? I want
    to be able to print the data one page at a time, but only send one
    print job to do this?

    I have never done this before, but would imagine it is possible.


  2. Default Re: Send data to print one page at a time

    drec <drecla@gmail.com> wrote in news:1191612974.354235.92900
    @o3g2000hsb.googlegroups.com:

    > I currently have a script together that will display one record per
    > page and allow the user to manually click through pages to view the
    > next record. How can I translate this to printing the data? I want
    > to be able to print the data one page at a time, but only send one
    > print job to do this?


    printing on the server where the website is, or printing on the client's
    computer? only one is PHP based...

  3. Default Re: Send data to print one page at a time

    On 5 oct, 16:36, drec <dre...@gmail.com> wrote:
    > I currently have a script together that will display one record per
    > page and allow the user to manually click through pages to view the
    > next record. How can I translate this to printing the data? I want
    > to be able to print the data one page at a time, but only send one
    > print job to do this?
    >
    > I have never done this before, but would imagine it is possible.


    You can do the following, if u can know all the page layouts, and then
    put them insinde and array, then u can loop one by one, then, you can
    migrate the array to javascript, where u have the window.print()
    function, i havent try that function with params but i guess you can
    pass some params (like a page layout) to window.print() function.

    staccato_enkil@hotmail.com


  4. Default Re: Send data to print one page at a time

    On Oct 5, 11:21 pm, en...@fibertel.com.ar wrote:
    > On 5 oct, 16:36, drec <dre...@gmail.com> wrote:
    >
    > > I currently have a script together that will display one record per
    > > page and allow the user to manually click through pages to view the
    > > next record. How can I translate this to printing the data? I want
    > > to be able to print the data one page at a time, but only send one
    > > print job to do this?

    >
    > > I have never done this before, but would imagine it is possible.

    >
    > You can do the following, if u can know all the page layouts, and then
    > put them insinde and array, then u can loop one by one, then, you can
    > migrate the array to javascript, where u have the window.print()
    > function, i havent try that function with params but i guess you can
    > pass some params (like a page layout) to window.print() function.
    >
    > staccato_en...@hotmail.com



    Will I be able to control the printing at the client side? I want to
    send print jobs from the client side instead of using a server printer.


  5. Default Re: Send data to print one page at a time

    drec wrote:
    > On Oct 5, 11:21 pm, en...@fibertel.com.ar wrote:
    >> On 5 oct, 16:36, drec <dre...@gmail.com> wrote:
    >>
    >>> I currently have a script together that will display one record per
    >>> page and allow the user to manually click through pages to view the
    >>> next record. How can I translate this to printing the data? I want
    >>> to be able to print the data one page at a time, but only send one
    >>> print job to do this?
    >>> I have never done this before, but would imagine it is possible.

    >> You can do the following, if u can know all the page layouts, and then
    >> put them insinde and array, then u can loop one by one, then, you can
    >> migrate the array to javascript, where u have the window.print()
    >> function, i havent try that function with params but i guess you can
    >> pass some params (like a page layout) to window.print() function.
    >>
    >> staccato_en...@hotmail.com

    >
    >
    > Will I be able to control the printing at the client side? I want to
    > send print jobs from the client side instead of using a server printer.
    >


    staccato_en is correct. You can't do it in PHP. PHP is server-side
    only, and can't access anything on the client side (other than cookies -
    but that's really the http protocol doing it).

    And you could even use javascript to load the next page after printing.

    However, if I found someone doing that on my system, I'd be gone from
    that site in no time. But if it's on an intranet or otherwise has
    restricted access, it might be ok.

    --
    ==================
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attglobal.net
    ==================

+ Reply to Thread

Similar Threads

  1. How send print output to a text file?
    By Application Development in forum Eudora
    Replies: 1
    Last Post: 11-15-2007, 12:50 PM
  2. Replies: 9
    Last Post: 09-11-2007, 03:09 AM
  3. CS3 won't print more than one at a time
    By Application Development in forum Adobe Indesign
    Replies: 5
    Last Post: 07-22-2007, 03:00 AM
  4. Replies: 0
    Last Post: 06-07-2007, 08:11 AM
  5. Name and Time of Print on the Paper
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 12-17-2005, 04:24 PM