[FX.php List] Bulk printing
Gjermund Gusland Thorsen
ggt667 at gmail.com
Mon Nov 27 17:17:35 MST 2006
Why not just loop the one layout( or table[s] I assume) that you are happy with?
and print or generate PDF in the end?
ggt667
2006/11/27, Jonathan Schwartz <jonathan at eschwartz.com>:
> ggt,
>
> There are no limits to the voids in my brain. ;-)
>
> From my vast(!) experience, the window.print command requires a
> button click and/or I don't see how php would know how long to wait
> before proceeding to the next record w/o waiting for the previous
> print command to execute.
>
> I would enjoy learning this for next time, but I am going with the
> re-created layout in FMP....this time.
>
> At 8:57 AM +0100 11/27/06, Gjermund Gusland Thorsen wrote:
> php is a serverside scripting language,
> how on earth did you expect php to print on client side?
>
>
> >I would do a foreach for all the registration forms,
> >then do 1 include( './printableForm.php' ); for each record found
> >and then do 1 javascript:window.print();
> >
> >ggt667
> >
> >2006/11/27, Jonathan Schwartz <jonathan at eschwartz.com>:
> >>Thanks for the suggestions, Derrick, Steve and ggt,
> >>
> >>Just to clarify, there are two working modes for this project:
> >>
> >>1) The user registers online and then prints the resulting completed
> >>form. This works fine with the javascript window_print function.
> >>
> >>2) To prepare for users who show up to the event without their
> >>printed registration forms, I wanted to bulk print all the forms to
> >>have on hand. That's the step I am seeking. And that is where I
> >>realize that PHP via the browser can not handle the job of looping
> >>through 500 records and printing via a script.
> >>
> >>Dale just asked if the printing was through the browser. That's the
> >>only way I know at the moment...except for PDF. Are there others?
> >>
> >>Derrick's idea of using webviewer crossed my mind and I might try it,
> >>although I'm worried about wasting time when I know that just biting
> >>the bullet and recreating the form in FMP layout is straight forward.
> >>
> >>By the way...the registration is for Little League, where we are
> >>replacing a time-honored paper form process.
> >>
> >>Jonathan
> >>
> >>--
> >>
> >>Jonathan Schwartz
> >>FileMaker 8 Certified Developer
> >>Associate Member, FileMaker Solutions Alliance
> >>Schwartz & Company
> >>jonathan at eschwartz.com
> >>http://www.eschwartz.com
> >>http://www.exit445.com
> >>415-381-1852
> >>
> >>_______________________________________________
> >>FX.php_List mailing list
> >>FX.php_List at mail.iviking.org
> >>http://www.iviking.org/mailman/listinfo/fx.php_list
> >>
> >_______________________________________________
> >FX.php_List mailing list
> >FX.php_List at mail.iviking.org
> >http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> --
>
> Jonathan Schwartz
> FileMaker 8 Certified Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list