CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • printable pages
Pages: [1]

Author Topic: printable pages  (Read 1688 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
printable pages
December 13, 2008, 07:31:49 am
The tool that generates a printable page using the printer icon (removes all CMS page templating) should also wrap the page in a div with id="printable". Right now, the printable version looses most of the css styling, including fonts, so it's not very attractive. Wrapping in an id would allow print-specific styling.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: printable pages
December 13, 2008, 07:39:51 am
Just add

<link rel="stylesheet"   type="text/css"   media="...print" href="print.css" />


on the head

and put the print css you want (if you have a css at hand, please share it, I'm sure you're not the only one needing it;)


X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: printable pages
December 13, 2008, 07:45:59 am
yeah...

maybe I'm just weird like this, but since the printable pages open in another window, I feel like they should visually look like how they'll print. handling the print version through css media option only kicks in when it's actually printed. it would still display on screen with the ugly formatting.

i'm a bit of a css control freak.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • printable pages

This forum was archived on 2017-11-26.