Print DOCX in Blobs possible

NaCoder
Member Posts: 26
Hi,
i am looking for a solution, that I can print docx files in NAV2013. This docx files are in BLOB-Fields.
I research and found the WordHelper.CallPrintOut(WordDocument) function.
But how can I use this that it worked?
My goal is it to make one print of some docx files in blobs. So I would like to merge some docx to one file, those I print in one step.
Can anybody tell me more, please?
i am looking for a solution, that I can print docx files in NAV2013. This docx files are in BLOB-Fields.
I research and found the WordHelper.CallPrintOut(WordDocument) function.
But how can I use this that it worked?
My goal is it to make one print of some docx files in blobs. So I would like to merge some docx to one file, those I print in one step.
Can anybody tell me more, please?
0
Comments
-
Hi,
I think you have first to export the file form the BLOB field on the hard drive e.g. Temp folder and create a word file (docx). (you can do this by using STREAMS in NAV)
After that you have to open the Word file (docx) from NAV. Take a look at the codeunit 5054 WordManagement.
Now that the file is open you can print it.
I hope this helps.
Thanks.0 -
vremeni4 wrote:Hi,
I think you have first to export the file form the BLOB field on the hard drive e.g. Temp folder and create a word file (docx). (you can do this by using STREAMS in NAV)
After that you have to open the Word file (docx) from NAV. Take a look at the codeunit 5054 WordManagement.
Now that the file is open you can print it.
I hope this helps.
Thanks.
Hi,
thank you for your post. I know this, but the problem is I need print in silent, so that word are in visible false and print it. I need a print one step with 20 or more docx files. So open 20 docs files and print is not a solution.0 -
Hi,
When I say open I do not refer to opening and making the word document visible to the user.
You can just open the document but do not make it visible, print it, close it. All is done in the background nothing visible to the user.
There is a special command after the word document is opened to make it available (Visible) to the user.
I hope this helps.
Thanks.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions