Re: Beautiful HTML Invoice -> Prints like crap! I need somesuggestions!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@media print {
  /* style sheet for print goes here */
}

http://www.w3.org/TR/REC-CSS2/media.html



^^^ This is a good suggestion. But if you only need to print just this one invoice then you can also take a full screen shot, paste that into your favorite image program and then print from there. (Usually this is Print Screen on your keyboard).


And if it does not fit on one screen, take more screenshots and glue them together in the favorite image program :)

The OP's problem is that images are printed, so this crazy solution would not work

Maybe that's the way you read it, but to me it looks like he's complaining that what he sees in his browser is what he wants to print, but this is not what is being printed (I assume because of alpha images). My point was that if the OP only needs to print one or two invoices then it's a bit overkill to create a CSS for print media when he can just print out a screenshot.

Yeah it's out of the box / not the purist answer.  Sue me.  :P

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux