Printing Tickets
Posted: Fri Jul 01, 2005 1:08 am
I am writing a code that generates Tickets, i am using html2fpdf, to make it in PDF Format.
My Ticket Width is 9.55 Inch, Height is 3.6 Inch
I made the PDF Page Size also with this Dimensions. When i am giving Print, the alignment is changing, i.e the text that is going to be printed on Ticket is going out boxes (i have pre printed ticket format, with empty boxes such as Route: , Time: etc)
And also..when a single ticket is booked, i want to get the paper out from the printer, until end of first ticket, to tear it easliy.
and make the second ticket to get ready for printing. Tickets are attached to each other..
I tried to use "\r" (Carriage Return) and trying to use "\f" (Form Feed), but don't know ..
Any suggesstions?
Thanks in advance
My Ticket Width is 9.55 Inch, Height is 3.6 Inch
I made the PDF Page Size also with this Dimensions. When i am giving Print, the alignment is changing, i.e the text that is going to be printed on Ticket is going out boxes (i have pre printed ticket format, with empty boxes such as Route: , Time: etc)
And also..when a single ticket is booked, i want to get the paper out from the printer, until end of first ticket, to tear it easliy.
and make the second ticket to get ready for printing. Tickets are attached to each other..
I tried to use "\r" (Carriage Return) and trying to use "\f" (Form Feed), but don't know ..
Any suggesstions?
Thanks in advance