Posted Thursday, March 24, 2005 @ 08:31:24
I want to print bills for a number of clients. The bill can be put in a dbTable. I want to create the bill in dbTable and print() it and then generate next client's bill and print that and so on.... I want to 1) print the bill automatically to windows default printer, 2) know the event when 1 client's bill has been printed so that I can start working on generating next client's bill and print that? I have 4 questions:
1) Can we print directly to a printer (say windows default printer) without getting the window for selecting which printer and its properties? Currently, when we do dbTable.print() it brings up the print dialog window where we need to select which printer to print to. Can we bypass that window and print directly to default printer.
2) It seems as though print() method is multi-threaded. Is there any way to know when the printing is done of a table?
3) Another way to solve printing bills would be if I could insert page breaks in dbTable for printing. This way all of the client's bill can be put on 1 dbTable with correct page breaks. Can we put Page breaks for printing in dbTable?
4) The getBorderHeight() method in PrintProperties is not changing anything for me. Probably I have an old version. I had bought dbTable from you. The version I have is 2.0.5.7 Is there a newer version which has the fix for getBorderHeight() method?
--------------------