How do I create PDF-XChange Viewer SDK server applications that can perform unattended printing?
Please note that a developer asked this question in the PDF XChange forum. The product that they were developing was a server-type application, which required the functionality to be unattended and without previews/dialog boxes. They wanted it to be available when there was nobody logged in on the machine (i.e. invoked by a Windows Service).
The correct method depends on which SDK is being used:
If the Simple DLL SDK is being used then it is simply a matter of drawing the pages (page by page) onto the printer's DC directly. There are extensive instructions on the MSDN website about how to achieve this. It is available here.
If the ActiveX SDK is being used then it is necessary to specify the option 'AX_NoUI' flag to set printing outside of the user interface. Alternatively, JavaScript can be used.
You can contact us by phone, email or our social media accounts — we are here to assist you.
Cookies are necessary in order to enable you to move around the website and use its features,
including making purchases through our online store.
We need cookies in order to determine the number of unique users who visit the site,
and to provide certain features, such as the login functionality.
We do not use cookies for advertising purposes.
By clicking "Accept" (or continuing to use the site) you are agreeing to our use of these tools.
Learn More