General information
Category:
Coding, syntax & commands
Title:
How can I print a text file to printer without FILETOSTR()?
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...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only