print a text file

print a text file

Postby don lowenstein » Thu Jun 04, 2020 2:39 pm

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
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Re: print a text file

Postby cnavarro » Thu Jun 04, 2020 8:29 pm

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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: RSalazarU and 54 guests