Bullzip PDF printer - difference between client and NAS execution

t_craccot_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:
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

Best Answer

Answers

  • t_craccot_cracco Member Posts: 32
    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 Tom
  • postsauravpostsaurav Member Posts: 708
    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 + Page
Sign In or Register to comment.