After I switch to FWH 13.12, I faced with a strange problem with the function oPrn:SetCopies(n).
If I use this function, My program always prints to de default printer.
Code: Select all | Expand
#INCLUDE "FiveWin.ch"FUNCTION Main()LOCAL oPrn, aPrinters:=aGetPrinters() PRINT oPrn TO aPrinters[5] oPrn:SetCopies(2) // If I remove this line, everything is OK, It will print to aPrinters[5] // otherwise it will always print to default printer (aPrinters[3] in my case) PAGE oPrn:Say( 1, 1, "Hello" ) ENDPAGE ENDPRINTRETURN NIL
Regards,
Birol Betoncu