Api/dev.printfile(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "this function is part of the dev. api and used to print a file to a printer device. '''usage:''' dev.printfile(filepath) '''output:''' prints the contents of the provided file, splits it up into several pages, does NOT format the text to fit the pages, simply prints it.") |
No edit summary |
||
Line 12: | Line 12: | ||
prints the contents of the provided file, splits it up into several pages, does NOT format the text to fit the pages, simply prints it. | prints the contents of the provided file, splits it up into several pages, does NOT format the text to fit the pages, simply prints it. | ||
'''example:''' | |||
dev.printfile("/test") splits the file "/test" into pages and prints them |
Revision as of 14:38, 1 October 2024
this function is part of the dev. api and used to print a file to a printer device.
usage:
dev.printfile(filepath)
output:
prints the contents of the provided file, splits it up into several pages, does NOT format the text to fit the pages, simply prints it.
example:
dev.printfile("/test") splits the file "/test" into pages and prints them