On Wed, 03 Jun 2009, Szak�ts Viktor wrote: > > I used the commands in following sequence: > > SET PRINTER TO
Here printer file is closed. > > SET DEVICE TO SCREEN Only marks that next DEVOUT() should be redirected to screen. Has no effect on output and open handles. > > Set(_SET_PRINTFILE, "") // This line added Makes nothing here. Printer file is already closed. > > // !COPY DEMO.TXT PRN // This line I commented while testing now > Okay, thank you, that might explain the difference. > This may signal a Harbour problem, but I cannot confirm it after > taking a quick look at the code. As long as we are talking about current Harbour code from SVN then number of: SET PRINTER TO // it's the same as: Set(_SET_PRINTFILE, "") used before or after: SET DEVICE TO SCREEN does not make any difference. Only the 1-st 'SET PRINTER TO' is significant. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour