Print a $variable

E

EnjoyNews

Is it possible to make a print function that with a click on a button, sends
a $variable direct to a printer ?

I'm making a invoice system where my clients should be able to print their
invoices from their profile on my site..

The entire invoice is put in a $variable and echo'ed on the screen and it is
this variable they should be able to print.
 
A

ahsan

I am also looking for a solution to this problem.

I am using Ajax to load xhtml into an object and then i want to
window.print that object.
Any ideas guys?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top