'sure' Printing
We want to print a report containing 'vouchers'. These vouchers are a kind
of cheques.
So wat we would like to to is to print one on each page and after having
printed the page register the voucher as issued and available for use. The
problem is that from time to time we launch huge series (up to 500.000).
For us it is important to know that if a paper-jam occured to now where
exaclty.
Until now we printed directly to the printer and page by page. This was the
safest way and we are happy with it.
But the layout starts to get more and more complicated and we would prefer
to do this with RB.
Is there a way to setup a report that it only prints the next page after the
previous one is printed correctly ??
Harry Leboeuf
Kinepolis Group
of cheques.
So wat we would like to to is to print one on each page and after having
printed the page register the voucher as issued and available for use. The
problem is that from time to time we launch huge series (up to 500.000).
For us it is important to know that if a paper-jam occured to now where
exaclty.
Until now we printed directly to the printer and page by page. This was the
safest way and we are happy with it.
But the layout starts to get more and more complicated and we would prefer
to do this with RB.
Is there a way to setup a report that it only prints the next page after the
previous one is printed correctly ??
Harry Leboeuf
Kinepolis Group
This discussion has been closed.
Comments
I think you can use 'PRINTER_INFO_6', in Delphi PrinterInfo6 (Windows
NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.) to get the state of your printer.
'printers.pas' shows how to deal with a PrinterInfo structure (you'll love
Billy).
regards,
Chris Ueberall;
TppPage object to the printer device. You then should be able to query the
printer for it's state to make sure that the voucher printed properly and if
so register the voucher before sending the next page.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com