I am looking to create some printer output from a program I made. What I need is to have a document (much like a word document) thrown to the printer as the output but have a couple variables in there where I can substitute words or phrases.
provide a link to a printable version, use CSS media controls for disabling the stuff you don't want to print, have the printable script substitute these words and things..
Are you saying that I should make PHP generate an HTML page on the fly? That's a good idea I guess... You know on some webpages though you can click print and it actually brings up the print window of the browser... how would I do that?