Thursday, January 21, 2010

Client to Server Print Driver Mapping RDP

Thursday, January 21, 2010 Posted by Andre Broers 21 comments
Client to Server Print Driver Mapping


To address this, it's possible for you to correlate the names of printer drivers on your server with the names of printer drivers on your users' clients. For example, you can tell the server that the client print driver “Hewlett Packard LaserJet 5P” is the same as the server print driver “HP LaserJet 5P.” Keep in mind that you only need to do this if (1) you are using client printer mappings and (2) your clients are not running Windows 2000 or Windows XP.

In order to enable printer driver mapping, you need to place a file on your Terminal Server that contains the pairs of client and server driver names. In previous versions of Terminal Server, this was done via a mapping file called “ wtsuprn.inf ” located in the %systemroot%system32 folder. However, this file does not exist by default in Windows Server 2003, and Windows does not look for it.

To create a mapping file in Windows 2003, you must add two registry values:

Key: HKLMSYSTEMCurrentControlSet

ControlTerminal ServerWdsrdpwd

Type: REG_SZ

Value: PrinterMappingINFName

Data: Name of the .INF file that contains printer driver name mappings. (For example, c:winntinfprintsubs.inf)

Key: HKLMSYSTEMCurrentControlSet

ControlTerminal ServerWdsrdpwd



Type: REG_SZ



Value: PrinterMappingINFSection



Data: Name of the section in the .INF file that contains the actual mappings. (For example: Printers)



Once you've finished adding your registry entries you should restart the spooler service or reboot the Terminal Server to allow these changes to take effect. After you add the new registry values, you'll need to create an .INF file that includes the driver names you want to use for client-side to server-side mappings. You file will look something like this:



;PRINTSUBS.INF



;This file contains Mappings for Client driver to Server driver printer connections





[Printers]



;"Client Printer Driver Name" = " Server Printer Drive Name"







"Hewlett Packard LaserJet 5P" = "HP LaserJet 5P"



You can create this file with Notepad and save it within an .INF filename extension in the %SystemRoot%System32 directory. Using this example, you would specify the printsubs.inf file name that you just created in the PrinterMappingINFName registry value and "Printers" in the PrinterMappingINFSection registry value.



The printer driver names you place in this file are case sensitive and space sensitive. Basically, everything between the quotation marks must match the printer name exactly . As with many .INF files, the leading semicolon (;) indicates that the line is a comment and should be ignored. When you use this file, be aware that you can have more than one client printer mapped to a single server print driver.



Creating a printer driver mapping file is more of an art than a science. Fortunately, the some very kind people run a website called www.printingsupport.com . This site has downloadable printer mapping files that you can use in your environment.



Once you get your mapping file created, you'll need to make sure that it exists on every Terminal Server where you want these printer driver mappings to be applied. Keep in mind that this mapping file merely tells the server which of its already installed drivers correlate to client printer drivers . You'll also need to install the actual printer drivers on your Terminal Server when you use this file.



If your .INF mapping file contains any syntax errors (other than a misspelled driver name inside the quotes), you may receive the following messages in the event log:



Event 1110: "Error processing ntprint.inf. If the file on the system is corrupt, you can restore it from the installation media.



This message is misleading since it refers to “ntprint.inf ” and not your custom filename. This error usually means that the custom .INF file that the system is processing has errors in it. The most common error is that you will create a custom mapping file with no entries in it. You new .INF file must have at least one mapping in its printer name mapping section and the lines containing your mappings must not start with a semicolon. If the custom .INF file has a blank name-mapping section, you'll receive the Event 1110 errors in the event log.

