Groups
Sign in
Groups
PDFTron SDK
Conversations
Labels
About
Send feedback
Help
Exception while printing
73 views
print
Skip to first unread message
James Dustin
unread,
Dec 9, 2014, 4:26:30 PM
12/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfne...@googlegroups.com
Hi, any ideas what might be causing this problem with printing?
The code was just a quick test by cutting and pasting the code from the first sample in the PDFPrintTest.cpp.html sample code into an existing program
Exception:
Message: Could not create XpsOMObjectFactory
Conditional expression: SUCCEEDED(hr)
Filename : PDFPrintDocSpoolerWin.cpp
Function : trn::PDF::Print::PDFPrintDocSpoolerWin::StartXpsPrintJob
Linenumber : 791
Thanks,
James Dustin
Aaron
unread,
Dec 9, 2014, 4:57:07 PM
12/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfne...@googlegroups.com
Hi, James!
What platform are you running on? On pre-Vista versions you would need to install the XPS Essentials Pack:
http://www.microsoft.com/en-ca/download/details.aspx?id=11816
Obviously another workaround is to rasterize the document and print the result, as show in the second example of the printer sample:
https://www.pdftron.com/pdfnet/samplecode.html#PDFPrint
James Dustin
unread,
Dec 9, 2014, 5:55:54 PM
12/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfne...@googlegroups.com
Hi Aaron,
I'm trying it on Windows 7.
If it's any help the windows version is 64bit but the application stack is all 32bit.
I'll give the rasterize option a try as well.
Thanks,
James
Reply all
Reply to author
Forward
0 new messages