[FX.php List] Bulk printing
Jonathan Schwartz
jonathan at eschwartz.com
Sun Nov 26 15:17:21 MST 2006
Actually, that's the javascript I'm using now for the end user to
print a single form.
With this code, the button has to be clicked, and thus doesn't work
in a scripted environment.
Since posting my original message, I've done more research and have
been given a dose of reality with regard to PHP's ability to print.
In short, it appears that PHP is the wrong tool for the job of bulk
printing
With this in mind, I am reverting back to FMP to replicate the layout
originally created in PHP, and go that route. I didn't want to do
that, but the obstacles seem too great at this point, and the process
of an FMP layout is a known entity.
FYI...I need to print 500 forms.
Anyone disagree?
Jonathan
>Something like this?
>
><form action="javascript:window.print()">
><input type="submit" name="a" value="Print">
></form>
>
>2006/11/26, Jonathan Schwartz <jonathan at eschwartz.com>:
>>Hi Folks.
>>
>>I need to bulk print 500 or so forms at the end of a data entry
>>cycle. I spent so much time fine-tuning the form in PHP, I have no
>>desire to recreate the form in FMP just to bulk print. (The original
>>use of the form is to allow end users to print out at the end of
>>their session).
>>
>>So, this is a new one for me....to create a print routine with FX.php
>>driving the process. I know that I can build a script to loop thru
>>records, but I'm not sure about the Printing part. I've got a PRINT
>>button on the php page that end users click now. It executes a
>>"window.print()" command. However, I don't know how to execute the
>>same command in a script.
>>
>>Any suggestions?
>>
>>Thanks
>>
>>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
More information about the FX.php_List
mailing list