DataWindow.Print.PrinterName is not setting the printer, always defaults to default.
I cannot get the simplest sample to work.
// Setting Printer Name in PowerBuilder
string ls_printername
ls_printername = "\\\\ServerName\\PrinterName"
dw_1.Object.DataWindow.Print.PrinterName = ls_printername
// Verify if the printer name was set correctly
string ls_setprintername
ls_setprintername = dw_1.Object.DataWindow.Print.PrinterName
MessageBox("Printer Name Set To", ls_setprintername)
Andreas.
Andreas.