Index: DCPRINT2.mac.rou =================================================================== diff -u -r56821 -r56867 --- DCPRINT2.mac.rou (.../DCPRINT2.mac.rou) (revision 56821) +++ DCPRINT2.mac.rou (.../DCPRINT2.mac.rou) (revision 56867) @@ -29,12 +29,8 @@ . . Set:(KLNr=$$$KlantVanHoeckeNV)||(KLNr=$$$KlantHalux) DocType=$$$ldtBonWit . . // Printer voor FOP bepalen - . if '$length(Printer) set Printer = ##class(BL.Legacy.DCPRINT2).GeefPrinter(BONNr) - . Set Printer = ##class(BL.Sys.FOP.CommonTasks).ApplyPrinterRedirects(Printer) + . Do ##class(BL.Legacy.DCPRINT2).WijzigPrinterEnDocType(BONNr, .Printer, .DocType) . - . // Papier aanpassen voor o.a. "Rechtstreekse levering" - . If (##class(BL.Legacy.DCPRINT2).IsAfdrukOpBlancoPapier(BONNr, Printer)) Do ##class(BL.Legacy.DCPRINT2).PasAanDocTypeNaarBlancoPapier(.DocType, Printer, BONNr) - . . // Taak aan FOP-scheduler toevoegen . Set sc=##class(BL.Flow.Levering.Doc).RenderAndPrintDocViaType(BONNr,DocType,Printer,1) ; printer: leeg=default .