Determining the printer name when printing a report

tounytouny Member Posts: 11
Hi there,

can anybody tell me if there is a possibility to find out on which printer a report was/is printed? I would like to get the printer name of the printer the user chooses?

thx

Comments

  • krikikriki Member, Moderator Posts: 9,118
    I don't know a way in Navision to know the printername.
    Maybe somone knows a way with automation.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ereynoldsereynolds Member Posts: 1
    Did anyone figure this out yet. It would be very helpful. I found a utility that will print a pdf file from Navision. I am using this to print drawings when the Production Job Card is printed. Currently it is printing the drawings using the default printer, but I would like to print the drawings to the same printer the user chose in the request form.

    Thanks
  • cunnycunny Member Posts: 129
    Hi all,

    As I konw, Navision will choose the printer which has been set for the user in "Pinter Selection" table. If it find the printer it will use it to run printing job for the user. If not it will chosse the system default printer which has been setup in the oprating system.

    That means we do not need to change the default system printer to some pdf printer. Actually we can define the pdf printer for the user who wants to run the pdf printer task in "Printer Selection" table. Then you can select it with giving some simple setfilter coding before running report.run(). But you should be aware that the third parameter of report.run() must be false which means you dont want to use system default printer.
    cunny Lee
    MCP - MBS Navision
    jle@naviworld.com
Sign In or Register to comment.