Ref: 09930020
Title: Functions of LWSENSE File
date: 12/27/90

Copyright 3Com Corporation, 1991.  All rights reserved.

The file C:\3PLUS\3SHARE\LWSENSE is used within a 3+Share routine
called psReset(), which queries the Postscript printer to see if it
needs a dictionary, and, if it needs one, downloads it (LWPREP).
3+Share calls psReset() when the server is booted and before each
spool file is sent to the Postscript printer.

The psReset() routine sends a query to the printer by passing
LWSENSE to the printer.  The reply is commented in the code as
follows:

    A reply of "1" means the dictionary is OK, "2" means the
    dictionary is damaged, and "0" means the printer has no
    dictionary (meaning that the LWPREP file must be downloaded).


Here are the contents of LWSENSE:

    userdict /md known {
        md /av known {
            md /av get 12 eq {1} {2}
            ifelse}
        {2} ifelse}
    {0} ifelse = flush