21 comments:

  1. Was a bit hard to understand but always helpful to have tutorials like these for when the problem pops up at the office.

    ReplyDelete
  2. This paragraph will help the internet people for creating
    new webpage or even a blog from start to end.

    Look into my page http://chestfatburner.com/a-detailed-guide-on-man-boobs-Surgery/

    ReplyDelete
  3. This article will help the internet users
    for creating new webpage or even a weblog from start to
    end.

    Feel free to visit my website; ford ranger

    ReplyDelete
  4. It is perfect time to make a few plans for the longer term and it's time to be happy. I have read this submit and if I could I desire to suggest you some interesting issues or advice. Perhaps you can write next articles referring to this article. I wish to read even more issues about it!

    my website; www.greenvalleycyclists.org

    ReplyDelete
  5. WOW just what I was searching for. Came here by searching for dental

    my website: http://gpoftn.org/?p=14

    ReplyDelete
  6. Good day! I simply want to give a huge thumbs up for the nice data you’ve right here on this
    post. I shall be coming again to your blog for
    more soon.

    My blog ... free seo keyword tool download

    ReplyDelete
  7. Good day! I just would like to give an enormous thumbs up for the good information you’ve here on this post.

    I shall be coming again to your weblog for more
    soon.

    Here is my website; south korea map outline

    ReplyDelete
  8. Howdy! I just would like to give a huge thumbs up for the nice info
    you’ve gotten right here on this post. I might be coming back to your blog for extra soon.


    My homepage - winchester semi automatic hunting rifles

    ReplyDelete
  9. Good day! I just want to give a huge thumbs up for the good info you
    have here on this post. I shall be coming again
    to your weblog for more soon.

    Also visit my webpage: google webmaster seo starter

    ReplyDelete
  10. Whats up! I simply want to give a huge thumbs up for the nice info you could have
    right here on this post. I might be coming back to your weblog
    for more soon.

    my blog post seminole county clerk of court casselberry hours

    ReplyDelete
  11. Whats up! I simply want to give a huge thumbs up for the good information you will have here on this post.
    I can be coming back to your weblog for extra soon.

    Review my blog post; sempron cpu socket

    ReplyDelete
  12. Hi there! I just want to give a huge thumbs up for the good data you’ve here
    on this post. I will be coming again to your weblog for more soon.


    My web site :: mini SAS

    ReplyDelete
  13. Hey! I just would like to give an enormous thumbs up
    for the good info you’ve gotten right here on this post.
    I will be coming back to your blog for more soon.


    Also visit my web blog :: xem phim hanh dong viet nam

    ReplyDelete
  14. Hiya! I just want to give a huge thumbs up for the good info you will have right here on this
    post. I can be coming again to your weblog for more soon.



    Also visit my web-site - foto seohyun snsd rare

    ReplyDelete
  15. Coach Outlet http://www.coachoutletfactory-stores.us.com

    Kate Spade Outlet http://www.katespadefactoryoutlet.in.net

    ED Hardy Outlet http://www.edhardypopsale.com

    Coach Outlet Store Online http://www.coachstoreonline.in.net

    Kate Spade Outlet http://www.katespadeoutletstore.in.net

    Cheap Jordans http://www.cheapjordansretro.us.com

    Coach Purses http://www.coachpurses.eu.com

    Coach Outlet http://www.coachoutlet2016.us.com

    Tory Burch Shoes http://www.toryburchoutlets.us.com

    Longchamp Outlet http://www.longchampoutlet.in.net

    Michael Kors Handbags http://www.innnov8.com

    Coach Outlet http://www.innnovate.com

    Red Bottom Shoes http://www.redbottomshoes.us.org

    Moncler Jackets http://www.monclerdownjackets.us.com

    Kate Spade Outlet http://www.katespadeoutletstore.us.com

    Moncler Outlet http://www.moncleroutletonline.in.net

    Coach Factory http://www.maganates.com

    Coach Factory Outlet http://www.coachfactorysoutlet.in.net

    Kate Spade Outlet http://www.katespadesoutlet.us.com

    Ray Ban Outlet http://www.raybanoutletstore.in.net

    Christian Louboutin Shoes http://www.christianlouboutinshoes2016.in.net

    North Face Outlet http://www.northfaceoutlets.us.org

    Coach Factory Outlet http://www.coachoutletstore.name

    Kate Spade Outlet http://www.katespadeoutletonline.name

    Coach Outlet http://www.coach-outlets.us.org

    Nike Roshe Run http://www.tanie-nikerosherun.pl

    Buty Nike Air Max http://www.airmaxsprzedazdla.pl

    Nike Air Max http://www.nikeairmax.us.org

    Red Bottom Shoes http://www.redbottomshoe.in.net

    Christian Louboutin Outlet http://www.christianlouboutinoutlet.us.org

    Balenciaga Outlet http://www.balenciaga-outlet.us.com

    Balenciaga Handbags http://www.balenciaga-handbags.us.com

    Kate Spade Outlet http://www.katespadefactoryoutlet.in.net

    Toms Shoes http://www.tomshoesoutlet.us.com

    Hermes Belt http://www.hermes-belts.us.com

    Prada Outlet http://www.pradafactoryoutlet.com

    Louis Vuitton Outlet http://www.louisvuittonsoutlet.us.com

    North Face Outlet Store http://www.northfaceoutletstore.in.net

    North Face Jackets http://www.north-face.in.net

    North Face http://www.north-faceoutlets.us.com

    Louis Vuitton Outlet http://www.louisvuitton-outlets.us.org

    Timberland Boots http://www.timberland-outlets.us.com

    Cheap Timberland Boots http://www.timberlandoutlet.us.com

    Tory Burch Outlet http://www.toryburch-outlets.us.com

    Ralph Lauren Outlet http://www.ralphlaurenstoreoutlet.us.com

    Gucci Shoes http://www.guccifactoryoutlet.name

    Gucci Outlet http://www.guccioutletinc.us.com

    North Face Jackets http://www.northfacefactoryoutlet.us.com

    Prada Outlet http://www.pradaoutlets.in.net

    Hollister Clothing http://www.hollister-clothing.us.com

    Ferragamo Shoes http://www.ferragamoshoes.us.org

    Tiffany Outlet http://www.tiffany-outlets.us.com

    Tiffany Outlet http://www.tiffanyco-outlet.us.com

    NFL Jerseys http://www.nfljerseys.name

    Toms Outlet http://www.outlettoms.us.com

    Cheap Jordans http://www.cheapjordans.eu.com

    North Face Outlet http://www.thenorthfaceoutlet.us.org

    Prada Handbags http://www.pradaoutlet.us.org

    Chan Luu http://www.chanluu.us.com

    Toms Outlet http://www.tomsoutletstores.us.com

    Kate Spade Outlet http://www.katespadeoutletofficial.us.com

    Beats By Dr Dre http://www.beatsbydrdre.us.org

    Coach Outlet http://www.coachstoreoutlet.us.org

    Christian Louboutin Shoes http://www.christianlouboutinshoe.eu.com

    Valentino Shoes http://www.valentinoshoes.eu.com

    Michael Kors Outlet http://www.michaelkorsoutlet.us.org

    Coach Factory Outlet http://www.coachfactoryoutlet.us.org

    Coach Outlet Online http://www.coachoutletonlinestore.us.org

    Coach Purses http://www.coachpurse.us.com

    ReplyDelete