Options

Printing external PDF-files in NAV2009

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

Best Answer

Answers

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

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


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

    Could you post all the code before that line ??

    Regards.
  • Options
    vaprogvaprog Member Posts: 1,118
    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.