Hi@ all,
I'm trying to set up "location based printing" for VMware View with a windows 2008 printserver.
After 3 Days of reading manuals, rebooting, installing .print engine and a lot of hairpulling (I'm almost bald now) there's no printer connected to my printserver, that would automaticly install on my view clients.
here's what I done:
Installing a standard Win7 View VM from a linked-clone pool
Setting up a Printserver with the driver for x64 Systems installed and the printer connected to it.
loading the *.dll (dont know the actual name now) for the "autoconnect map additional printers [...]"
configuring the translation table.
The entries of my Table :
IP Range | Client Name | Mac Address | User/Group | Printer Name | Printer Driver | IP Port/ThinPrint Port | |
---|---|---|---|---|---|---|---|
* | * | * | * | 1 | HP Color LaserJet 4730 mfp | \\192.168.1.70\1 |
My Printer on "srvconnect" is named "1".
The shared Printer Name is named "1"
The drivers for the Printer are loaded.
When I manually conenct my Win7 Client to the shared Printer it loads the driver from the Printserver and just works fine!
What the Hell am I doing wrong ???
when I manually run the "TPAutoConnect.exe -v -i VMware -a COM1" Iget :
TPAutoConnect User Agent, Copyright (c) 2010 ThinPrint AG, 7.17.519.7Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Length : 624 Count: 6 Default Printer ID : 5Printer: PDF24 Class: ID: 1Printer: Lexware PDF-Export 3 Class: ID: 3Printer: HP Universal Printing PCL 6 Class: ID: 4Printer: HP Color LaserJet 4730mfp (192.168.1.53) Class: ID: 5 (*)Printer: FreePDF Class: ID: 6Printer: Fax Class: ID: 7Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <HP Color LaserJet 4730mfp (192.168.1.53)>: Length : 3316 Count: 3 Options: 2Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <PDF24>: Length : 1014 Count: 3 Options: 1Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <Lexware PDF-Export 3>: Length : 13248 Count: 3 Options: 2Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <HP Universal Printing PCL 6>: Length : 3316 Count: 3 Options: 2Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <FreePDF>: Length : 1982 Count: 3 Options: 1Virtual channel initialized.Client Type --> [0x00]: WIN32Client reply --> [0x01]: Client accepted connection.Printer properties <Fax>: Length : 7328 Count: 3 Options: 2IP |Client |Driver |Class|Type| ID|Printer-name----------------------------------------------------------------------------192.168.1.120|SEBASTIAN-X|HP Universal Printing PCL 6 | | 0| 5|HP Color LaserJet 4730mfp (192.168.1.53)192.168.1.120|SEBASTIAN-X|PDF24 PDF | | 0| 1|PDF24192.168.1.120|SEBASTIAN-X|Amyuni Document Converter 2.50| | 0| 3|Lexware PDF-Export 3192.168.1.120|SEBASTIAN-X|HP Universal Printing PCL 6 | | 0| 4|HP Universal Printing PCL 6192.168.1.120|SEBASTIAN-X|FreePDF_XP | | 0| 6|FreePDF192.168.1.120|SEBASTIAN-X|Microsoft Shared Fax Driver | | 0| 7|FaxCreate "HP Color LaserJet 4730mfp (192.168.1.53)#:5" from "TPOG!, Port: TPVM:" (188)....... OK'HP Color LaserJet 4730mfp (192.168.1.53)#:5' ... is now the default Printer.Create "PDF24#:1" from "TPOG!, Port: TPVM:" (156)....... OKCreate "Lexware PDF-Export 3#:3" from "TPOG!, Port: TPVM:" (281)....... OKCreate "HP Universal Printing PCL 6#:4" from "TPOG!, Port: TPVM:" (172)....... OKCreate "FreePDF#:6" from "TPOG!, Port: TPVM:" (156)....... OKCreate "Fax#:7" from "TPOG!, Port: TPVM:" (219)....... OKIP=192.168.1.120; MAC=00-FF-B9-ED-38-1E; Client=SEBASTIAN-X; User-name=sebastian.rumpf \\BRANDL\sebastian.rumpf \\BRANDL\Domänen-Benutzer \\\Jeder \\VORDEFINIERT\Benutzer \\VORDEFINIERT\Administratoren \\NT-AUTORITÄT\INTERAKTIV \\\KONSOLENANMELDUNG \\NT-AUTORITÄT\Authentifizierte Benutzer \\NT-AUTORITÄT\Diese Organisation \\\LOKAL \\BRANDL\Domänen-Admins \\BRANDL\c \\BRANDL\Administration \\BRANDL\technik \\BRANDL\Abgelehnte RODC-Kennwortreplikationsgruppe \\Verbindliche Beschriftung\Hohe VerbindlichkeitsstufeThe printer port '\\srvconnect\1' does not exist.Exiting with code.......(0)VCServerAPI::Init(): Protocol = PCOIPVCTransport::ProcessLocalMessage(): server local connect message from ''VCServerAPI::Exit(): Protocol = UNKNOWN
Greez from Bavaria
Alph4d0g
doesn't anyone have a tutorial or something like that for me ?
Hi,
same problem; i want use Location Based Printing with print server but apparently should be specified in Autoconnect Map only printer ip
(ex. IP_172.20.0.10) and not : \\my_print_server\printer...
The functionality provided by VMware is very limited because it is impossible to use with print server !
Someone has an idea ???
Stéphane Denys.
The Location based printing feature with printserver, networkprinters etc only works with thinprint server.
It's a software you have to buy and there you have another dll to register with a new matrix, where networkprinters do work.
Greez
Alpha
PS: sorry for my bad english
I have finally done differently:
In the registry of the VM you can retrieve information about the physical terminal: HKEY_CURRENT_USER \ Volatile Environment.
In addition I arranged for our printers have almost the same name as the terminal
eg:
Terminal Name: DRS210-SerialN°
Name of the printer that should be attached: DRS210-impr
Then using a batch script I get the information of the host name (registry key : ViewClient_Machine_Name) then I make a connection on my print server.
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKEY_CURRENT_USER\Volatile Environment" /v ViewClient_Machine_Name') DO SET myname=%%B
::myname variable contains hostname of the terminal eg : DRS210-SerialN°
FOR /F "tokens=1,2 delims=-" %%A IN ('echo %myname%') DO SET physicalhost=%%A
::physicalhost variable contains the beginning of the hostname eg : DRS210
start \ \ printserver \%physicalhost%-impr)
In the end the script starts via GPO.
Bingo!
Stéphane.