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

    Printer Deployment

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    47
    13.8k
    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.
    • J
      Joe Gill
      last edited by

      Hi All,

      I’m working on integrating FOG printer management into our FOG scheme here. So far what I have done is download the handy FOG Printer Manager Helper tool to determine exact settings for printer. That works very well. Thanks @Wayne-Workman! I have successfully created a printer in FOG. Next I created a script to push printer drivers to hosts in a snapin. This works successfully. Finally, I add the said printer to each host in my group. I set the management level for the host to FOG managed. Everything appears to be normal there. No errors on the GUI. But when I go to the host and check to see what printers it has installed, I don’t find any printers.

      Which service does FOG use to push printers?

      Where could I find a log file for printer deployment?

      Any advice is appreciated.

      Cheers,

      Joe

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        The file would be c:\fog.log The service used would be the FOGService. And thank @Senior-Developers for printers.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        J 1 Reply Last reply Reply Quote 0
        • J
          Joe Gill @Wayne Workman
          last edited by

          @Wayne-Workman

          Thanks Wayne!

          Here is the fog.log found on one of the hosts…

          
          ------------------------------------------------------------------------------
          --------------------------------HostnameChanger-------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:53 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:53 AM Client-Info Client OS:      Windows
           7/11/2016 7:53 AM Client-Info Server Version: 
           7/11/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          ---------------------------------SnapinClient---------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:53 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:53 AM Client-Info Client OS:      Windows
           7/11/2016 7:53 AM Client-Info Server Version: 
           7/11/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          --------------------------------PrinterManager--------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:53 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:53 AM Client-Info Client OS:      Windows
           7/11/2016 7:53 AM Client-Info Server Version: 
           7/11/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          --------------------------------PowerManagement-------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:53 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:53 AM Client-Info Client OS:      Windows
           7/11/2016 7:53 AM Client-Info Server Version: 
           7/11/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          ----------------------------------UserTracker---------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:53 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:53 AM Client-Info Client OS:      Windows
           7/11/2016 7:53 AM Client-Info Server Version: 
           7/11/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
           7/11/2016 7:53 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&configure&newService&json
           7/11/2016 7:53 AM Middleware::Communication ERROR: Could not contact FOG server
           7/11/2016 7:53 AM Middleware::Communication ERROR: Unable to connect to the remote server
           7/11/2016 7:53 AM Middleware::Response Success
           7/11/2016 7:53 AM Service Sleeping for 60 seconds
           7/11/2016 7:54 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&mac=C8:1F:66:3F:69:34||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
           7/11/2016 7:54 AM Middleware::Authentication Waiting for authentication timeout to pass
           7/11/2016 7:56 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
           7/11/2016 7:56 AM Middleware::Communication ERROR: Could not download file
           7/11/2016 7:56 AM Middleware::Communication ERROR: Unable to connect to the remote server
           7/11/2016 7:56 AM Middleware::Authentication ERROR: Could not authenticate
           7/11/2016 7:56 AM Middleware::Authentication ERROR: Value cannot be null.
          Parameter name: authority
           7/11/2016 7:56 AM Middleware::Response Success
           7/11/2016 7:56 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?clientver&newService&json
           7/11/2016 7:56 AM Service ERROR: Unable to get cycle data
           7/11/2016 7:56 AM Service ERROR: Unable to connect to the remote server
           7/11/2016 7:56 AM Middleware::Response Success
          
          ------------------------------------------------------------------------------
          ---------------------------------ClientUpdater--------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:56 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:56 AM Client-Info Client OS:      Windows
           7/11/2016 7:56 AM Client-Info Server Version: 
           7/11/2016 7:56 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:56 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          ----------------------------------TaskReboot----------------------------------
          ------------------------------------------------------------------------------
           7/11/2016 7:56 AM Client-Info Client Version: 0.11.2
           7/11/2016 7:56 AM Client-Info Client OS:      Windows
           7/11/2016 7:56 AM Client-Info Server Version: 
           7/11/2016 7:56 AM Middleware::Response ERROR: Unable to get subsection
           7/11/2016 7:56 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
          
          ------------------------------------------------------------------------------
          

          0_1468257360721_fog.log

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

            @Joe-Gill try resetting encryption data for that host and see if things are better. In any case this is a server issue @Tom-Elliott

            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.

            J Tom ElliottT 2 Replies Last reply Reply Quote 1
            • J
              Joe Gill @Joe Schmitt
              last edited by

              @Joe-Schmitt

              How do I reset encryption data for that host?

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

                Go to the host in your fog web portal and there should be a large reset encryption button on the top.

                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.

                J 1 Reply Last reply Reply Quote 1
                • J
                  Joe Gill @Joe Schmitt
                  last edited by

                  @Joe-Schmitt

                  That worked to resolve the “Middleware::Response ERROR…”

                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                   7/11/2016 11:21 AM HostnameChanger Checking Product Key Activation
                   7/11/2016 11:21 AM HostnameChanger Already activated with correct key
                   7/11/2016 11:21 AM HostnameChanger Checking Hostname
                   7/11/2016 11:21 AM HostnameChanger Hostname is correct
                   7/11/2016 11:21 AM HostnameChanger Attempting to join active directory
                   7/11/2016 11:21 AM HostnameChanger The machine is already joined to the domain, code =  2691
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                   7/11/2016 11:21 AM PrinterManager Getting installed printers
                   7/11/2016 11:21 AM PrinterManager Adding printers
                   7/11/2016 11:21 AM PrinterManager JH Lab has already been configured
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                   7/11/2016 11:21 AM PowerManagement Calculating tasks to unschedule
                   7/11/2016 11:21 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   7/11/2016 11:21 AM Client-Info Client Version: 0.11.3
                   7/11/2016 11:21 AM Client-Info Client OS:      Windows
                   7/11/2016 11:21 AM Client-Info Server Version: 8515
                   7/11/2016 11:21 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   7/11/2016 11:21 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   7/11/2016 11:21 AM Middleware::Response Success
                   7/11/2016 11:21 AM Service Sleeping for 71 seconds
                   7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&mac=C8:1F:66:3F:69:34||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
                   7/11/2016 11:23 AM Middleware::Response Success
                   7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?clientver&newService&json
                   7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?newService&json
                  
                   7/11/2016 11:23 AM Service Creating user agent cache
                   7/11/2016 11:23 AM Middleware::Response Success
                   7/11/2016 11:23 AM Middleware::Response Success
                   7/11/2016 11:23 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------```
                  
                  
                  It does say that the "JH Lab" printer was  installed but I do not see it in control panel on the printer?  
                  
                  ![0_1468258604241_screen shot.png](/uploads/files/1468251036745-screen-shot.png)
                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Joe Gill @Joe Gill
                    last edited by

                    It does say that the “JH Lab” printer was installed but I do not see it in the printer control panel.

                    0_1468258698546_screen shot.png

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

                      Try logging out and in.

                      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.

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        Joe Gill @Joe Schmitt
                        last edited by

                        @Joe-Schmitt

                        Same story. No printer.

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

                          Sounds like the printer configuration isn’t correct. Try running printer manager helper on this host and go to the Add New Printer tab. Fill in the necessary fields and try adding it. You should get an error pop 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.

                          J 3 Replies Last reply Reply Quote 1
                          • J
                            Joe Gill @Joe Schmitt
                            last edited by

                            @Joe-Schmitt

                            Will do! Thanks!

                            1 Reply Last reply Reply Quote 0
                            • J
                              Joe Gill @Joe Schmitt
                              last edited by

                              @Joe-Schmitt

                              OK I ran the Printer Manager Helper and do not see my printer listed here at all. But I do not get a pop up with any errors either.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Joe Gill @Joe Schmitt
                                last edited by

                                @Joe-Schmitt

                                Alright… I figured out what you meant. I tried adding it and got an error. I’m assuming my install script did not install the inf properly.

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

                                  Was it a bad driver? The ntprint inf is actually a wrapper driver that just points to any installed drivers that say they will work. You could just host the driver on a network share or even have a local copy that you point to. (Printer manager helper will always say its using ntprint as the driver though).

                                  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.

                                  J 3 Replies Last reply Reply Quote 1
                                  • J
                                    Joe Gill @Joe Schmitt
                                    last edited by

                                    @Joe-Schmitt

                                    We use Xerox printers throughout the district and thankfully they all take the same generic driver. And yes, print manager is pointing me to ntprint.inf for the driver file. The installer we use is a gui so I have no idea where the actual driver file is located.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Joe Gill @Joe Schmitt
                                      last edited by

                                      @Joe-Schmitt

                                      I found where Xerox installs the inf file… I’ll add that to one of our servers and push that out. Then go from there.

                                      Thanks for making me think!

                                      Cheers,

                                      Joe

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Joe Gill @Joe Schmitt
                                        last edited by

                                        @Joe-Schmitt
                                        @Wayne-Workman

                                        OK. So I can successfully make a script to copy the needed driver directory from my network share to my host machine.

                                        robocopy "\\littledogs\tools$\drivers\printers\FOG\Xerox" "C:\Xerox" /E /IS
                                        

                                        I save that file as a .cmd file and upload it to the fog server via snapin manager…

                                        0_1468257593423_screenshot.png

                                        After that, I go to my host and deploy the snapin. I get no error messages. But the script does not produce said directories. I can go to the host machine and manually run the script without error.

                                        Any ides?

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Joe Gill @Joe Gill
                                          last edited by

                                          I have also tried this in powershell with a different script with no luck. Script runs successfully outside of snapin.

                                          Thanks!

                                          Cheers!

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

                                            Your network share needs to have anonymous read access enabled. Also, if you have that network share you can just set the driver field of the printer to the network share location of the inf. If you have 0.11.3 of the client you could also use SnapinPacks to deploy the driver.

                                            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.

                                            J 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            288

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project