Consultor Eletrônico



Kbase P179311: Error 140 when streaming output to /dev/lp0
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/12/2010
Status: Unverified

SYMPTOM(s):

Error 140 when streaming output to /dev/lp0

** Pipe to subprocess has been broken. (140)

Error 140 appears after the OUTPUT CLOSE statement.

FACT(s) (Environment):

Code similar to the following:
OUTPUT STREAM <stream name> THROUGH VALUE("/dev/lp0").
Same code worked before upgrading to server.
Same printer used on new server as was used on old server.
UNIX
Progress 9.x
OpenEdge 10.x

CHANGE:

Upgraded to new server.

CAUSE:

Permissions on /dev/lp0 were inadvertently changed during the upgrade to crw------- from crw-rw-rw-.

FIX:

Grant needed permissions to /dev/lp0 to allow non-owners to print.