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

    Printer Deployment does not install driver but port

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    6
    22
    8.4k
    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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Hi,

      iam trying to use fog client (new one) to install printers.
      I am currently under trunk 7416

      alt text

      I can see in the fog service log that the printer should be installed, when i check the printers i cannot set the installed printer but when i check the available ports i can see the fog created the port IP_x.x.x.x but the printer install itself is missing.

      When i try to access the unc path of the printer inf showing in the log i can successfull open the share (inf).
      Also the Printer Model is exactly like in the inf file.

      What could be the problem here? The Client is a Windows 10 x64
      Did i made any wrong inputs to the printer configuration?

      Please help me.

      Regards X23

      ║▌║█║▌│║▌║▌█

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by

        Hi,

        i changed the inf path away from unc path and integrated the print driver by right click > install driver.
        Now i have a oem15.inf under c:\windows\inf and the driver is integrated in the system.

        Then i changed the inf path for the printer configuration from \unc\path to c:\windows\inf\oem15.inf

        But i have the same Problem, the printer port will created but the printer driver installation is missing no device under printer.

        Now the question is, how can i debug the installation attempt on the windows machine to see what is happening?
        Is it maybe a Problem when the Printer Model has spaces? Maybe i have to set the Model into “”?

        Please help

        Regards X23

        ║▌║█║▌│║▌║▌█

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

          Can you try the printer manager helper? https://github.com/FOGProject/fog-client/releases

          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
            last edited by

            Also, could you try updating to the latest?

            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
            • x23piracyX
              x23piracy
              last edited by

              Hi,

              hey tom and wayne, i missed your answer before 😉 thank u for the reply.
              Tom i will update and report back, wayne i will try that thank you and get back to u guys.

              Regards X23

              ║▌║█║▌│║▌║▌█

              1 Reply Last reply Reply Quote 0
              • JJ FullmerJ
                JJ Fullmer Testers @x23piracy
                last edited by

                @x23piracy Does the share require a login?
                If it isn’t a public share it probably won’t work.

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

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

                  I believe @Arrowhead-IT is on the right track. The share must be configured for anonymous read.

                  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
                  • x23piracyX
                    x23piracy @JJ Fullmer
                    last edited by

                    @Arrowhead-IT @Jbob the share is readable by anyone (anonymous) a can also place the driver on the local system even then it will not install only the port is created.

                    @Wayne-Workman i tried the printer manager helper and on my productive windows 10 i used the embedded driver that windows 10 brings for the hp m401 and not the one on the share.

                    The strange thing is the helper tells me that the ntprint.inf was used on my local system for the driver but when i open the ntprint.inf i cannot find the entry the helper is showing for the printername. Thats the reason why i tried it with a dowloaded driver from hp in the share i used.

                    In the wiki example video i can see a lot of entrys for printer names in ntprint.inf but under windows 10 there is not a single entry but if you create network ports it automatically detects the driver and uses the embedded one, how to locate the right drivers names for embedded printer driver in windows 10 like the wiki video is showing?

                    Regards X23

                    ║▌║█║▌│║▌║▌█

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

                      @x23piracy have you tried using the ntprint file? It acts as a “search our whole system for a working 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.

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

                        @x23piracy I’m not aware of any videos in the wiki about printers. Can you give a link?

                        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/

                        x23piracyX 1 Reply Last reply Reply Quote 0
                        • x23piracyX
                          x23piracy @Wayne Workman
                          last edited by x23piracy

                          @Wayne-Workman sure here it is: http://freeghost.sourceforge.net/videotutorials/printer.swf
                          The video shows howto determine printer name from ntprint.inf but in windows 10 there are a lot of embedded drivers but they cannot be found in ntprint.inf

                          That’s the reason i tried the share (readable by everyone, checked the inf for the right name and took em) with a downloaded driver for the device from hp.

                          If you install the HP M401 under windows 10 by adding the port and driver autodetection it installs the embedded driver but i don’t know howto locate the names and the correct inf under windows 10.

                          Regards X23

                          ║▌║█║▌│║▌║▌█

                          Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by

                            Have you used the exact output of printer manager helper? It detemermines all of that for you. I know there’s only 1 entry in the ntprint file on newer versions of Windows but thats fine.

                            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 2
                            • Tom ElliottT
                              Tom Elliott @x23piracy
                              last edited by

                              @x23piracy I have to be honest, that video is from 0.12 version of FOG and probably the same version of the client from between all of them. The new client is New and it’s labelled as such for a very specific reason.

                              @jbob wrote the new client more or less from scratch. He also built the printer manager helper that he linked which will tell you EXACTLY what to place for the printer definition. Why not just take it for a spin? We’re not telling you information to spin you on your head, rather to help you get to the tasking you needed to reach.

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

                                @x23piracy It might be worth noting here that if you want the printer to use specific drivers, install it manually using the drivers you want, and THEN run the printer manager helper.

                                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
                                • x23piracyX
                                  x23piracy
                                  last edited by

                                  Hey guys,

                                  don’ get me wrong. Okay i reexplain it:

                                  First of all i have used the Printer Helper binary.
                                  Next thing Windows 10 has an embedded driver for the HP M401 and i have a downloaded one.

                                  My first attempt was to use the downloaded driver on a network share readable by everyone. This Method seems to fail because the port will be created but printer driver is not installed.

                                  Then i tried the embedded one and i have the same issue port is there but printer itself not.
                                  I have used exactly the information given the printer helper program.

                                  Can maybe someone of you test this with a windows 10 machine?

                                  This i what printer helper shows me when using the embedded driver:
                                  alt text

                                  This i what printer helper shows me when using the downloaded driver vom hp:
                                  alt text

                                  @Tom Elliot FYI i am now on trunk 7645

                                  Regards X23

                                  ║▌║█║▌│║▌║▌█

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

                                    @x23piracy after you see the port is created, if you reboot the machine does the printer show up in the list?

                                    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

                                    x23piracyX 1 Reply Last reply Reply Quote 0
                                    • x23piracyX
                                      x23piracy @Tom Elliott
                                      last edited by

                                      @Tom-Elliott afai remember no. but i think there is additionally another problem since i am on latest trunk with client 10.6, have a look: https://forums.fogproject.org/topic/7413/fog-client-0-10-6-error-object-reference-not-set-to-an-instance-of-an-object/12

                                      ║▌║█║▌│║▌║▌█

                                      1 Reply Last reply Reply Quote 0
                                      • Scott BS
                                        Scott B
                                        last edited by

                                        In the past when I have had this issue its always been the path to the driver was wrong or the driver itself was corrupt or not added correctly. Are you able to manually make a port and install a printer using all the information in the FOG configuration of the printer?

                                        x23piracyX 1 Reply Last reply Reply Quote 0
                                        • x23piracyX
                                          x23piracy @Scott B
                                          last edited by

                                          @Scott-B how to do this steps manually, what is the client doing? is it using the ms vbs scripts for this?

                                          Regards X23

                                          ║▌║█║▌│║▌║▌█

                                          Scott BS JJ FullmerJ 2 Replies Last reply Reply Quote 0
                                          • Scott BS
                                            Scott B @x23piracy
                                            last edited by

                                            @x23piracy Just use the windows new printer install wizard and copy paste each value you have in fog into the wizard.

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

                                            220

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project