frank holland
7th March 2013, 16:13
Hi,
We have a shipment module that I developed, where we create transport orders that contain all sales deliveries that ship with one truck.
I wrote a program to print delivery notes by transport order, it prints standard delivery notes for all orders that are part of the shipment (using afs). So I get one print job for each sales order.
Now we want to use a fail-over pool of two identical printers for these delivery notes. For Baan this would be one printer, physically it would be two, where the printer driver divides the print jobs over the two devices.
I one device breaks, the other one prints all.
Because of this pool I want to achieve that all delivery notes of the same transport order come out at the same printer. Therefore I want to combine several print jobs to one job.
One way would be the following:
- I print the standard delivery notes to an ascii file, and combine them in one file
- I write a session "print file" in Baan with a one line report that reads this file line by line, and prints it to the actual printer
Should this work?
Does anyone have another idea how to do this?
Regards,
Frank
We have a shipment module that I developed, where we create transport orders that contain all sales deliveries that ship with one truck.
I wrote a program to print delivery notes by transport order, it prints standard delivery notes for all orders that are part of the shipment (using afs). So I get one print job for each sales order.
Now we want to use a fail-over pool of two identical printers for these delivery notes. For Baan this would be one printer, physically it would be two, where the printer driver divides the print jobs over the two devices.
I one device breaks, the other one prints all.
Because of this pool I want to achieve that all delivery notes of the same transport order come out at the same printer. Therefore I want to combine several print jobs to one job.
One way would be the following:
- I print the standard delivery notes to an ascii file, and combine them in one file
- I write a session "print file" in Baan with a one line report that reads this file line by line, and prints it to the actual printer
Should this work?
Does anyone have another idea how to do this?
Regards,
Frank