moeti Posted February 1, 2006 Share Posted February 1, 2006 hi im installing several printers during RunOnceEx.im setting all of them to port LPT1, so i can manually adjust them later to the printserver they are using later on.this is no problem, im using this code:[...]ECHO Kyocera Mita FS-1020D KX ...ECHO.start /wait RUNDLL32 PRINTUI.DLL,PrintUIEntry /if /b "Kyocera Mita FS-1020D KX" /f "C:\apps\treiber\fs1020d\oemsetup.inf" /r "LPT1:" /m "Kyocera Mita FS-1020D KX" /q /uECHO.[...]problem is:i also have to install a fax-printer for lotus notes.printer itself isnt a problemn, i just use the code from above (i have an *.inf for the printer).but it uses a special port called "NDFAX3" (ND Faxport V3).i also have an *.inf for that port, but i dont know how to install it automaticallyso my question is:is there a *.dll or something similar like printui.dll for printerports?or any other ideas how to realize this?thx moeTi Link to comment Share on other sites More sharing options...
jondercik Posted February 1, 2006 Share Posted February 1, 2006 If they are using a printserver, why are you installing the drivers at all? When Windows clients connect to a Windows printserver they automatically download the driver from the server and there is no need for admin rights to do this.Jim Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2006 Share Posted February 1, 2006 (edited) @moeti:You can add your port INF directly to the Windows installation by following these steps (replace YOUR.INF with the actual file name where applicable):Add this line to DOSNET.INF in I386 under the [Files] section:d1,YOUR.INFDecompress SYSOC.IN_ in I386 and add this line under [Components]:YOUR=ocgen.dll,OcEntry,YOUR.INF,HIDE,7Recompress the SYSOC.INF with jcarle's Compression Bin and replace in I386.Add this line to TXTSETUP.SIF in I386 under [sourceDisksFiles]:YOUR.INF = 100,,,,,,,20,0,0Compress YOUR.INF with jcarle's Compression Bin and put the compressed file in I386Forgot to mention, if there are files listed in YOUR.INF under [sourceDisksFiles] then they need to be added to DOSNET.INF and TXTSETUP.SIF using the same syntax as shown above, then compressed and added to I386 too. If this is the case, post your INF for specific syntax in TXTSETUP.SIF.@jondercik:Your suggestion won't work with slimline hardware-based printservers like my HP JetDirect 170X. They have no dedicated storage to hold drivers. Edited February 7, 2006 by 5eraph Link to comment Share on other sites More sharing options...
jondercik Posted February 1, 2006 Share Posted February 1, 2006 Ah sorry thought ya meant a printserver hosted on a server, my bad. Wasnt clear. Link to comment Share on other sites More sharing options...
moeti Posted February 3, 2006 Author Share Posted February 3, 2006 thx 5eraph, gonna test that and yes, we only have HP170X / HP500X printservers or networkcards in the printers for direct tcp/ip Link to comment Share on other sites More sharing options...
moeti Posted February 14, 2006 Author Share Posted February 14, 2006 hey there.sorry, had no time yet to test it.i just looked at my *.inf again and wanted to try the installation as posted above.thats my inf:monitorxp.inf; monitor.inf;; Installation inf for printer port monitor;; (c) Copyright 2001 DDK Example for print monitor installation;[Version]Signature="$Windows NT$"Provider=%PMProducer%ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}Class=Printer[PortMonitors]"ND Client Fax Port XP" = ndportmon[ndportmon]CopyFiles=@ndmon3.dllPortMonitorDll=ndmon3.dll[SourceDisksFiles]ndmon3.dll=1,,[SourceDisksNames]1="ND Client Fax Port Installation Disk",,,[Strings]PMProducer="Notes Development"so, 5eraph stated i had to add the files listed under [sourceDisksFiles], too.so what do i hjave to do now?i add my monitorxp.inf with the code form 5eraph, replacing YOUR.inf with monitorxp.inf.and then i do the same with ndmon3.dll or what?im not quite sure about the [sourceDisksFiles]-part Link to comment Share on other sites More sharing options...
Guest Posted February 14, 2006 Share Posted February 14, 2006 (edited) Make these additional edits and you should be all set. Add this line to DOSNET.INF in I386 under the [Files] section:d1,ndmon3.dllAdd this line to TXTSETUP.SIF in I386 under [sourceDisksFiles]:ndmon3.dll = 100,,,,,,,2,0,0Compress ndmon3.dll with jcarle's Compression Bin and put the compressed file in I386. Edited February 14, 2006 by 5eraph Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now