SPOOLADD("C:\TEST\PRINT.DAT")

SPOOLADD("C:\TEST\PRINT.DAT")

Postby karinha » Thu Jan 13, 2022 7:41 pm

És posible hacer esto en fivewin?

https://harbour.github.io/doc/clct3.html#spoolactiv

Code: Select all  Expand view


SET PRINTER TO C:\TEST\PRINT.DAT         // Redirect print
SET DEVICE TO PRINT                      // Print Output
@....SAY....
@....SAY....
SET DEVICE TO SCREEN
SET PRINTER TO                           // Close output file

IF SPOOLACTIV()
   SPOOLADD("C:\TEST\PRINT.DAT")         // .T., if correct
ELSE
   *'normal' print
ENDIF
 


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7315
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 28 guests