Bullzip PDF printer - difference between client and NAS execution

t_cracco
Member Posts: 32
Hi,
I'm using NAV 2016 and I have a codeunit that communicates with Bullzip and I have noticed a difference in behavior between the execution by a NAS and the execution by the RTC, both services are executed by the same user and running on the same server.
When I execute the code from the RTC with my Bullzip variables declared as "RunOnClient" = No, I'm getting the create file pop-up of bullzip which indicates to me that my ini-file isn't created. When I change my declaration to "RunOnClient" = Yes, my ini-file is created and the pop-up isn't shown.
When I execute the same code from the NAS and declaration is "RunOnClient"=No, my files are correctly generated. Do I change to "RunOnClient"=Yes I'm getting the following error:
Does anybody have a solution for this, my current solution would be to create 2 sets of variables and split the execution code between NAS and Client.
Thanks,
Tom
I'm using NAV 2016 and I have a codeunit that communicates with Bullzip and I have noticed a difference in behavior between the execution by a NAS and the execution by the RTC, both services are executed by the same user and running on the same server.
When I execute the code from the RTC with my Bullzip variables declared as "RunOnClient" = No, I'm getting the create file pop-up of bullzip which indicates to me that my ini-file isn't created. When I change my declaration to "RunOnClient" = Yes, my ini-file is created and the pop-up isn't shown.
When I execute the same code from the NAS and declaration is "RunOnClient"=No, my files are correctly generated. Do I change to "RunOnClient"=Yes I'm getting the following error:
Microsoft Dynamics NAV Server attempted to issue a client callback to create a DotNet object: Bullzip.PdfWriter.ComPdfSettings (CodeUnit 50056 PDF Functions). Client callbacks are not supported on Microsoft Dynamics NAV Server.
Does anybody have a solution for this, my current solution would be to create 2 sets of variables and split the execution code between NAS and Client.
Thanks,
Tom
0
Best Answer
-
yes that is true.
If you set RUNOnClient = No that means - the process is running on background and does not need any user input.
The Error message clearly says that bullzip is trying to pop up a window which is not supported with NAS.
So the only solution would be -
> A Having two variables for same dotnet data type A & B.
> A is set with RUNonlciient = TRUE and B is set to RUNonClient = FALSE.
> You kind of need to have two functions for A & B based on ISGUIALLOWED (use action).
+ Curious to know what is that you are doing with Bullzip that is not possible with standard NAV?
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page5
Answers
-
yes that is true.
If you set RUNOnClient = No that means - the process is running on background and does not need any user input.
The Error message clearly says that bullzip is trying to pop up a window which is not supported with NAS.
So the only solution would be -
> A Having two variables for same dotnet data type A & B.
> A is set with RUNonlciient = TRUE and B is set to RUNonClient = FALSE.
> You kind of need to have two functions for A & B based on ISGUIALLOWED (use action).
+ Curious to know what is that you are doing with Bullzip that is not possible with standard NAV?
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page5 -
Hi Saurav,
Thanks for your reply.
To my knowledge it's not possible that we merge and attach other pdf documents with standard NAV 2016. And we are upgrading from a NAV 09 database so a lot of code is reused.
Thanks Tom0 -
Yes Tom, that's true.
It's not possible to merge PDF Files without external Software.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0
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