Przemek, Maurilio:

Testing again with this code:
---------------
func main

SET PRINTER ON
? "Printing to default"
SET PRINTER OFF

SET PRINTER TO PRN
SET PRINTER ON
? "Printing to default (PRN)"
SET PRINTER OFF
SET PRINTER TO

SET PRINTER TO LPT1
SET PRINTER ON
? "Printing to LPT1"
SET PRINTER OFF
SET PRINTER TO

RETURN NIL
---------------

produce not output in printer, but I found two files on disk with content sent to printer:
LPT1.prn, PRN.prn

Perhaps all problem is automatic .prn extension added ?
This extension is ignored in DOS/Win when device exist, and not ignored in OS/2 ?

David Macias


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to