We use the PDF X-Change SDK, specifically using the driver API method to print files silently to PDF output.
We are tasked with the need to print EPUB files to PDF via the PDF X-Change printer driver and we seem to be unable to do so. We installed the Adobe Digital Edition EPUB reader to open EPUB files, but unfortunately we are unable to print to the PDF X-Change driver in code. We were wondering if you could assist with recommendations on how to do this using the SDK.
Thanks in advance.
Andy
Printing EPUB files to printer driver by code HELP
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 6
- Joined: Tue Mar 25, 2014 7:06 pm
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Printing EPUB files to printer driver by code HELP
Andy,
Before getting to far into this - can you advise you can do so directly from the EPUB reader user interface to the driver (though this will work in eval mode only and put watermarks on output) just to establish there is no issue without trying to do so in code as an initial proving step ...
Thanks
Before getting to far into this - can you advise you can do so directly from the EPUB reader user interface to the driver (though this will work in eval mode only and put watermarks on output) just to establish there is no issue without trying to do so in code as an initial proving step ...
Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 25, 2014 7:06 pm
Re: Printing EPUB files to printer driver by code HELP
Hi John,
Thank you for the speedy response.
I have tried printing the EPUB file from the reader to the printer driver, but it seems to create blank pages in an infinite loop. I can view the EPUB file correctly in the reader. Does not mean that the EPUB file is not compatible with the reader?
The customer is creating their own EPUB files, but not sure how or with what. I have attached a sample copy of their file.
Thanks John for your help and I look forward to a solution to this.
Andy
Thank you for the speedy response.
I have tried printing the EPUB file from the reader to the printer driver, but it seems to create blank pages in an infinite loop. I can view the EPUB file correctly in the reader. Does not mean that the EPUB file is not compatible with the reader?
The customer is creating their own EPUB files, but not sure how or with what. I have attached a sample copy of their file.
Thanks John for your help and I look forward to a solution to this.
Andy
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Printing EPUB files to printer driver by code HELP
Hi Andy - I have asked one of our Driver SDK specailists to take a look and we will revert as soon as possible, though please note this may not be until later as he is based in our Vancouver Island office ...
Thanks for your patience.
Thanks for your patience.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 25, 2014 7:06 pm
Re: Printing EPUB files to printer driver by code HELP
Thank you very much John. I look forward to his recommendation.
Andy
Andy
-
- Site Admin
- Posts: 306
- Joined: Sun Nov 21, 2004 3:19 pm
Re: Printing EPUB files to printer driver by code HELP
Hello Andy,
The printing fails because the sample file contains an embedded PostScript data and Adobe Digital Edition EPUB reader tries to pass this data directly to the printer.
PDF-XChange does not support embedded PostScript in print job.
The printing fails because the sample file contains an embedded PostScript data and Adobe Digital Edition EPUB reader tries to pass this data directly to the printer.
PDF-XChange does not support embedded PostScript in print job.
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Printing EPUB files to printer driver by code HELP
Its also worth noting Andy that many physical and Virtual printers (particularly the latter) will have issues with these files unless specific 'PS' injection is provided by the manufacturer and in fact - going further, it would appear that Adobe have with the epub reader tried to block printing epub docs to virtual printers, for example it also blocks printing to the MS Doc Converter printer. This is probably in an effort to reduce/block ebook piracy.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 25, 2014 7:06 pm
Re: Printing EPUB files to printer driver by code HELP
Hi Roman and John,
Thank you very much for taking the time to investigate the issue.
The customer is using an unknown EPUB creator for this sample file that causes this issue. Is there an EPUB software that you could recommend that could allow the customer to create a good file format that we can print through the PDF X-Change without any issue? Basically, we are looking at a way to be able to create EPUB files that can be printed through the PDF X-Change to convert them to PDF.
Thanks again for all your help.
Andy
Thank you very much for taking the time to investigate the issue.
The customer is using an unknown EPUB creator for this sample file that causes this issue. Is there an EPUB software that you could recommend that could allow the customer to create a good file format that we can print through the PDF X-Change without any issue? Basically, we are looking at a way to be able to create EPUB files that can be printed through the PDF X-Change to convert them to PDF.
Thanks again for all your help.
Andy
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Printing EPUB files to printer driver by code HELP
I would be only too pleased to help if we did Andy - but I regret our knowledge of such creators at this time is very limited and I would be no better placed than you or your client I am afraid ...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 25, 2014 7:06 pm
Re: Printing EPUB files to printer driver by code HELP
Thanks anyway John. You and Roman have been a great help. I will look around and see if there any good EPUB software out there and maybe report back here in case other users are after the same objective.
Thanks again.
P.S.: Vancouver Island is beautiful... you guys live in paradise...
Andy
Thanks again.
P.S.: Vancouver Island is beautiful... you guys live in paradise...
Andy
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Printing EPUB files to printer driver by code HELP
Its not so bad Andy - but I have just moved to the UK - somethings you miss and some you don't, Good luck in your search...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com