Hi!

Using the code below, i am sending RunReport to the report object.
I am setting the printer name, the printer name does exist on the computer with the exact same name. But still it prints to the default printer?!

This is latest DF Report ver 24.0

Code:
            Object oTestReceiptReport is a cDRReport
                Set Size to 0 0
                Set Location to 0 0
                Set psReportName to "TestReceiptPrinter.dr"
                Set pbShowStatusPanel to False
                Set psPrinterName to (Trim(BUTIKSYS.RECEIPT_PRINTER_NAME))
                Set peOutputDestination to PRINT_TO_PRINTER_NO_DIALOG
                
                Procedure OnInitializeReport
                    String sReportId
                    Forward Send OnInitializeReport
                    
                    Get psReportId to sReportId
                    
                    Send ChangeODBCDataSource of ghoReportWriterGlobalFunctions sReportId Self
                    
                End_Procedure
                
            End_Object