Print to disk/queue or other solution
My application prints labels. A user enters text and selects the number of labels to be printed. By default, a serial number is also created + separate unique barcode. These data are put in a kind of print database.
So when someone wants to print 500 labels, 500 records are first generated in the print database with the serial number and barcode. These records are also copied to a separate database that is used for scanning the barcodes. Then the records are printed from the print database.
The print database will be cleared for each job with the risk that there are still records from the previous job because printing is not ready yet.
Is there a better way to do this, eg in combination with a frxReport and a 'before' (or other) event or can
I print to disk or queue to be picked up by the printer in the background.