Re: From Browser to Print - ?????
| From: | MikeA | Date: | Sat, 29 Jan 2005 03:45:03 +0000 |
| Subject: | Re: From Browser to Print - ????? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25481@lists.php.net to get a copy of this message | ||
Carsten,
Thank you for that URL. WOW - I never realized all that was available. I had not heard about it.
I've been getting some great help on this subject. Glad to see you guys keeping up on it.
Mike
"Carsten Gehling" <list@sarum.dk> wrote in message
news:BHEFKIOIMEDGILGDACKDAECHFEAA.list@sarum.dk...
You can define different style sheets based on the media that the HTML page
is rendered on:
<link rel="stylesheet" type="text/css" media="screen"
href="styles_screen.css">
<link rel="stylesheet" type="text/css" media="print"
href="styles_print.css">
Now use CSS to position your form feed as you like.
Read more here:
http://www.w3.org/TR/REC-CSS2/media.html
- Carsten
> -----Oprindelig meddelelse-----
> Fra: news [mailto:news@sea.gmane.org]På vegne af MikeA
> Sendt: 28. januar 2005 04:24
> Til: php-windows@lists.php.net
> Emne: [PHP-WIN] From Browser to Print - ?????
>
>
> I have some PHP scripts that put output to the browser. I can
> then print them. However, I want to
> have the pages form feed at specific places so the printouts look
> nice. How can I do that?
>
> Thanks.
>
> Mike
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php