Printer system table.

Nicolai_EsbensenNicolai_Esbensen Member Posts: 5
edited 2006-07-17 in Navision Attain
Hi there.

We are running hosted solutions using MS terminal services. We
are mapping the local printers at the server, for use by our customers. The problem is that the printer mapping at the servers is to slow, which results in the printer systemtable beeing outdated since the printers hasn't been mapped at the server when the user logs into navision.

Is there anyway to modify this system-table? I tried writing a small codeunit, scanning the printers and inserting them into the printer-table, no luck due to writeprotection. Is there certain codeunits from which you are allowed to modify the table or is there another solution out there?

Any suggestions are welcome :)
Thanks in advance.

/Nicolai Esbensen

Comments

  • krikikriki Member, Moderator Posts: 9,086
    The printer-table is a virtual table. This means it is read-only and it is created-on-the-fly when needed. This last means it is never outdated.

    I think you should set up the system that when someone logs on, it server must also take the local printers.

    Another possibility is to create all the printers on the server and connect them to the local printers. But this last means there will be a lot of printers defined.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Nicolai_EsbensenNicolai_Esbensen Member Posts: 5
    As i see it, the table is generated when navision starts, and is never updated until navision restarts which gives the problem with the delay in printermapping ?
  • krikikriki Member, Moderator Posts: 9,086
    As i see it, the table is generated when navision starts, and is never updated until navision restarts which gives the problem with the delay in printermapping ?
    The table is generated when it is first requested (not necessarily at startup of Navision) and then remains like this until Navision is restarted.
    If you add a printer after the first use of the table, this printer will not be shown until a Navision-restart.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.