Problem
I have configured a client printer with my SCO Advanced File and Print Server system. However, the print request fails to print and an error, similar to the following, is mailed to the "root" user of the SCO system:
From lp Fri Nov 1 17:47:43 1996 From: Printer administrator <lp@scosysv.UUCP.com> X-Mailer: SCO OpenServer Mail Release 5.0 To: root@scosysv.UUCP.com Date: Fri, 1 Nov 96 17:47:43 GMT Message-ID: <9611011747.a0B65@scosysv.UUCP.com>
Subject: Status of lp request laser1-315Your request laser1-315 destined for laser1 encountered an error while printing on printer laser1. Printing stopped with an exit code of 2.
Reason for failure:/usr/spool/lp/admins/lp/interfaces/laser1: syntax error at
line 1: `end of file' unexpectedOR:Reason for failure:/usr/spool/lp/admins/lp/interfaces/laser1: syntax error at line 1: ' ) ' unexpected
Cause
Client printing is set up via the SCOadmin Print Manager. a UNIX printer is created, for example "laser1", that is mapped to a printer shared out, for example, by a Microsoft Windows for Workgroups or Windows 95 PC client. As part of the configuration, a password can be set for this share within the SCOadmin interface that should match that set on the client side. This is encrypted and passed through to the interface script that is created for this printer using the default "passthrough" interface (in this case, laser1). The encryption results in the generation of characters that the interface script cannot parse correctly.
The first error message above is generated if a password has been
set; the second, if no password has been set on the client share or
via SCOadmin. However, the interface still interprets no password
as an encrypted carriage return. Solution
This problem has been reported to SCO Engineering.
As a workaround, when the printer is being configured via the SCOadmin Printer Manager, do not enter the "Password" field. Click the "OK" option immediately after specifying the client system name and its local print share name. Do not enter or type carriage return or any characters in the "Password" field. If already configured, the printer should be deleted and re-created. Deleting the password for a currently configured remote Windows printer via the "Settings/ Connection" option will not resolve the problem.
See also
SCO Advanced File and Print Server Administrator's Handbook, "Managing shared printers", Page 73.