[support] how to make form print on less paper

sander-martijn lists at severeddreams.com
Tue Jan 29 21:32:56 UTC 2008


Oh I don't know.  If the email is an html email then there's no reason 
why it wouldn't you just have to make sure that the print css is in the 
email.  If it's a plain text email then thare won't be any effect. 
Sorry, I missed the emailing part.

Jean Gazis wrote:
> Will the print css output to the email? The form submission is emailed 
> to someone and then they print it.
> 
> On Jan 29, 2008 2:43 PM, sander-martijn <lists at severeddreams.com 
> <mailto:lists at severeddreams.com>> wrote:
> 
>     That's quite simple actually and has nothing to do with drupal.  Create
>     a print css file and include that.  set display:none on any element you
>     don't need and do any other tweaks you need to get it looking right.
>     Use the media attribute:
>     <style type="text/css" media="Print"></style>
>     OR
>     <link rel="Stylesheet" href="print.css" media="Print" />
> 
>     You can set it as the main css file while you're working on it so that
>     you don't waste tons of paper seeing how it looks, then switch it ot the
>     print one when it's right.
> 
>     Whenever anyone clicks print it will use that css instead.  I include it
>     on almost all of my sites.
> 
>     .s
> 
>     Jean Gazis wrote:
>      > I created a long order form for a website that launched in December.
>      > This duplicated a function from the pre-Drupal site and it basically
>      > just emails the form to the site owner, it is not an e-commerce
>      > function. There are a lot of items on the form and now they are
>      > complaining that the form prints out as 3 pages even if the person
>      > orders only one item.
>      >
>      > Is there a way to make the form print only the fields that have a
>     user
>      > response and not the empty fields?
>      >
>      > You can see the form here: http://www.urbanorganic.com/node/47
>      >
>      > Thanks,
>      >
>      > --
>      > Jean Gazis
>      > www.jeangazis.com <http://www.jeangazis.com>
>     <http://www.jeangazis.com>
>      > www.boxofrain.us <http://www.boxofrain.us> <http://www.boxofrain.us>
>      >
>      > "Believe those who are seeking the truth; doubt those who find it." -
>      > André Gide
>      >
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
> 
> 
> 
> 
> -- 
> Jean Gazis
> www.jeangazis.com <http://www.jeangazis.com>
> www.boxofrain.us <http://www.boxofrain.us>
> 
> "Believe those who are seeking the truth; doubt those who find it." - 
> André Gide
> 


More information about the support mailing list