File system document?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Post by weblike »

Hi RentProperty,

Have you tested 7PDF?

I have the following problem. When the PDF is displayed on the screen and I try to print directly without saving, on printed paper I have only hieroglyphs... :(...
I tried to use DISPLAY DOCUMENT pdf IN WINDOW
same thing...

Thank you
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Post by weblike »

Anyone,

Can you suggest another third-party word .doc, .docx to PDF command line converter?

We have tested 7PDF but the converted PDF documents contains strange characters when are printed directly from the browser.

Appreciate any idea.

Thank you.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
hpl123
Posts: 2599
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re:

Post by hpl123 »

weblike wrote:Hi there,

Of course. Gladly to share. I'm implementing 7PDF Maker from http://www.7-pdf.de/produkte/7-pdf-maker. I have installed it on C:\7PDF path to be easier.
Just keep in mind that 7PDF doesn't allow spaces in Folder Names/document names, but you can avoid this with REPLACE PATTERN function.

Then Execute Command is as I wrote above.
If you need further advices, please let me know.

Now I'm playing with file system documents as I don't want to keep PDF documents in DB.
George,
Trying to set up the word to pdf convert using 7-zip (thanks for the info/guide by the way :) ) and I wanted to ask you about how you / Aware IM / 7-zip handle multiple files being converted at the same time? If I for example have a process that (just like in your scenario):
1. EXPORT DOCUMENT (Word)
2. EXECUTE PROGRAM (Word to PDF)

and I use the same folder for example "C:/7dfconvert" and same filename file.doc. What would happen if my process above is executed multiple times? Will the solution handle this correctly or should one use a different name for each file to make sure all works?

Thanks in advance.
Henrik (V8 Developer Ed. - Windows)
Powerm
Posts: 473
Joined: Mon Feb 01, 2010 9:44 pm
Contact:

Re: File system document?

Post by Powerm »

What about security ??? I won't store confidential infos on a Tomcat folder.
Independent Developer
www.atwing.com
hpl123
Posts: 2599
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: File system document?

Post by hpl123 »

Powerm,
Did you reply to this topic or another? If this one, please clarify?
Henrik (V8 Developer Ed. - Windows)
Powerm
Posts: 473
Joined: Mon Feb 01, 2010 9:44 pm
Contact:

Re: File system document?

Post by Powerm »

Was asking about this topic. If we store documents with customer information on it ( invoices, reminders or contracts etc etc ) we have to make sure they can't be read directly or be public.
Independent Developer
www.atwing.com
hpl123
Posts: 2599
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: File system document?

Post by hpl123 »

Good point.
I thought of doing the pdf convertion like this (and do the convertion in a folder NOT under Aware IM main folder for example C:/7pdf):
1. EXPORT DOCUMENT (Word)
2. EXECUTE PROGRAM (Pdf Convert)
3. IMPORT DOCUMENT (Pdf)
4. DELETE FILE (Word and Pdf)

This would in my mind work and not leave any of the documents in a public location IF these documents aren't also placed in some temp folder inside the Aware IM main (or public) folders? This is very important so if anyone or support know, please comment. Thanks
Henrik (V8 Developer Ed. - Windows)
Powerm
Posts: 473
Joined: Mon Feb 01, 2010 9:44 pm
Contact:

Re: File system document?

Post by Powerm »

Much better and safer. And least we won't have the database growing on a daily base.
Independent Developer
www.atwing.com
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: File system document?

Post by weblike »

Hi,

Update for this post:

For HTML files I'm using now another solution than 7PDF...
This is calling http://wkhtmltopdf.org/ ...It's much faster than 7PDF.
I have converted all my Word Documents to HTML, because converting Word->PDF it was too slow for us...The user had to wait 3-4 seconds before the PDF was showed up on the screen,

wkhtmltopdf is much faster and also easy to use...

Hope it helps,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: File system document?

Post by weblike »

Hi,

For location storage of the files I'm using an outside folder in C:\APPDOCS
Here, each APP has it's own folder under each Tenant also has his folder with invoices, documents, etc.
Thinking in adding backup services for my customers based on a monthly subscription...Just have to find a way of remote access to these folders (FTP, etc).

thx.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
hpl123
Posts: 2599
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: File system document?

Post by hpl123 »

Thanks for the info/clarification George. The html convert tool looks nice, will try that as well.
Henrik (V8 Developer Ed. - Windows)
yuri.rj
Posts: 223
Joined: Tue Jan 11, 2011 8:05 pm

Re: File system document?

Post by yuri.rj »

There is a Solution to converting DOC to PDF without using third party software

Just posted on tips and tricks
http://www.awareim.com/forum/viewtopic.php?f=4&t=7929
Post Reply