Website PDF fails in Preview if created w/Microsoft print to PDF

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Wed Nov 08, 2017 1:34 am

Ubuntu 16.04
OpenKM CE 6.3.2

HI, not sure where to go with this. A pdf created from a website with the Microsoft print to PDF does not display in preview in CE. If I use the Adobe PDF to create the pdf, the pdf displays in preview. If I use the OpenKM Professional version (on line demo), to open the pdf file created with the Microsoft print to PDF driver, the PDF displays properly. So it appears to only be a problem with CE? Is it related to SWFTools and flashplayer?

The work around is to always use the Adobe PDF print driver.

What does the future hold for the CE document viewer?

thanks

jllort
Moderator
Moderator
Posts: 10273
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by jllort » Wed Nov 08, 2017 4:44 pm

We are nearly to release a new OpenKM version 6.3.5 ( if you compile actual dev branch you will see the flash preview has been changed to HTML 5 solution ). I suggest upgrade from 6.2.x to 6.3.4 and then go ahead with 6.3.5 ( the migration guide until 6.3.5 is updated althought has not been oficially released ).

https://docs.openkm.com/kcenter/view/ok ... guide.html

silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Thu Nov 09, 2017 4:10 pm

Thank you jllort.
I am currently on CE 6.3.2 (I liked the batch file uploader and didn't want to lose its functionality).
But the viewer is more important, so the most recent available download version on your download page is 6.3.4.
Is 6.3.4 a cumulative update? Where do I find 6.3.3 if I need to install it first?
Is 6.3.5 available unofficially or did you mean install it when it becomes available?

thanks

jllort
Moderator
Moderator
Posts: 10273
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by jllort » Sat Nov 11, 2017 10:27 am

From here you can download the old war files https://sourceforge.net/projects/openkm ... rce=navbar

About vesion 6.3.5 has not been officially released, but you can download the source code, build it and follow the steps described in the migration guide to upgrade 6.3.4 to 6.3.5. Really we are at the end of the process of release the version 6.3.5 and probably will not be more changes before we release it. What I'm trying to say is that you can upgrade with actual 6.3.5 code, it is safe doing it.

silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Sun Jan 28, 2018 11:33 pm

Hello jllort
I am patiently waiting for the community 6.3.5 release. I was unable to find a download for the source code for this version. I did try here: https://github.com/openkm/document-mana ... system.git but this is for the 6.3.4 build. Can you provide a link to the later code (6.3.5)?

as an aside, can ignore the surefire errors during the compile process?

thanks

jllort
Moderator
Moderator
Posts: 10273
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by jllort » Thu Feb 01, 2018 6:55 pm


silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Thu Feb 01, 2018 8:46 pm

Ahhh...thanks, I now just figured out how to navigate that page.

Fingers X'd it compiles w/o the surefire errors when I tried building the 6.3.4!

thanks

silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Fri Feb 02, 2018 3:51 pm

Thanks again...but no go. There were compile errors build didn't complete, I did try using the -DskipTests switch, but I couldn't get the application to start. I'll wait for the release.

jllort
Moderator
Moderator
Posts: 10273
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by jllort » Sat Feb 03, 2018 8:16 am

From terminal the command line for building openkm is:

Code: Select all

git clone https://github.com/openkm/document-management-system.git
cd document-management-system
git checkout 6.3-DEV
mvn -Dmaven.test.skip=true clean package

silverspr
Senior Boarder
Senior Boarder
Posts: 75
Joined: Thu Aug 21, 2014 12:58 pm

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by silverspr » Wed Feb 07, 2018 1:04 am

Thanks for your help with compiling CE Dev 6.3.5. The document previewer looks great and is an improvement over the old version. I am able to view pdf files not previously viewable with the old architecture.

I've started a new thread regarding the execution script not completing.

thanks
dale
Last edited by silverspr on Fri Feb 09, 2018 4:50 pm, edited 2 times in total.

jllort
Moderator
Moderator
Posts: 10273
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Website PDF fails in Preview if created w/Microsoft print to PDF

Post by jllort » Fri Feb 09, 2018 11:59 am

Please do not merge several topics in the same post, if you have an issue with scripting add another one. Consider our answers are readed by other community users and we might create a big messi if we merge topics in the same post. Thanks for the comprehension.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests