NYCPHP Meetup

NYPHP.org

[nycphp-talk] Batch Printing

Tom Melendez tom at supertom.com
Fri Jul 22 10:19:03 EDT 2005


Don't know what platform you are on, but you could do the following with 
IE (you might be able to do the same with FF, I'm not sure).

Generate each record as a page (could be dynamic or static)
Create a "table of contents", which is one page with all pages linked.
In IE, you can say "print all linked documents"

Hope that helps!

Tom

http://www.liphp.org


Joseph Crawford wrote:

> Hello Everyone,
>
> Once again i have a question for you guys.  I have a list of 
> perspective clients in an mysql database.  I would like to send them 
> letters to try to gain them as a client.  I know i can use a template 
> engine such as smarty to create the HTML template.  Here's the 
> question.  Is there a way i could run a script and have it 
> automatically loop each record, send it off to my printer?  I know i 
> could do this with javascript to auto print the page i am looking at.  
> Also i know that PHP is serverside and if installed on my remote 
> server there is no way to send it to my local printer, so i was 
> thinking of making a script here on my dev machine that would access 
> the remote db, maybe then there is a way to have PHP or JS send each 
> record to my printer in a batch job.
>
> Any suggestions will be appreciated
>
> -- 
> Joseph Crawford Jr.
> Codebowl Solutions, Inc.
> 1-802-671-2021
> codebowl at gmail.com <mailto:codebowl at gmail.com>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
>  
>




More information about the talk mailing list