How to print simultaneously
Hello:
I need to print a ticket to a local printer in a POS application , but I
need to print the detail bands as the user enters the items (not until the
end of the document). When the first item is entered, the report would have
to print the header band and one detail band, then pause until the user
enters another item, then print another detail band, and so on until the
user saves the document to finally print the summary band. Besides, there is
no page size because it is a continuous paper roll.
Is there any trick in RB to accomplish this?
Thank you.
Luis Arenal
I need to print a ticket to a local printer in a POS application , but I
need to print the detail bands as the user enters the items (not until the
end of the document). When the first item is entered, the report would have
to print the header band and one detail band, then pause until the user
enters another item, then print another detail band, and so on until the
user saves the document to finally print the summary band. Besides, there is
no page size because it is a continuous paper roll.
Is there any trick in RB to accomplish this?
Thank you.
Luis Arenal
This discussion has been closed.
Comments
POS printers are not meant to make our lives easy
seriously, i wouldn't recommend using RB to render the ticket nor the detail
band
just use the windows ESC() function wich lets you print directly to the
printer bypassing the printer driver
you'll have to provide the layout by hand though, so you'll also need to
send some esc sequences...
the advantage is that printing will be faster and you don't have to worry
about page lengths
btw, you can mix the two, so if you want a bitmap printed you could do it
using the printer.canvas and then switch back and use the ESC() do do any
further printing
you could also have a look at www.waler.com (hopes this is correct) who
built a device for printing to matrix printers, maybe this is handy in your
case...
cu
marc
I think the Waler device can help me. I'll take a look at it.