NAS is not printing report to printer

Hi,

I have created a codeunit in NAV 2009 finsql to print the Packing list report through job queue

when I manually run that codeunit it runs without any issues and prints the report in printer which I selected in Printer selection.

But when I run it through NAS, the job queue status gets stuck in "In Process". if i restart the NAS service the process gets completed and the report gets printed. When I again start the service it again gets stuck in "In process" status.

The NAS service account also selected in printed selection but still facing same issue. Any help would be highly appreciable.


SalesHdr2.SETRANGE("No.",SalesHdr."No.");
PickList.SETTABLEVIEW(SalesHdr2);
PickList.USEREQUESTFORM(FALSE);
PickList.RUNMODAL;
Regards,

N.Shyam Kumar

Answers

  • AKAK Member Posts: 226
    Are there error messages from NAS in the event log?
  • shyamraooshyamraoo Member Posts: 38
    No error message in event viewer. we have resolved the issue by setting the default printer to NAS service account.
    Regards,

    N.Shyam Kumar
Sign In or Register to comment.