• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog Adding Multiple Instances of a Printer?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    20
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BStalker
      last edited by

      Just to add a little more info. I have now tested this on a fresh install of windows as well with the same results.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        It handles them, currently, by adding/removing them as expected. If you manually remove the printer, it may have issues re-installing them. To see the changes take effect, you need to reboot the system. As for constant removing/re-adding/multiples I’ve not seen this. Was the FOG client installed using an Administrator account?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • B
          BStalker
          last edited by

          Yes it was added with an admin account. When I say I removed the printer, it was via Fog, not manually. Let me know if there is any more info I can provide.

          1 Reply Last reply Reply Quote 0
          • B
            BStalker
            last edited by

            Here is a screenshot of the printers added, as well as the FOG log file.

            0_1463771087366_Printers.png

            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             5/20/2016 11:36 AM Client-Info Client Version: 0.10.6
             5/20/2016 11:36 AM Client-Info Client OS:      Windows
             5/20/2016 11:36 AM Client-Info Server Version: 7723
             5/20/2016 11:36 AM Middleware::Response Success
             5/20/2016 11:36 AM PrinterManager Adding printers
             5/20/2016 11:36 AM PrinterManager ERROR: Could not detect if printer exists
             5/20/2016 11:36 AM PrinterManager ERROR: 
             5/20/2016 11:36 AM Printer Attempting to add printer:
             5/20/2016 11:36 AM Printer --> Name = IT Office Color Printer
             5/20/2016 11:36 AM Printer --> IP = 10.1.21.224
             5/20/2016 11:36 AM Printer --> Port = IP_10.1.21.224
             5/20/2016 11:36 AM Printer --> File = \\gmc-fs-01\bentesting$\Y12E_C1-hostm-1150/32_64/broch12a.inf
             5/20/2016 11:36 AM Printer --> Config = \\gmc-fs-01\bentesting$\Printer_Config_Files\IT_Printer.dat
             5/20/2016 11:36 AM Printer --> Model = Brother HL-3170CDW series
             5/20/2016 11:36 AM PrinterManager ERROR: Could not detect if printer exists
             5/20/2016 11:36 AM PrinterManager ERROR: 
             5/20/2016 11:36 AM Printer Attempting to add printer:
             5/20/2016 11:36 AM Printer --> Name = Mount Achievement
             5/20/2016 11:36 AM Printer --> IP = 10.1.21.220
             5/20/2016 11:36 AM Printer --> Port = IP_10.1.21.220
             5/20/2016 11:36 AM Printer --> File = \\gmc-fs-01\bentesting$\Kx630909_UPD_en\64bit\XP and newer\OEMSETUP.INF
             5/20/2016 11:36 AM Printer --> Config = \\gmc-fs-01\bentesting$\Printer_Config_Files\Achievement.dat
             5/20/2016 11:36 AM Printer --> Model = Kyocera KM-5050 KX
             5/20/2016 11:36 AM PrinterManager ERROR: Could not detect if printer exists
             5/20/2016 11:36 AM PrinterManager ERROR: 
             5/20/2016 11:36 AM Printer Attempting to add printer:
             5/20/2016 11:36 AM Printer --> Name = Mount Triumph
             5/20/2016 11:36 AM Printer --> IP = 10.1.21.221
             5/20/2016 11:36 AM Printer --> Port = IP_10.1.1.221
             5/20/2016 11:36 AM Printer --> File = \\gmc-fs-01\bentesting$\Kx630909_UPD_en\64bit\XP and newer\OEMSETUP.INF
             5/20/2016 11:36 AM Printer --> Config = \\gmc-fs-01\bentesting$\Printer_Config_Files\Triumph.dat
             5/20/2016 11:36 AM Printer --> Model = Kyocera Mita KM-5035 KX
            ------------------------------------------------------------------------------```
            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Joe Schmitt

              @Bstalker this means something is wrong with WMI. Open powershell as admin on the computer with the issue and run this command:
              Get-WmiObject -Query "select * from Win32_Printer" and post the output here.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              B 1 Reply Last reply Reply Quote 0
              • B
                BStalker @Joe Schmitt
                last edited by

                @Jbob said in Fog Adding Multiple Instances of a Printer?:

                @Bstalker this means something is wrong with WMI. Open powershell as admin on the computer with the issue and run this command:
                Get-WmiObject -Query "select * from Win32_Printer" and post the output here.

                InPS C:\Users\Administrator> Get-WmiObject -Query "select * from Win32_Printer"
                
                
                Location      :
                Name          : IT Office Color Printer (Copy 25)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 21)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 24)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 24)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 20)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 23)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 23)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 19)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 22)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 22)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 18)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 21)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 21)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 17)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 20)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 20)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 16)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 19)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 19)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 15)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 18)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 18)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 14)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 17)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 17)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 13)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 16)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 16)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 12)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 15)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 15)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 11)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 14)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 14)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 10)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 13)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 13)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 9)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 12)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 12)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 8)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 11)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 11)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 7)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 10)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 10)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 9)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 9)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 8)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 8)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 7)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 7)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 6)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 6)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 6)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 5)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 5)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 5)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 4)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 4)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 4)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 3)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 3)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 3)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 2)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 2)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 2)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Triumph (Copy 1)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : Mount Achievement (Copy 1)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Location      :
                Name          : IT Office Color Printer (Copy 1)
                PrinterState  : 0
                PrinterStatus : 3
                ShareName     :
                SystemName    : Windows10Test
                
                Get-WmiObject :
                At line:1 char:1
                + Get-WmiObject -Query "select * from Win32_Printer"
                + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMException
                    + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand`
                1 Reply Last reply Reply Quote 0
                • B
                  BStalker
                  last edited by

                  @Jbob any thoughts on this based on the output of that powershell? Its not a huge issue on this as it is just a machine I’m using to test this with. I can wipe it and start over, however, I would like to know if there is a solution in the event this happens with a deployed machine. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Joe Schmitt

                    @BStalker if you wouldn’t mind, can you download and run “PrinterManagerHelper.exe” from https://github.com/FOGProject/fog-client/releases/tag/0.10.6 on this problem machine? I need to know if it runs and shows all of your printers, or if it throws an error.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    1 Reply Last reply Reply Quote 0
                    • B
                      BStalker
                      last edited by BStalker

                      @Jbob I have some other tasks I have to attend to first, but I should be done with those within the hour and can run the printhelper after. I will let you know the results.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BStalker @BStalker
                        last edited by

                        @Jbob

                        Print Helper Tool ran without errors.

                        0_1464048848293_Print Manager.png

                        1 Reply Last reply Reply Quote 0
                        • B
                          BStalker
                          last edited by

                          Updated Fog Server today to 7829 and the issue is no longer occurring.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by

                            I have no idea why it’s fixed, or even why it was broken. @Tom-Elliott did you change anything?

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @Joe Schmitt
                              last edited by

                              @Jbob I can only guess from when the mode was sending null.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • B
                                BStalker
                                last edited by BStalker

                                @Jbob @Tom-Elliott
                                As a note I made no changes to the Client PC.

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @BStalker
                                  last edited by

                                  @BStalker you didn’t do anything wrong. Just informing what I think the issue was.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    BStalker @Tom Elliott
                                    last edited by

                                    @Tom-Elliott Just trying to give as much information as possible in case it manages to pop up as in issue in the future for someone else. Thanks for all the help you guys provide!

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Joe Schmitt Senior Developer
                                      last edited by

                                      v0.11 of the client will prevent duplicates. And if it detects duplicates exist, it will clean them up.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      156

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project