I am porting a school district annual report from printed form to the web (hooray!). However, I am running into a problem in that we anticipate that parents will want to print out the information for just their child's school rather than the whole freaking thing (talk about killing trees!).
Is there any way to print out only those .php files in a particular directory? Rather than having to view and then print every page, we'd like for the parents to have an easy way to do this. I've been all over the web, sourceforge, etc, and can't find a thing.
Thanks,
Esme
Batch Printing all Files in directory/subdirectory
Moderator: General Moderators
-
EsmereldaPea
- Forum Newbie
- Posts: 2
- Joined: Wed Oct 20, 2004 11:49 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I think it depends a little on your page design, or rather, more the length of the content per file.
You could roll through the directory and include all the files needed for a single, huge page (you'll need some controls to tell the pages to not print the headers and footers of all the pages (this can be done through CSS)) ... but that doesn't give you formatting. If you want formatting, ~dynamically creating a pdf are alternates..
You could roll through the directory and include all the files needed for a single, huge page (you'll need some controls to tell the pages to not print the headers and footers of all the pages (this can be done through CSS)) ... but that doesn't give you formatting. If you want formatting, ~dynamically creating a pdf are alternates..
-
EsmereldaPea
- Forum Newbie
- Posts: 2
- Joined: Wed Oct 20, 2004 11:49 pm
The information for a single school won't amount to more than 10-15 pages. I don't have a problem with each page printing on a separate piece of paper, I just want them to be able to click on one link/button to print the entire directory. And yes, a separate print style sheet is in the works - most of this is plain jane stuff right now, so not much tweaking there . . Don't want to do a PDF due to the larger file size, and most of the folks in this rural area probably have dial-up accounts if they have Internet access.
Is there any code out there that already does this? I am pretty handy at tweaking existing code, but not great at building it from scratch . . .
Thanks,
Esme
Is there any code out there that already does this? I am pretty handy at tweaking existing code, but not great at building it from scratch . . .
Thanks,
Esme