print a text file

Post Reply
User avatar
don lowenstein
Posts: 201
Joined: Mon Oct 17, 2005 9:09 pm
Been thanked: 3 times
Contact:

print a text file

Post by don lowenstein »

What's the easiest way to print a text file?

if 1st select one of several printers - then I need to output a pre-formatted text file to the selected Windows Printer.

Suggestions?

thanks in advance.

Don
Don Lowenstein
www.laapc.com
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: print a text file

Post by cnavarro »

Look shellexecute( 0 , "print" , "c:\data\testpdt.pdf")
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Post Reply