Page 1 of 1
receipt
Posted: Tue Aug 18, 2009 6:48 am
by fiX'me^i'm'BroKEn
hi..gud day to all.. i need some hand on the codes to print or generate receipts using php....please i really need it..any help will do..hope to hear from any of you soon...thanks a lot..godbless...
Re: receipt
Posted: Tue Aug 18, 2009 7:01 am
by mrvijayakumar
Hi,
I hope this will help u to print receipts. Printing option can be enabled by using JavaScript. Option to print is
Code: Select all
<a href="JavaScript:window.print();">Print this page</a>
. Design one html page in receipt format (U can use dynamic pages also). Then add the above code on your page at top or bottom. Once u click print, page will be printed in receipt format u had designed.
Reply me once u get answer or any doubt appears. All the best.
Re: receipt
Posted: Wed Aug 19, 2009 4:40 pm
by fiX'me^i'm'BroKEn
thanks a lot sir for the information...i haven't applied it yet..but ill tell you sir whenever our group successfully printed receipt....its for our thesis study...thanks a lot sir... godbless...
Re: receipt
Posted: Wed Aug 19, 2009 10:22 pm
by fiX'me^i'm'BroKEn
uhm...what's the use of javascript in generating the receipt in php?
Re: receipt
Posted: Wed Aug 19, 2009 10:27 pm
by Ollie Saunders
You haven't really given us anything to go on here. Are the receipts being printed in a retail environment, being emails, or displayed on a web page? And where's the data that the receipt will be generated from coming from?