Virtual printer table - printer selection

hairam
Member Posts: 27
Hi
I am having quite a bit of problems with the virtual printer table. First some technical data.
Windows 2008 R2 server.
Terminal Services
Navision 2009 Classic (also tried with service pack 2, with no luck) Also tried https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2274603
Simplified printing (emulates printer drivers and calls them Username:printername¤session number)
When users log on the server the printers are created and assigned a session number. i.e hairam:HP laserjet 4¤12
So the problem is this. The printer table is not cleaned when the users log on so they will get a list like this.
hairam:HP laserjet 4¤9
hairam:HP laserjet 4¤11
hairam:HP laserjet 4¤15
Only one of these printers can actually be printed to and are shown by windows itself.
Though I have read that this table is created when a user starts the classic client that is actually not true.
The virtual table is actually a set of values in the registry, they are not created at the start of the classic client.
If you delete the values in the registry the virtual table will be empty but will be recreated once the user logs onto the terminal services.
How do I clean up this virtual table, any good ideas, anyone had any similar problems?
A side issue I have is the fact that all users can see each others printers? Any good ideas for that issue?
I am having quite a bit of problems with the virtual printer table. First some technical data.
Windows 2008 R2 server.
Terminal Services
Navision 2009 Classic (also tried with service pack 2, with no luck) Also tried https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2274603
Simplified printing (emulates printer drivers and calls them Username:printername¤session number)
When users log on the server the printers are created and assigned a session number. i.e hairam:HP laserjet 4¤12
So the problem is this. The printer table is not cleaned when the users log on so they will get a list like this.
hairam:HP laserjet 4¤9
hairam:HP laserjet 4¤11
hairam:HP laserjet 4¤15
Only one of these printers can actually be printed to and are shown by windows itself.
Though I have read that this table is created when a user starts the classic client that is actually not true.
The virtual table is actually a set of values in the registry, they are not created at the start of the classic client.
If you delete the values in the registry the virtual table will be empty but will be recreated once the user logs onto the terminal services.
How do I clean up this virtual table, any good ideas, anyone had any similar problems?
A side issue I have is the fact that all users can see each others printers? Any good ideas for that issue?
0
Answers
-
This was a known issue at least in 2009 SP1.
Check out this page: http://dynamicsuser.net/blogs/waldo/archive/2011/06/07/platform-updates-overview-3-70-b-nav2009-r2-updated-2.aspx
Search for this String: 2318337Frank Dickschat
FD Consulting0 -
If others have this problem here is a way to solve it.
It is possible to clean up the registery via, group policies.
under the GPO -> User Configuration -> Preferences -> Registry -> Add a replace Entry for the following Entry
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices\
And another Replace Entry for
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
It is a good idea to create a target (item-Level Tarteting) it to a Windows Group so that it is possible to only set it to a single user for test purposes0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions