to predetermine a printer to a program

HectorLombardo
HectorLombardo Member Posts: 36
Hello people,
I have a user who has two printers created on windows, one is needed to several reports(PFR) but the other one it was created for Checks(PFC).
When Navision starts upload the predetermined, (PFR).
When the user prints out a Check has to select the printer (PFC).
I need to predertermine (PFC) for the Check's program.
There is someone who can help me on this?
Thank you very much.

Comments

  • ara3n
    ara3n Member Posts: 9,258
    Have looked at Printer selection table?
    This is where you would setup the printer for a report.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • HectorLombardo
    HectorLombardo Member Posts: 36
    Hi rashed,
    Yes, I looked on that, there is an input on the table making the relationship between the printer, the user, and the program, but in spite of this it doesnt work as we need, each time the user want to print a check he need to select the printer(PFC).
    Is there a way to predetermine the printer on the printer window when you press printer button, a moment before to send the print job?
    or something like that hahaha :D
  • ara3n
    ara3n Member Posts: 9,258
    What you need to do is create a second report that will call the check, you can pass all the paramaters from this new report to the check report. You will need to create function in the report and pass the paramaters from first report. then call the check report with runmodal.

    When you call the report with runmodal. Navision will automatically send it to the printer without opening the printer request form. Just like Printing Invoices. you designate the printer and the report automatically goes to the printer without opening the request window.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • HectorLombardo
    HectorLombardo Member Posts: 36
    Hi Rashed,
    Thanks for your help.
  • ara3n
    ara3n Member Posts: 9,258
    You are welcome. If you want examples take a look at how invoices are being printed, when you do post +Print.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n