OS/2 Warp Server e-Business printer sharing notes

Revision History Search this site

These are notes I made when attempting to configure WSeB to be the print server for a Lexmark Optra S1620 (with a 'MarkNet S' internal printer server card).  Screenshots to follow someday.

Problem: Clients use a "Network Printer" object in Connections->Printers folder to create a local link to the network printer, but:

These notes in the Lexmark's MarkVision software install's README gave the clue:

The LAN administrator can set up a shared print queue to allow OS/2
clients running Warp Server to automatically download required printer
drivers from a common place.  This is useful when the print server is
using a printer driver that is not yet installed on the client.  When
the client creates a network printer object referencing the print
servers shared print queue, the printer object will first check to see
if the required printer driver has already been installed on the client.
If the driver is not installed on the client, the printer object will
look in the following places for a path to the printer driver:

1.   The spooler looks in the OS/2 system INI file for application
     name PM_SPOOLER_DRVSHARE.  The keynames for this application name
     are print server names; the keyvalue is the path to the
     printer drivers that can be downloaded to clients.

     If the application name is found, the spooler uses the
     keyvalue for the print server requested or the first keyvalue if
     the print server requested is not a keyname.

     The following is an example entry for print server PRINTSRV on a
     LanServer Domain.  This assumes all clients have a "net use" in
     place for a drive that contains the printer drivers.

      App Name                  Key Name                Key Value
      ---------                 ---------               ---------

2.   If no PM_SPOOLER_DRVSHARE entry exists, the print server is
     checked for a directory share named PRINTDRV.

3.   If neither of the above finds a path to the printer drivers, the
     user's logon domain "LS:\\*ALIAS" is checked for the alias name

The path returned by one of the above methods is used by the OS/2
printer object as follows:

1.   Search the root of the path for packed files (*.DR_).
2.   Search the root of the path for unpacked files (*.DRV).
3.   Search the subdirectory OS2DRV of the path for packed or unpacked
4.   Search the subdirectory PMDD_n of the path, where n is the OS/2
     printer driver diskette number and the subdirectory contains the
     OS/2 printer driver diskette contents

For example, to share all OS/2 printer drivers, the administrator can
create the following directories:

a)   D:\DRVS
b)   D:\DRVS\PMDD_1 - contains OS2 print driver diskette 1
c)   D:\DRVS\PMDD_2 - contains OS2 print driver diskette 2
d)   D:\DRVS\PMDD_3 - contains OS2 print driver diskette 3
e)   D:\DRVS\PMDD_4 - contains OS2 print driver diskette 4
f)   D:\DRVS\PMDD_5 - contains OS2 print driver diskette 5

The administrator can then set up a shared print queue
for users to the D:\DRVS directories.

On the print server:

On the clients:

Bear in mind that, in general, if anybody changes a job property -- even at a workstation -- it will get saved to the print server's object, and will later propogate to other workstations as they log on.  That is, if someone changes the "Installed RAM" or tells the driver that there is a duplexer installed, eventually everyone will see that change. In the test case, the printer driver automatically updated from 30.517 to 30.734, but when I later copied 30.740 files to PRINTDRV, logged off clients and logged them back on, the driver was not automatically updated.  In this case, I had to use the Spooler's "Update printer driver now" button to force an update.

Comments welcome; I'm a newcomer to WSeB.

Revision History:
    Fixed up HTML to validate properly; no content change.
    Initial release
IBM OS/2 Warp

Apache/2: Apache for OS/2

Send mail to Al about this page. Last updated 30Apr2013