Printer Port?
-
Yes that is correct!
For example…
Old port setting would be X_172_1_1_140
New string would be ??I’ve been setting all of my ports to 0. It just dawned on me that this might not work if more than one printer was installed on the host… << that’s what I’m curious of…
-
@Joe-Gill Would you mind uploading the full fog-client log of one client where you went through this printer-remove-add-again-scenario?
-
No problem@!
------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:52 PM Client-Info Client Version: 0.11.12 7/26/2017 12:52 PM Client-Info Client OS: Windows 7/26/2017 12:52 PM Client-Info Server Version: 14 7/26/2017 12:52 PM Middleware::Response Success 7/26/2017 12:52 PM PowerManagement Calculating tasks to unschedule 7/26/2017 12:52 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:52 PM Client-Info Client Version: 0.11.12 7/26/2017 12:52 PM Client-Info Client OS: Windows 7/26/2017 12:52 PM Client-Info Server Version: 14 7/26/2017 12:52 PM Middleware::Response Success ------------------------------------------------------------------------------ 7/26/2017 12:52 PM Service Sleeping for 75 seconds 7/26/2017 12:53 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json 7/26/2017 12:53 PM Middleware::Response Success 7/26/2017 12:53 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:DE:8C||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 7/26/2017 12:53 PM Middleware::Response Success 7/26/2017 12:53 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json 7/26/2017 12:53 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json 7/26/2017 12:53 PM Service Creating user agent cache 7/26/2017 12:53 PM Middleware::Response Module is disabled globally on the FOG server 7/26/2017 12:53 PM Middleware::Response No Printers 7/26/2017 12:53 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response Success 7/26/2017 12:53 PM HostnameChanger Checking Hostname 7/26/2017 12:53 PM HostnameChanger Hostname is correct 7/26/2017 12:53 PM HostnameChanger Attempting to join domain 7/26/2017 12:53 PM HostnameChanger The machine is already joined to the domain, code = 2691 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response Success 7/26/2017 12:53 PM PowerManagement Calculating tasks to unschedule 7/26/2017 12:53 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response Success ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Service Sleeping for 131 seconds 7/26/2017 12:56 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json 7/26/2017 12:56 PM Middleware::Response Success 7/26/2017 12:56 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:DE:8C||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 7/26/2017 12:56 PM Middleware::Response Success 7/26/2017 12:56 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json 7/26/2017 12:56 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json 7/26/2017 12:56 PM Service Creating user agent cache 7/26/2017 12:56 PM Middleware::Response Module is disabled globally on the FOG server 7/26/2017 12:56 PM Middleware::Response No Printers 7/26/2017 12:56 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response Success 7/26/2017 12:56 PM HostnameChanger Checking Hostname 7/26/2017 12:56 PM HostnameChanger Hostname is correct 7/26/2017 12:56 PM HostnameChanger Attempting to join domain 7/26/2017 12:56 PM HostnameChanger The machine is already joined to the domain, code = 2691 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response Success 7/26/2017 12:56 PM PowerManagement Calculating tasks to unschedule 7/26/2017 12:56 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response Success ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Service Sleeping for 133 seconds 7/26/2017 12:58 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:DE:8C||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json 7/26/2017 12:58 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json 7/26/2017 12:58 PM Service Creating user agent cache 7/26/2017 12:58 PM Middleware::Response Module is disabled globally on the FOG server 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM HostnameChanger Checking Hostname 7/26/2017 12:58 PM HostnameChanger Hostname is correct 7/26/2017 12:58 PM HostnameChanger Attempting to join domain 7/26/2017 12:58 PM HostnameChanger The machine is already joined to the domain, code = 2691 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM PrinterManager Adding printers 7/26/2017 12:58 PM Printer Adding: Elem Lab 7/26/2017 12:58 PM PrinterManager PrintUI return code = 0 7/26/2017 12:58 PM PrinterManager Restarting spooler ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM PowerManagement Calculating tasks to unschedule 7/26/2017 12:58 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Service Sleeping for 72 seconds 7/26/2017 12:59 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:DE:8C||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json 7/26/2017 12:59 PM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json 7/26/2017 12:59 PM Service Creating user agent cache 7/26/2017 12:59 PM Middleware::Response Module is disabled globally on the FOG server 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM HostnameChanger Checking Hostname 7/26/2017 12:59 PM HostnameChanger Hostname is correct 7/26/2017 12:59 PM HostnameChanger Attempting to join domain 7/26/2017 12:59 PM HostnameChanger The machine is already joined to the domain, code = 2691 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM PrinterManager Adding printers 7/26/2017 12:59 PM PrinterManager Elem Lab already exists ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success 7/26/2017 12:59 PM PowerManagement Calculating tasks to unschedule 7/26/2017 12:59 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Client-Info Client Version: 0.11.12 7/26/2017 12:59 PM Client-Info Client OS: Windows 7/26/2017 12:59 PM Client-Info Server Version: 14 7/26/2017 12:59 PM Middleware::Response Success ------------------------------------------------------------------------------ 7/26/2017 12:59 PM Service Sleeping for 79 seconds
-
@Joe-Gill said in Printer Port?:
7/26/2017 12:59 PM Middleware::Response Success
7/26/2017 12:59 PM PrinterManager Adding printers
7/26/2017 12:59 PM PrinterManager Elem Lab already existsThough I don’t see the removal of the printer here (must have been before the start of this log) this portion looks different to what I experienced on my test system. Possibly “Network Printer” and “TCP/IP Port Printer” behave different. Good to know so I don’t get this wrong when trying to fix the “Network Printer” issue.
@Tom-Elliott May you allow string for printers again, please. I looked it up and then remembered that there is a thing called “Port Name” (different to “Port (Number)”) when we talk about printers. See here:
The “Port Name” is just that, a name. Windows defaults to the stringIP_x.x.x.x
.The network port number on the other hand is derived from the field IP by the client. So
x.x.x.x:1234
would be network port 1234 and IP x.x.x.x. If only an IP is specified then the fog-client defaults to network port 9100. Maybe we should make this clear in the web UI as well (hints next to the fields). -
I must have missed some when I copied it… I got a snippet from further up the log. This might help.
------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:51 PM Client-Info Client Version: 0.11.12 7/26/2017 12:51 PM Client-Info Client OS: Windows 7/26/2017 12:51 PM Client-Info Server Version: 14 7/26/2017 12:51 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:52 PM Client-Info Client Version: 0.11.12 7/26/2017 12:52 PM Client-Info Client OS: Windows 7/26/2017 12:52 PM Client-Info Server Version: 14 7/26/2017 12:52 PM Middleware::Response No Printers 7/26/2017 12:52 PM PrinterManager PrintUI return code = 0 7/26/2017 12:52 PM PrinterManager PrintUI return code = 0 7/26/2017 12:52 PM PrinterManager PrintUI return code = 0 7/26/2017 12:52 PM PrinterManager PrintUI return code = 0 7/26/2017 12:52 PM PrinterManager PrintUI return code = 0 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:53 PM Client-Info Client Version: 0.11.12 7/26/2017 12:53 PM Client-Info Client OS: Windows 7/26/2017 12:53 PM Client-Info Server Version: 14 7/26/2017 12:53 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:56 PM Client-Info Client Version: 0.11.12 7/26/2017 12:56 PM Client-Info Client OS: Windows 7/26/2017 12:56 PM Client-Info Server Version: 14 7/26/2017 12:56 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/26/2017 12:58 PM Client-Info Client Version: 0.11.12 7/26/2017 12:58 PM Client-Info Client OS: Windows 7/26/2017 12:58 PM Client-Info Server Version: 14 7/26/2017 12:58 PM Middleware::Response Success 7/26/2017 12:58 PM PrinterManager Adding printers 7/26/2017 12:58 PM Printer Adding: Elem Lab 7/26/2017 12:58 PM PrinterManager PrintUI return code = 0 7/26/2017 12:58 PM PrinterManager Restarting spooler ------------------------------------------------------------------------------
-
@Joe-Gill Thanks again, I just edited your post and stripped it down so I find the important stuff more quickly. Hope you don’t mind.
-
Not at all! Glad I can help!
-
@Sebastian-Roth should already be allowed again in rc 4
-
Nice, so I am marking this solved (doesn’t need much testing I suppose) and take Joe’s fog-client log information over to the other thread where I work on the client printer stuff.
-
I just updated to RC4… I’ll keep you all posted! Thanks!