Skip to content

PrintNode Connector

Print from job queue

Viewing 6 posts – 1 through 6 (of 6 total)
  • Author
    Posts
  • #8185
    Patrick S.

    Hi,

    I’ve set up the Printnode connector, and it is working all fine. The solution has been installed on a BC SaaS, where I would like to print from the job queue.

    When printing from the job queue, I am restricted when choosing the option Print, getting an errormessage:

    You cannot select a printer from this online product. Instead, save as PDF, or another format, which you can print later. The output type has been set to PDF.

     

    Apparently Microsoft has put a restriction to printing from the job queue, due to it being a cloud product. Is there a workaround for this issue? Is it possible to use a codeunit to run the report instead, and print based on the Printer Selection?

    Let me know if you’ve encountered this issue before, and found a workaround for this 🙂

     

    Best regards,

    Patrick Sørensen

    #9375
    Travis P.
    Insight Works

    Printing from job queues is not something we have tested, so if Microsoft does not allow it, it is not something the product supports.

    #9909
    Customer

    Hi Patrick & Travis,

    Following up to see if you found a solution or have an update.  We have the same need for a client and trying to find a viable solution for printing from job queue.  The job queue user is a generic service account running jobs and multiple prints need to go to different warehouses.

     

    #9910
    Travis P.
    Insight Works

    You would need to check with Microsoft because it appears that job queues only allow PDF output, not printing, so it does not matter what print manager you use:

    https://community.dynamics.com/forums/thread/details/?threadid=0dd5d0a7-5229-4048-97b3-5812a884833b

    Once they get job queues working with Universal Print, it should work with PrintNode Connect as well.

    #9912
    Customer

    Thanks Travis!

     

    #10413
    Duane K.

    One can make PrintNode work on the Job Queue Entry Card with a bit of AL coding.

    Create an EventSubscriber for Job Queue Entry table 427 to override/handle the OnValidateReportOutputTypeOnBeforeShowPrintNotAllowedInSaaS event when selecting “Print” for the Report Option Type (which normally causes the display of the “You cannot select a printer from this online product. Instead, save as PDF, or another format, which you can print later. The output type has been set to PDF.” message. In the override code, set the JobQueueEntry.”Printer Name” to a hard-coded value, or display a modal pop-up dialog with a filtered list of PrintNode printers from the Printers table and select the desired printer from the list.  Set IsHandled to true, exit the override, and the PrintNode printer value will be forced into the Job Queue Entry (without validation).  Save & test run the Job Queue entry.

    Note that Printer Name field in the Job Queue Entry table is still validated against the System Printers table, which only is functional in BC on-premise.  If you want to change the PrintNode printer for an existing Job Queue Entry, you need to toggle the Report Option Type again.

    This override is currently working well for us with BC SaaS 25.5 – your mileage may vary.

    I assume Microsoft disabled access to Universal Print printers for Job Queue Entries because the Job Queue service lacks a user context required for appropriate Universal Print access & licensing checking.  The PrintNode Connector for BC has no such restriction.  There is also a known Universal Print bug where BC reports aren’t printed in the proper portrait/landscape orientation – we can confirm this.  We experimented with Job Queue Entries printing to both Universal Print and PrintNode printers, PrintNode worked flawlessly every time.

Viewing 6 posts – 1 through 6 (of 6 total)
  • Sign in below to reply.