* A print button that will print a ticket in printer friendly format. (this one isn't that important, just a nice to have)
This one is actually quite easy for you to implement without the need for a print button. Using CSS, this can be done by creating a CSS file for print only useage (print.css is a good name).
You would then declare the changes that are to be made in print.css (if you choose to call the file that). Once you've changed the colors and settings, then just specify the following in the <HEAD> and </HEAD> tags of the themes/[THEME_NAME]/theme.php file:
<LINK HREF="print.css" REL="stylesheet" TYPE="text/css" media="print">
Wherever you want something to be removed, just declare a span or div with the class "noPrint" and put the following in the print.css file along with your other print specified colors:
.noPrint {
display: none ! important;
}
The "!important" forces the display:none value to ensure that it is not displayed.
With this format, no matter what browser you're using, just print the page and the unwanted stuff will automatically be removed. No "Printer Friendly" button needed!
