PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Printing PDF-documents
Printing PDF-documents
Débuté par Geert Debruyne, 06 jan. 2005 10:34 - 1 réponse
Posté le 06 janvier 2005 - 10:34
This is my problem: i have about 5000 PDF-files which i got from a cutomer. Those files represent 1 page each. I should be able to print them out in a certain order.
The order is no problem, but how can i, from within a Windev application, print all of the PDF files that are included in one directory? This should be done without user intervention because we do not want to open 5000 PDF-files manually!
Thanks for your help
Geert
Posté le 06 janvier 2005 - 12:12
Geert,
NrOfPDFfiles = fListFile("C:\SomePath\*.pdf", "GlobalProcPrintPDFfile")
PROCEDURE GlobalProcPrintPDFfile(Directory, Name, Change, NbDocFiles)
ShellExecute(Directory+Name, "print")
return true
// in case of printqueue overflow implement some delaying tactics or test the printer status
Good luck
Greetings Merijn

This is my problem: i have about 5000 PDF-files which i got from a cutomer. Those files represent 1 page each. I should be able to print them out in a certain order.
The order is no problem, but how can i, from within a Windev application, print all of the PDF files that are included in one directory? This should be done without user intervention because we do not want to open 5000 PDF-files manually!
Thanks for your help
Geert



OrangeTree Project Solutions