Hi Tom,
TF> I am able to capture printer ports to LPT4 and higher, but
TF> when I go to the printer properties under "Output Port", I am only given
TF> LPT1 - 3 as choices. If I select Install New Port, it tells me all
TF> ports are already installed.
TF> What am I missing here?
I picked the following tip up from the REXX conference some time ago when I
had the same query... It works well, all my OS/2 machines now have 10 LT
ports available in both OS/2 and Win sessions, one even has 7 printers
defined!
=====================================================================
Run the following rexx script to add LPT4-9 to the OS/2 ini files
and then reboot for it to take effect (you will then be able to
set up drivers/settings etc for the extra ports)
--- cut here ---
/* Rexx LPTADD.CMD */
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs
Do n=4 to 9
rx=SysIni('SYSTEM', 'PM_SPOOLER_PORT', 'LPT'n, ';'||'00'x)
rx=SysIni('SYSTEM', 'PM_LPT'n, 'DESCRIPTION', 'LPT'||n||'00'x)
rx=SysIni('SYSTEM', 'PM_LPT'n, 'INITIALIZATION', ';'||'00'x)
rx=SysIni('SYSTEM', 'PM_LPT'n, 'PORTDRIVER', 'PARALLEL;'||'00'x
)
rx=SysIni('SYSTEM', 'PM_LPT'n, 'TERMINATION', ';'||'00'x)
rx=SysIni('SYSTEM', 'PM_LPT'n, 'TIMEOUT', '45;'||'00'x)
End
--- cut here ---
You will also need to add LPT4.OS2 => LPT9.OS2 to the relevent
part of the WIN.INI file in \os2\mdos\winos2.
===================================================
Hope that helps.........pk.
--- Maximus/2 3.01
---------------
* Origin: Another Good Point About OS/2 (3:772/1.10)
|