Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How can I print a text file to printer without FILETOSTR()?
Versions des environnements
I try to print a text file with this procedure:
cPrinter = GETPRINTER()
IF NOT EMPTY(cPrinter) && Printer selected
lsOldDefault = SET("Printer",2)
SET PRINTER TO NAME (cPrinter)
SET PRINTER ON
SET CONSOLE OFF
?? FILETOSTR(YourFile)
SET PRINTER TO NAME (lsOldDefault)
SET PRINTER OFF
SET CONSOLE ON
ENDIF
but in text file I have line with 80 char length and on the page printed result lines with 37char length.
how can I fix that?
Thank's
Andrei
PS: Sorry about my english...
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement