How to make an invoice and print it?
Moderator: General Moderators
How to make an invoice and print it?
I want to make invoices from php, and print them. Which way is the best way, to print the invoices from a PHP page, or to export them into another software like word etc..., or if there is any other way...?
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: How to make an invoice and print it?
Just inform your users to print out the web page. Format it in a printer-friendly manner (B&W, fits on one page, etc.) so that you don't waste their ink and paper.
If you could force the user's printer to start operation, then people who own printers would have a lot of wasted ink.
If you could force the user's printer to start operation, then people who own printers would have a lot of wasted ink.
Re: How to make an invoice and print it?
So you think that the best way is to print the web page, not to export data in word etc....
p.s. Just me will use it:D
p.s. Just me will use it:D
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: How to make an invoice and print it?
Or, you can use a PDF library, like FPDF.
http://www.fpdf.org/
But yes, just printing to the page would be much easier.
http://www.fpdf.org/
But yes, just printing to the page would be much easier.
Re: How to make an invoice and print it?
thnx a lot.