receipt
Moderator: General Moderators
-
fiX'me^i'm'BroKEn
- Forum Newbie
- Posts: 3
- Joined: Tue Aug 18, 2009 6:42 am
receipt
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...
- mrvijayakumar
- Forum Commoner
- Posts: 58
- Joined: Tue Aug 18, 2009 12:39 am
- Location: Chennai city, India
- Contact:
Re: receipt
Hi,
I hope this will help u to print receipts. Printing option can be enabled by using JavaScript. Option to print is. 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.
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>Reply me once u get answer or any doubt appears. All the best.
-
fiX'me^i'm'BroKEn
- Forum Newbie
- Posts: 3
- Joined: Tue Aug 18, 2009 6:42 am
Re: receipt
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...
-
fiX'me^i'm'BroKEn
- Forum Newbie
- Posts: 3
- Joined: Tue Aug 18, 2009 6:42 am
Re: receipt
uhm...what's the use of javascript in generating the receipt in php?
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: receipt
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?