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

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

 



Jason Barnett wrote:
Marek Kilimajer wrote:

Matt Babineau wrote:

Hi all -

I've got a great html invoice that prints like crap because of my user of
background images and foreground images. Does anyone have any good
suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the HTML view to a JPG? I'm on
a linux box and have php 4.3.10.



make css for print media:

@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

--
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