On Tue, 30 Mar 2010, Fernando Athayde wrote:
Hi,
> Error TERM/2014 Create error: \\caixa2\Epson LX-300.prn (DOS Error 67)
> Called from ->SET(0)
> with xharbour runs well, but with harbour don´t run
> i´ve migrated all my whole application for harbour, i´ll need to print in
> network and in lx300 usb
> can someone help me?
PROCEDURE my_setPrinterTo( cPrinter, lAdditive )
LOCAL lDefExt := SET( _SET_DEFEXTENSIONS, .F. )
SET( _SET_PRINTFILE, cPrinter, lAdditive )
SET( _SET_DEFEXTENSIONS, lDefExt )
RETURN
and if you still want to use SET PRINTER TO ... command then:
#command SET PRINTER TO <(file)> [<add: ADDITIVE>] => ;
my_setPrinterTo( <(file)>, <.add.> )
best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour