Printing external PDF-files in NAV2009

I'm looking for a method to print external PDF-files in NAV2009

Best Answer

Answers

  • ftornero
    ftornero Member Posts: 524
    Sorry this line:
    SplitName(FullName, Path, _FileName);
    

    Must be like this
    SplitName(Fichero, Path, _FileName);
    
  • Juhl
    Juhl Member Posts: 724
    IF RTC THEN
    https://juhl.blog/2017/04/15/first-blog-post/

    Call a pdf reader that has print silent parameters.
    Follow me on my blog juhl.blog
  • kriki
    kriki Member, Moderator Posts: 9,121
    [Topic moved from 'Navision Attain' forum to 'NAV/Navision Classic Client' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • rkaufmann
    rkaufmann Member Posts: 71
    Hi, I know this is a really old one, but I need this for a customer with NAV 2009.

    I get a C/AL Error on execution of the code with this line:
    ObjVerbs := ObjFolderItem.Verbs;
    
    The error say "No Instance created for the Automation".
    Any idea why?
  • ftornero
    ftornero Member Posts: 524
    Hello @rkaufmann,

    Could you post all the code before that line ??

    Regards.
  • vaprog
    vaprog Member Posts: 1,163
    The reason is probably that the item (path or file) is not found or "you" do not have access to the file. (Don't know whether "you" is the user executing this, or the service tier user in case this is run on the NST.)