Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

adding printer ports?

Featured Replies

hi :hello:

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 /u
ECHO.
[...]

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 automatically

so 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

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

@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.INF


  • Decompress SYSOC.IN_ in I386 and add this line under [Components]:
    YOUR=ocgen.dll,OcEntry,YOUR.INF,HIDE,7

    Recompress 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,0


  • Compress YOUR.INF with jcarle's Compression Bin and put the compressed file in I386

Forgot 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 by 5eraph

Ah sorry thought ya meant a printserver hosted on a server, my bad. Wasnt clear.

  • Author

thx 5eraph, gonna test that :)

and yes, we only have HP170X / HP500X printservers or networkcards in the printers for direct tcp/ip

  • 2 weeks later...
  • Author

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.dll
PortMonitorDll=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

Make these additional edits and you should be all set. :)

  • Add this line to DOSNET.INF in I386 under the [Files] section:
    d1,ndmon3.dll


  • Add this line to TXTSETUP.SIF in I386 under [sourceDisksFiles]:
    ndmon3.dll = 100,,,,,,,2,0,0


  • Compress ndmon3.dll with jcarle's Compression Bin and put the compressed file in I386.

Edited by 5eraph

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.