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

    Printer Deployment

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

                          @Joe-Schmitt

                          Tell me more about SnapinPacks.

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

                            @Joe-Gill there is an announcement all about it. Look in announcements.

                            The reason the script runs manually is its run in the users security context. Snapins run in SYSTEM context. Set your share to anonymous read and it should work.

                            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!

                              I set the permissions to Anonymous Log In Read/Execute and that worked.

                              One strange thing is that I had 4 of my hosts “fall off of the domain controller”. They loose their trust relationship with our server periodically. Wayne, we talked about this. Sometimes it’s because they get removed from the domain. In this case, it was absolutely not the case. The other admin said, that they do this periodically. We’ll have 3 or 4 a month drop off. You re-add them and everything is fine. Is this normal?

                              Thanks!

                              Cheers,

                              Joe

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

                                @Joe-Gill no its not normal.

                                If two computers have the same name and not being managed by the fog client, this will break client/server trust.

                                If an image is uploaded while joined to the Domain already - that will cause major major issues and those issues will be inconsistent.

                                In no scenario above will a host ever say it’s not on the domain in computer properties. It’ll say it’s joined, but nothing except local accounts will work.

                                If your computer is literally saying it’s in a workgroup and not a domain - I’d sort of guess someone imaged it with either encryption for that host being broken or the fog client nit installed on the image, or simply the computer not configured in fog to join the domain.

                                Deleting computer objects will of course cause this.

                                Old computer objects in ADUC with bad names or same names as existing computers can also cause problems. The new client now helps with that by creating a new object with the right name.

                                So… could be many things. But none of them are FOG’S fault.

                                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

                                  Yeah we had this issue before FOG. When they fall off the AD DC it only allows local accounts to function but still says it’s in AD… Can’t see why it keeps happening but it does periodically. Either way it’s not a FOG issue!

                                  On a FOG printer related note… Do you know of any easy way to determine what driver a printer uses? These Xerox printers have a Universal driver that is installed with a GUI exe file… I can find the directories that have all of the other stuff in them but I can’t get the Printer Manager Helper to be happy with any of them…

                                  Thanks!

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

                                    @Joe-Gill not to my knowledge. Otherwise I would have done so in the PrinterManagerHelper. I’ll keep digging around though. I suppose I could extract the hardware ID and link that to the generalized driver windows generates on installation and then parse that for more details.

                                    I built a FOG driver pack generator from scratch awhile ago that when run on a computer extracted all used drivers to an existing pack. I could canabalize that to get the printer driver. Unfortantly window’s driver system is anything but pretty.

                                    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
                                    • Wayne WorkmanW
                                      Wayne Workman @Joe Gill
                                      last edited by Wayne Workman

                                      @Joe-Gill can’t say I’ve ever voluntarily used what I call bloat ware from a manufacturer to install drivers for anything. I’ve always used device manager and specified exactly the file to use. Normally drivers are sorted into folders in a download. Normally an EXE has an option to only extract drivers, or as a last resort, after you see it extract drivers, use task manager to kill the exe and then go find the drivers.

                                      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/

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

                                        @Joe-Schmitt as shown in other communications I don’t know where this issue is occurring. Currently all info seems to be passed correctly. Including invalid host certificate (bad naming but that’s from the past anyway.). The server, in current trunk is sending the ihc flag unencrypted and not in Json string. I can only surmise there may be something else causing this issue, for example the flag is coming from a node/time when we both were not aware of the ihc issue altogether.

                                        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
                                        • J
                                          Joe Gill @Joe Schmitt
                                          last edited by

                                          @Joe-Schmitt

                                          Well, I pretty much gave up on using FOG for Xerox printers. I know the driver DLL file the printer uses and pretty much everything else from the WIndows Test Page… But I still can’t seem to get it.

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

                                            I remoted in and helped. The issue was with the printer configuration. The Model field wasn’t quite right.

                                            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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project