Koozali.org: home of the SME Server

SME9 and Windows Print Drivers stored on server

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
SME9 and Windows Print Drivers stored on server
« on: May 04, 2016, 06:44:26 PM »
I´ve some doubts about SAMBA features to store drivers to Windows workstations.
I´ve read (and even contributed ) to wiki page: https://wiki.contribs.org/Printer_Drivers_for_Windows_Workstations

But I´m having problem with HP printers.
Those printers (HP200DN, X476DN, 8600,8500, ...) have setup programs and their wizard requires the printer be available on network.

I´m a network guy, if my printer is on or off is a DETAIL, I wanna to print to print server! The job must be stored till printer is on an running.

I´d like to know how to upload ANY windows driver to SAMBA (at least till v3)  in a easy way.

I´ve learned a LOT MORE about drivers but nothing appears to solve my main problem:
I NEED TO A EASY (AUTOMATIC) WAY TO INSTALL PRINTERS ON ANY COMPUTER CONNECTED TO SME9.

Usefull pages about drivers (for those like to leanr about it):

https://wiki.samba.org/index.php/Configuring_Point'n'Print_automatic_printer_driver_deployment
http://www.verboon.info/2010/12/inside-the-windows-7-driver-store/
https://technet.microsoft.com/en-us/library/jj134163.aspx
http://www.technipages.com/pre-install-drivers-windows-driver-store
https://deployhappiness.com/automating-hardware-driver-installation-on-windows-7-and-above/
http://www.msigeek.com/5569/how-to-get-an-inventory-of-all-the-installed-device-drivers-in-a-machine
http://www.digitalcitizen.life/geek-way-managing-printers-print-management-console
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: SME9 and Windows Print Drivers stored on server
« Reply #1 on: May 13, 2016, 03:14:15 AM »
I'll post a follow up to register and later think how write it on wiki.
I've found another way to do this, via script (wpkg.org)

Code: [Select]
<!-- Win7 instala Drivers -->
   <install os="ultimate.+6\.1\.\d{4}"  timeout="60" cmd='rundll32 printui.dll,PrintUIEntry /ia /m "HP LaserJet P2050 Series PCL6" /f "\\servidor\intranet\files\Drivers\IMPRESSORAS\P2055DN\hppdp613.inf"' />

<!-- Win7 -->
   <install os="ultimate.+6\.1\.\d{4}"  timeout="60"   cmd='rundll32 printui.dll,PrintUIEntry /if /b "P2055DN no Servidor" /f "\\servidor\intranet\files\Drivers\IMPRESSORAS\P2055DN\hppdp613.inf" /r "\\servidor\hp2055dn" /m "HP LaserJet P2050 Series PCL6"'/>

The first command copy drivers from network location to local computer.
The second one install the printer using that driver.

This is a sub-optimal solution (drivers still not in server to autodeploy when connecting to printer, but It's what I was able to have working for now.
I have a network with some old WinXP and moving to Win7/8/10 as new computers are bought.
For now we'll start migrating WinXP to Win7 where HW allow us to do it!
...

guest22

Re: SME9 and Windows Print Drivers stored on server
« Reply #2 on: May 13, 2016, 12:30:48 PM »
For now we'll start migrating WinXP to Win7 where HW allow us to do it!


Both are EOL, so why would you do that?

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: SME9 and Windows Print Drivers stored on server
« Reply #3 on: May 17, 2016, 02:30:13 AM »

Both are EOL, so why would you do that?

Because not all HW supports Win8/Win10.
And I'm moving to Win7 just as start... I'm not sure if we'll stay at 7, 8, 8.1 or move to 10.
Anyways, the problem remains: how to upload drivers on newer version of Windows to auto install from SME server?


IF you watch this https://nakedsecurity.sophos.com/2016/04/11/millions-of-people-are-still-running-windows-xp/
You'll see the WinXP has 10% market share and Win7 has 50% market share. Not bad at all: a question about 60% market share! ;)
...

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: SME9 and Windows Print Drivers stored on server
« Reply #4 on: May 17, 2016, 02:55:44 AM »
jader

Quote
But I´m having problem with HP printers.
Those printers (HP200DN, X476DN, 8600,8500, ...) have setup programs and their wizard requires the printer be available on network.

Work around the issue by not using the setup wizard. The basic drivers should be on the disk or media, just use those instead.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME9 and Windows Print Drivers stored on server
« Reply #5 on: May 17, 2016, 04:48:25 AM »
As proposed by janet, try to find the actual driver. If not around the exe file it is in it. Try to open it as an archive with 7zip or a similar software.