Hi,
sometimes, I have this kind of problem. When I print pdf document via the OLE AcroExch.AVDoc, the function returns a success code but there is no job in the spooler.
These are the steps in my C++ prog :
m_pAcroAVDoc->CreateDispatch("AcroExch.AVDoc",&objOleErr)
...
m_pAcroAVDoc->Open(documentName, NULL);
...
m_pAcroAVDoc->PrintPagesSilent(0, ...)
We use Acrobat 6.
When we print the document on a specified printer, we have to set it as the default printer and we set also the default paper bin and then, we print.
After printing, we restore the old settings for the printer.
Do you have any idea about this problem ?
Thanks a lot for your help.
sometimes, I have this kind of problem. When I print pdf document via the OLE AcroExch.AVDoc, the function returns a success code but there is no job in the spooler.
These are the steps in my C++ prog :
m_pAcroAVDoc->CreateDispatch("AcroExch.AVDoc",&objOleErr)
...
m_pAcroAVDoc->Open(documentName, NULL);
...
m_pAcroAVDoc->PrintPagesSilent(0, ...)
We use Acrobat 6.
When we print the document on a specified printer, we have to set it as the default printer and we set also the default paper bin and then, we print.
After printing, we restore the old settings for the printer.
Do you have any idea about this problem ?
Thanks a lot for your help.