Hi Don,
DG> First off, how would I go about setting up redirection
DG> of LPT1 (on the OS/2 box) to the WFWG box's printer?
If your OS/2 system has LPT1 assigned to a local printer, then LPT1 is not
able to be re-assigned to a network resource. If all your default LPT ports
are used up (LPT1 - LPT3), you can create printer objects on LPT4 - LPT9
ready for just this sort of function and provided your text mode apps allow
for explicit device addressing (IE LPT4 - 9) then you should have no
oblems.
The only thing you may have to do is "create" the extra LPT ports in OS/2.
Here is a Rexx script that does this for you -
--- 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 if you wish Windows to also have these ports
available.
DG> PM apps which use the printer objects don't present a
DG> problem, however text-mode programs (such as GoldED),
DG> which expect a local printer, don't get very far .
OS/2 text mode apps should not be a problem (at least theones I use all seem
to work fine), however DOS apps are another matter. This all depends on the
way the DOS app handles LPT ports. I have no trouble redirecting DOS command
line output to LPT5 using >LPT5, but this may not apply to some DOS apps.
DG> Second, I receive an error when trying to access any of
DG> the WFWG system's shared drives from OS/2. Upon opening
DG> them from the Drives object, error #5908 is produced.
DG> Unfortuneately, "SYS0317: The system cannot find
DG> message 5908
DG> in message file OSO001H.MSG" is what comes back when I
DG> try to look up the message. Any ideas?
Sorry, never seen that message at all............pk.
--- Maximus/2 3.01
---------------
* Origin: Another Good Point About OS/2 (3:772/1.10)
|