txt files can simply be printed from Harbour via Winexec("notepad.exe XXX.txt")
How can pdf files been printed from Harbour?
Re: pdf
jds,
You can find a free PDF-viewer at http://blog.kowalczyk.info/software/sum ... index.html.
It can be used as a automated print instruction for PDF-files.
I recalled the executable to "PRINTPDF.EXE" to be used in my application.
The source I use is :where dNameDoc contains the pathname of the PDF-file to be printed.
Good luck.
You can find a free PDF-viewer at http://blog.kowalczyk.info/software/sum ... index.html.
It can be used as a automated print instruction for PDF-files.
I recalled the executable to "PRINTPDF.EXE" to be used in my application.
The source I use is :
Code: Select all
WAITRUN("..\UTILIT~1\PrintPDF.exe -Print-to-default -exit-on-print " + dNameDoc,1)
Good luck.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7