One method is:
l_prn = GETPRINTER()
m2 = FILETOSTR("factura.txt")
SET PRINTER TO NAME (l_prn)
SET PRINTER ON
SET CONSOLE OFF
? m2
SET CONSOLE ON
SET PRINTER OFF
SET PRINTER TO
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.