Forum Moderators: coopster
I need to physically print bunch of reservation information - which are contained in numerious session variables - to a printer.
My plan would be to combine all of this information into one large plain text variable - seperated with line breaks as appropriate - same as I do when I use php to send an email. That's easy enough. But, once I get everything combined, how do I send this info to the physical printer?
I guess the path of least resistance would be to use print.window() - but I don't want to print the window... just the variable.
Any suggestions?
Neophyte
The other solution would be to create pdf from php - there you have power over what's being printed.
You can check out
[zend.com...]
or a ready to use pdf library
[sourceforge.net...]
The only other solution is printing from the browser. But then it's horribly hard to specify the layout.
Regards
Michal