Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1910

Re: Print preview in php

Message-Id <2008297.vYhyI6sBWr@PointedEars.de>
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2011-05-28 17:27 +0200
Subject Re: Print preview in php
Newsgroups comp.lang.php
References (1 earlier) <irpism$jhp$1@dont-email.me> <xJidnWeLWcSY_33QnZ2dnUVZ_gOdnZ2d@posted.localnet> <16543329.4csPzL39Zc@PointedEars.de> <3c2695de-04bb-48e0-be0c-1b9085a18ffd@ct4g2000vbb.googlegroups.com> <irqpf4$db0$1@dont-email.me>
Followup-To comp.lang.php

Followups directed to: comp.lang.php

Show all headers | View raw


TK wrote:

> On 5/28/2011 7:04 AM, Co wrote:
>> Thomas 'PointedEars' Lahn wrote:
>>> Or you could much more simply define a stylesheet for print media that
>>> does the necessary adjustments:
>>>
>>>    <link rel="stylesheet" media="print" href="print.css">
>>
>> I found an example doing that but I still printed the whole page.
> 
> Make the items you do not want to display have a class="nodisplay"
> 
> In the print css sheet define .nodisplay {display:none;}

It would be more sensible to let the class name indicate that this is about 
printing only, like class="dontprint" and .dontprint { display:none; }.

Please trim your quotes to the relevant minimum; that usually includes to 
not quote signatures.  (I find it rather strange that you did, because the 
signature was properly delimited and I know that your Thunderbird removes it 
automatically when replying.  You are not trolling, are you?)

You would also be well-advised to use a proper message-ID.  As it is, anyone 
could use dont-email.me because it is not a registered second-level domain 
(`me.' is not a registered top-level domain to begin with).  So your 
message-IDs are not necessarily unique over a course of two years, with all 
side-effects.  (Again, you have to use 
user_pref("mail.identity.default.FQDN", "dont-email.me"); in your user.js 
and the like to post this header with Thunderbird …)


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Print preview in php Co <vonclausowitz@gmail.com> - 2011-05-27 14:48 -0700
  Re: Print preview in php The Natural Philosopher <tnp@invalid.invalid> - 2011-05-28 01:33 +0100
  Re: Print preview in php Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-27 21:24 -0400
    Re: Print preview in php Robert Heller <heller@deepsoft.com> - 2011-05-27 21:46 -0500
      Re: Print preview in php Co <vonclausowitz@gmail.com> - 2011-05-28 02:05 -0700
        Re: Print preview in php Robert Heller <heller@deepsoft.com> - 2011-05-28 08:12 -0500
          Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-28 17:30 +0200
      Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-28 13:33 +0200
        Re: Print preview in php Co <vonclausowitz@gmail.com> - 2011-05-28 05:04 -0700
          Re: Print preview in php TK <tknospa@wejuggle2.com> - 2011-05-28 07:22 -0500
            Re: Print preview in php dougatmilmacdotcom@example.com (Doug Miller) - 2011-05-28 14:14 +0000
            Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-28 17:27 +0200
              Re: Print preview in php TK <tknospa@wejuggle2.com> - 2011-05-28 12:20 -0500
                Re: Print preview in php Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-28 14:07 -0400
                Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-28 20:27 +0200
                Re: Print preview in php TK <tknospa@wejuggle2.com> - 2011-05-28 15:18 -0500
              Re: Print preview in php TK <tknospa@wejuggle2.com> - 2011-05-30 07:32 -0500
                Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-30 18:58 +0200
                Re: Print preview in php TK <tknospa@wejuggle2.com> - 2011-05-31 07:34 -0500
                Re: Print preview in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-31 15:08 +0200
      Re: Print preview in php Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-28 09:06 -0400

csiph-web