Printing external PDF-files in NAV2009

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

Best Answer

Answers

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

    Must be like this
    SplitName(Fichero, Path, _FileName);
    
  • JuhlJuhl 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
  • krikikriki Member, Moderator Posts: 9,112
    [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!


  • rkaufmannrkaufmann 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?
  • ftorneroftornero Member Posts: 524
    Hello @rkaufmann,

    Could you post all the code before that line ??

    Regards.
  • vaprogvaprog Member Posts: 1,140
    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.)
Sign In or Register to comment.