[support] how to make form print on less paper

Jean Gazis jgazis at gmail.com
Tue Jan 29 21:05:56 UTC 2008


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> 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>
> > 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
www.boxofrain.us

"Believe those who are seeking the truth; doubt those who find it." - André
Gide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080129/35d0e453/attachment.htm 


More information about the support mailing list