Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Proper printable webpages?

  • 12-04-2002 3:08pm
    #1
    Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭


    Does anyone know if it's possible when creating a printable webpage to know when it's going to run onto a new page. i.e. if you don't want the printed content to be split in a bad looking manner. This would make it nice for say reports etc. Is this possible or is it just hit and miss/trial and error getting it to page nicely?


Comments

  • Registered Users, Registered Users 2 Posts: 4,676 ✭✭✭Gavin


    this could possibly be useful ?

    http://www.dynamicdrive.com/dynamicindex9/printstyle.htm


    Gav

    ps howdy !


  • Registered Users, Registered Users 2 Posts: 944 ✭✭✭nahdoic


    that is pretty sweet Verb! because you would actually make the word document that would be printed, you could add lotsa mircosoft word formatting to it, as well as appropriate page breaks. Too bad it only works in MSIE 4+


  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    You could use FOP (http://xml.apache.org) to translate it into a PDF.
    It's really quite simple, you get an XML transform it using an XSL into an XML document with FO tags and then use FOP to generate the PDF.

    Worth a look anyways


  • Closed Accounts Posts: 1,026 ✭✭✭sisob


    I use a mixture of php and css on my site ( http://sisob.dyndns.org ) to create printer friendly documents

    There is only so much you can do with html - pdfs are the way to go.


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Originally posted by Enygma
    You could use FOP (http://xml.apache.org) to translate it into a PDF.
    It's really quite simple, you get an XML transform it using an XSL into an XML document with FO tags and then use FOP to generate the PDF.

    Worth a look anyways
    I presume (maybe incorrectly) that this is Perl based. If so which version? I've been running into a lot of problems with modules that are only 5.6 compatible :(


  • Advertisement
  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    I presume (maybe incorrectly) that this is Perl based.

    You're right, you did presume incorrectly. It's Java based, much neater, in other words, it'll do what it says on the tin. Most of the code you'll write though, if not all of it, will be XML.


Advertisement