Hi Viktor,
ok, thank you for your attention.
If anyone else has any tips I appreciate. In this regard I will hand in
changing all that.
Leonardo Machado
sygecom wrote:
>
> Hello to All,
>
> If I compile the example below with it's harbour an error in the SET
> DEVICE TO PRINT, but reverse and put the SET DEVICE TO PRINT after the SET
> PRINT TO "c: \ my_file.txt" there's not a mistake, but I have thousands
> routines that are well and in whatever order xharbour it compiles and runs
> without errors. Do you have any tips on how to resolve this without having
> to change all my routines one by one?
>
> ***********
> Function MAIN
> ***********
> SET DEVICE TO PRINT
> set print to "c:\my_file.txt"
>
> @ PROW()+1,00 say CHR(15)
>
> @ PROW()+1,01 say "TESTE DE IMPRESSAO LINHA 01"
> @ prow(),pcol()+2 say "AINDA NA MESMA LINHA TESTE DE IMPRESSAO LINHA 01"
> @ prow()+3,02 say " ______________________________ "
> @ prow()+1,02 say " Gerente de Compra.:"
>
> SET PRINTER TO
> set device to screen
>
> *EDICAO("c:\my_file.txt") // FEATURE THAT SHOWS IN THE SCREEN generated
> file
>
> RETURN
>
>
> The error that is giving the Harbour:
> Error TERM/2014 Erro de cria‡Æo: LPT1 (DOS Error 2)
> Called from SET(0)
> Called from MAIN(1)
>
--
View this message in context:
http://www.nabble.com/Error-using-the-SET-DEVICE-TO-PRINT-tp23045136p23045793.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour