Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Print PDF from Network Share

$
0
0
Hi fellow NAV Devs,

I am currently trying to get the following task done:
A PDF is stored on a network share. (not a NAV report, but created by a 3rd party WebService)

The PDF needs to printed after a certain operation in NAV is done, and it needs to be printed on the users DefaultPrinter.

Since NAV does not support automated printing of Documents outside of it's own Reports, i have to look out for another solution.
I already invested some hours trying to get it to work using DotNet, however no luck yet.

Things I already tried:
-> Starting another Process via System.Diagnostics
However using this the Adobe Window Pops up on every PDF i try to print. This is a bug in AdobeReader, which Adobe does not care about in the slightest.
https://forums.adobe.com/thread/1042132

-> I also started looking into some really dirty workarounds involving reading the pdf binaries and somehow making them work in RDLC

I am aware that this would be possible using GhostScript and other free resources. Only negative is that I would have to roll out the DLL's to (a lot of) clients, and i do not want to do this if there is another way around this problem. (NAV 2013)

Looking forward to your ideas!

TLDR: How to perform a "silent" print of a PDF from NAV without disturbing the user, or rolling out extra DLL's to the client.

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>