Share My Creation Print text to default printer

Hello friends,:D it is a pleasure to share with you a very easy way to print text on the default printer. It is also possible to print in PDF if you install a PDF printer such as SolidPDFCreator and select it as the default printer in the Windows settings panel.

First you must copy the 'txtDflPrt.exe' file to the application directory and call the Print function of the Printer module as shown in the code below:

Printer.Print("ModuleName","EventName","DocumentName","Text to print")

I attached an example program to you understand how it is used. I hope you find them useful. ;)

CLARIFICATION: the 'txtDflPrt.exe' file is sometimes detected as a virus for some antivirus, but be calm because it is not.

upload_2017-4-12_7-7-52.png
 

Attachments

  • Print Text.zip
    412.2 KB · Views: 358
Last edited:
Top