Printer doesn't appear



  • Hi,

    Problem on few computers, printer doesn’t appear in control panel whereas everything seems ok in fog interface
    For example on computer S109P02
    0_1464177427692_printer.JPG

    0_1464177626863_printer2.JPG
    Its neighbour S109P01 as same parameters and printer appear in control panel

    Fog.log give me that :

    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     25/05/2016 13:52 Client-Info Version: 0.9.10
     25/05/2016 13:52 PrinterManager Running...
     25/05/2016 13:52 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=printermanager&mac=B0:83:FE:94:98:91|&newService=1
     25/05/2016 13:52 Middleware::Communication Response: Success
     25/05/2016 13:52 Middleware::Communication URL: http://192.168.10.60/fog/service/Printers.php?mac=B0:83:FE:94:98:91|&newService=1
     25/05/2016 13:52 Middleware::Communication Response: Success
     25/05/2016 13:52 PrinterManager Creating list of printers
     25/05/2016 13:52 PrinterManager Creating printer objects
     25/05/2016 13:52 Middleware::Communication URL: http://192.168.10.60/fog/service/Printers.php?id=37&mac=B0:83:FE:94:98:91|&newService=1
     25/05/2016 13:52 Middleware::Communication Response: Success
     25/05/2016 13:52 Middleware::Communication URL: http://192.168.10.60/fog/service/printerlisting.php?newService=1
     25/05/2016 13:52 Middleware::Communication Response: Success
     25/05/2016 13:52 Printer Removing printer: \\impression\s101laser1
     25/05/2016 13:52 PrinterManager Adding printers
     25/05/2016 13:52 PrinterManager \\impression\S109Laser1 already exists
    ------------------------------------------------------------------------------
    

    Strange because there is no “s101laser1” printer mapped on these computers !

    And same problem on another room with another printer… some computers are ok but not all, and they have all same parameters !

    Thanks for help, it’s annoying for users…

    Matthieu



  • @Raymond-Bell yes but for some users there is also a GPO adding another shared printer, so I don’t want for them that only one printer appears.
    But with last test it seems ok.


  • Testers

    @Matthieu-Jacquart
    Or you can try clicking (Only Assigned Printers) on that computer and it will delete everything except the printer you want to add…



  • @Joe-Schmitt test on another machine : works great ! change printer, return to previous one : only the good printer is mapped.
    You can close the topic ;) Thanks a lot !



  • @Joe-Schmitt Ok, I’m going to make test on another machine, I’ll give you result in 5 minutes ;)


  • Senior Developer

    Is this the same machine that you screenshotted earlier? If so once again, these are leftovers from 0.11.0



  • @Joe-Schmitt Euh, I don’t know, I just made change on client, I remove S072Laser1 to add S081Laser1, and there’s the result : still 3 times S081Laser1 and S072LAser1 is not removed automatically.

    0_1466600300097_Capture.JPG


  • Senior Developer

    Does this mean we can finally mark this thread as solved?



  • @Joe-Schmitt OK OK ! My fault, I made modifications on my print server and had to reboot it.
    After server reboot everything seems fine ;)


  • Senior Developer

    That means windows couldn’t add your network printer. Are you sure you can even add it manually?



  • @Joe-Schmitt Ok, I removed multiple printers from client, change printer in fog for this client (remove S081Laser1 and add S072Laser1), reboot client, and I’ve got this :

    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     22/06/2016 13:54 Client-Info Client Version: 0.11.1
     22/06/2016 13:54 Client-Info Client OS:      Windows
     22/06/2016 13:54 Client-Info Server Version: 8169
     22/06/2016 13:54 Middleware::Response Success
     22/06/2016 13:54 PrinterManager Getting installed printers
     22/06/2016 13:55 PrinterManager Adding printers
     22/06/2016 13:55 Printer Adding: \\impression\s072laser1
     22/06/2016 13:55 Printer --> IP = 
     22/06/2016 13:55 Printer --> Port = 
     22/06/2016 13:55 Printer --> File = 
     22/06/2016 13:55 Printer --> Config = 
     22/06/2016 13:55 Printer --> Model = 
     22/06/2016 13:55 PrinterManager PrintUI return code = 0
     22/06/2016 13:55 PrinterManager Invoking add \\impression\s072laser1 for all users
     22/06/2016 13:55 PrinterManager PrintUI has not finished in a timely fashion, abandoning process
     22/06/2016 13:55 PrinterManager Restarting spooler
    ------------------------------------------------------------------------------
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     22/06/2016 13:58 Client-Info Client Version: 0.11.1
     22/06/2016 13:58 Client-Info Client OS:      Windows
     22/06/2016 13:58 Client-Info Server Version: 8169
     22/06/2016 13:58 Middleware::Response Success
     22/06/2016 13:58 PrinterManager Getting installed printers
     22/06/2016 13:58 PrinterManager Adding printers
     22/06/2016 13:58 PrinterManager \\impression\s072laser1 has already been configured
    ------------------------------------------------------------------------------
    

    and :
    0_1466596679952_Capture.JPG


  • Senior Developer

    Those are leftovers from when 0.11.0 messed up. Looking at the logs 0.11.1 is running perfectly. Try adding a different printer / manualy removing this extra ones / unassigning that printer from the host / restarting the computer. (Basically just try any of them).



  • @Joe-Schmitt It’s better but not perfect ;)
    0_1466576908509_Capture.JPG

    0_1466576917398_fog.log


  • Senior Developer

    v0.11.1 of the client has been released and addresses this new issue. Can you test when you have a chance?




  • Senior Developer


  • Senior Developer

    @Matthieu-Jacquart please upload the entire fog.log from the computer with multiple instances of the same printer.



  • @Joe-Schmitt Oh I didn’t notice the “-”… Try with IP adress, it’s ok for installing new client.
    But bad news, after 5 minutes I’ve got this :

    0_1466424367596_Capture.JPG

    EDIT : checking on other classroom, on 2 computers, this time printer appears… but 4 times !

    0_1466431730656_Capture2.JPG

    0_1466431735699_Capture3.JPG


  • Senior Developer

    @Matthieu-Jacquart those logs indicate older versions of the client. It should also be noted, as described the changelog, the new default server address is fogserver, not fog-server. This is for people who transition from the legacy client, where fogserver was also the default.



  • @Joe-Schmitt Hi,

    Just tried to install it but I’ve got error “unable to install CA certificate”

    And in fog.log

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     01/06/2016 11:11 Client-Info Version: 0.9.10
     01/06/2016 11:11 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt
     01/06/2016 11:11 Data::RSA ERROR: Could not verify certificate is from CA
     01/06/2016 11:11 Data::RSA ERROR: La valeur ne peut pas être null.
    Nom du paramètre : certificate
     01/06/2016 11:11 Middleware::Authentication ERROR: Could not authenticate
     01/06/2016 11:11 Middleware::Authentication ERROR: Certificate is not from FOG CA
     01/06/2016 11:11 Service Sleeping for 120 seconds
    

    Or

    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     20/06/2016 08:21 Client-Info Client Version: 0.10.6
     20/06/2016 08:21 Client-Info Client OS:      Windows
     20/06/2016 08:21 Client-Info Server Version: 8169
     20/06/2016 08:21 Middleware::Response ERROR: Unable to get subsection
     20/06/2016 08:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
    ------------------------------------------------------------------------------
    
     20/06/2016 08:21 Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     20/06/2016 08:21 Middleware::Response Success
     20/06/2016 08:21 Service Sleeping for 79 seconds
     20/06/2016 08:22 Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:94:74:BC&newService&json
     20/06/2016 08:22 Middleware::Authentication Waiting for authentication timeout to pass
     20/06/2016 08:23 Middleware::Communication Download: http://fog-server/fog/management/other/ssl/srvpublic.crt
     20/06/2016 08:23 Middleware::Authentication ERROR: Could not authenticate
     20/06/2016 08:23 Middleware::Authentication ERROR: La valeur ne peut pas être null.
    Nom du paramètre : authority
     20/06/2016 08:23 Middleware::Response Success
     20/06/2016 08:23 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json
     20/06/2016 08:23 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json
    
     20/06/2016 08:23 Service Creating user agent cache
     20/06/2016 08:23 Middleware::Response ERROR: Unable to get subsection
     20/06/2016 08:23 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
     20/06/2016 08:23 Middleware::Response ERROR: Unable to get subsection
     20/06/2016 08:23 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
    

Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.