From kev@lab321.ru Thu Feb 25 00:20:28 1999
Return-Path: <kev@lab321.ru>
Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34])
	by hub.freebsd.org (Postfix) with ESMTP id 0256A14CD5
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 00:18:57 -0800 (PST)
	(envelope-from kev@lab321.ru)
Received: (from kev@localhost)
	by lab321.ru (8.9.3/8.9.3) id OAA06993;
	Thu, 25 Feb 1999 14:18:38 +0600 (OS)
Message-Id: <199902250818.OAA06993@lab321.ru>
Date: Thu, 25 Feb 1999 14:18:38 +0600 (OS)
From: Coredumped@Coredumped.null.ru
Sender: kev@lab321.ru
Reply-To: Coredumped@Coredumped.null.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: FreeBSD freeze while paper out.
X-Send-Pr-Version: 3.2

>Number:         10253
>Category:       kern
>Synopsis:       FreeBSD freeze while paper out.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:04 PST 1999
>Closed-Date:    Thu Mar 11 07:04:14 PST 1999
>Last-Modified:  Thu Mar 11 07:05:30 PST 1999
>Originator:     Core Dumped
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
Laboratory 321 Ltd.
>Environment:

	FreeBSD-2.2.{6,7,8}-stable, lpd, ghostscript-5.10.

>Description:

	I am use gs as converter postscript->HP LJ 5l.
	If paper is out in printer, freebsd some times freeze.
	It pings but no any more. Console hangs too..
	IT I insert paper to printer...work resumes.

>How-To-Repeat:

/etc/printcap:
ps:lp=/dev/lpt0:sd=/var/spool/output/ps:\
lf=/var/log/lpd-errs:if=/usr/local/bin/ps2hp4:sh:sf:mx#0:

/usr/local/bin/ps2hp4:
#!/bin/sh
# cat not required, I don't remember...:)
/bin/cat | exec /usr/local/bin/gs -q -sDEVICE=ljet4 -r300x300 -sPAPERSIZE=a4\
		       -dNOPAUSE -dSAFER -sOutputFile=- -
		       


>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Mar 11 07:04:14 PST 1999 
State-Changed-Why:  
Questions like this are better handled with an e-mail message to 
freebsd-questions@freebsd.org. I've forwarded your problem to that 
mailing list. 
>Unformatted:
