Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » webpage Printing - how to Format webpage content
Uniqs:
545
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Generating a HTTP POST request with dynamic contents »
« jQuery Complete Document Fade-out and Fade-in  

jbcalg
Premium
join:2001-10-08
Calgary, AB
·Shaw


1 edit

webpage Printing - how to Format webpage content

I run a NFP website where we have volunteers self schedule themselves for activities

left frame = event list
right frame = shift schedule (various times, single or multiple lines per time block)

Schedule pages are php, simple save to text file, one entry per line

Any suggestions of method/methods to output the stored text pages to formatted word, pdf or similar ?

Moving the whole shebang to mysql database where it'll be easier to manage output (among other things of course), but a quick/easy method for now would be appreciated

edit - dang, meant for this to go in devt not hosting - mod notified

usa2k
Please PRAY for Rebekah
Premium,MVM
join:2003-01-26
Canton, MI
clubs:
·VOIPo
·WOW Internet and C..
·Broadvox Direct


3 edits

Re: webpage Printing - how to Format webpage content

There is the ability using CSS to limit what is printed.
Many sites are clueless of this simple approach.



EDIT: And you can restyle what will be printed also!

--

Jim, VoIP 12/2002, VOIPo 2/2007
FAH-Tool ... Pets ... USA2K site ... Artist-247

DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL

Are you talking actual frames or div or table columns, and is this for visitors to do themselves, or you on the backend?

If it's in frames, you should consider changing that to a div or table layout.

If it's in tables, the desired data can be copy/pasted from the browser rendering to Word.

If this is for users, the next option would be to put the data into text files with a .doc extension and include them. Put a link to "Download this as a Word document" and Word on their systems will consider it a document.

If you want to create PDFs, you'll either need a server-side component to do it on the fly, or you'll have to create and upload them.
--
There is no giant fur-bearing trout.

usa2k
Please PRAY for Rebekah
Premium,MVM
join:2003-01-26
Canton, MI
clubs:
·VOIPo
·WOW Internet and C..
·Broadvox Direct


1 edit

Re: webpage Printing - how to Format webpage content

To add to my previous post ...

These are "id" in some container.
Most often a Div.


Try print preview from »fah-tool.org

Hah! I did not exclude the check boxes from my page! :)

--

Jim, VoIP 12/2002, VOIPo 2/2007
FAH-Tool ... Pets ... USA2K site ... Artist-247

jbcalg
Premium
join:2001-10-08
Calgary, AB
·Shaw

thanks for the suggestions

usa2k - i'll try some stylesheet options and see how they work (and yes i am/was clueless, hence this post )

dc dsl - i am the backend (so to speak) but am trying to add frontend links for the 'admins' to manage activity themselves
- ie they can edit assigned shifts (volunteers cannot)

frames: the layout/content of the schedule page/frame is in tables - date being saved to a simple text file

i already do the copy/paste into formatted word pages (and/or excel depending on how the end user wants to see and use the data)
- but ideally i to be out of the process once the schedules are posted

.doc vs .txt: the only data saved is the volunteer's name, not the shift day, location, shift hours which is visible on the sign up page
- but i can look further into that to see if the .doc instead of .txt format works well enough

this is for 20 - 60 shifts per day for a 5 day period in each of june, july, and september with the shifts grouped into various locations, then various times at each location etc

this is replacing a paper sign-up method (i hesitate to call it a system ) and so far is working well but it can always be better

as posted in OP, once we move it to a database then formatting output and other options will be easier

but for now there's some good suggestions to consider/try - thanks again

DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC

Re: webpage Printing - how to Format webpage content

For what you're describing, you really should just bite the bullet now and make this a database/form solution. It will get unwieldy in short order if you do this file-based.
--
There is no giant fur-bearing trout.
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersGenerating a HTTP POST request with dynamic contents »
« jQuery Complete Document Fade-out and Fade-in  


Tuesday, 08-Dec 17:54:34 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [191] Sprint Sued For Distracted Driving Death
· [81] 3G Network Test Says AT&T Is Tops
· [71] Mediacom Unveils 105 Mbps Pricing
· [50] Sprint Poised For A Turnaround?
· [49] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [42] Microwaving Your Innards Is Not 'Extreme'
· [39] Verizon LTE: 5-12 Mbps Downstream
· [36] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [18] Verizon Settles With NJ Over Misleading FiOS Marketing
Most people now reading
· Servers UP!!! [World of Warcraft]
· World of Warcraft Client Patch 3.3 (12-8-2009) [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Account Hacked With Authenticator [World of Warcraft]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· CRTC Response to ME: You will be Band F FOREVER!!! [TekSavvy]
· So what addons will likely not work... [World of Warcraft]
· World of Warcraft Client Patch 3.3.0 (12-08-2009) [World of Warcraft]
· Comcast Customers: Would You Prefer Metered Billing? [Comcast HSI]
· Triumph Emblems [World of Warcraft]