Hi Fergus,
the function "PrintPagesSilent" returns false.
The document there is because the function "GetNumPages()" returns the
number of pages of the pdf.
What I can still make?
I have forgotten that printer is not connected to the server but is in LAN.
Printer default of the server is that in LAN.
Sorry for my english. I'am Italian.
Best regards
Enrico
"Fergus Cooney" <fi******@tesco.net> ha scritto nel messaggio
news:ub**************@tk2msftngp13.phx.gbl...
Hi Enrico,
|| The rest works why I succeed in reperire the number of the pages of
the pdf
?? I don't understand this.
My only idea is that the Acrobat documentation says that FirstPage is
0. uiLastPage would therefore be NumPages - 1. But if you're setting
uiLastPage as I suggested you should get everything except the first page.
PrintPages comes back with True for success and False if there's no
document or an exception occurs.
I forgot to mention PrintPagesSilent which is the same function but
without the Print dialogue. It sends to the default printer.
Regards,
Fergus