[cups.general] print jobs on empty files

gmail gnu.freek at gmail.com
Fri Mar 9 10:02:46 PST 2007


Michael,

Can you send me STR No for this, the checked the release notes and could
not find, may be the issue was too trivial.
http://www.cups.org/relnotes.php

Thanks

On Thu, 2007-03-08 at 14:42 -0500, Michael Sweet wrote:
> gmail wrote:
> > # cat emptyfile | lp 
> > lp: stdin is empty, so no job has been sent. 
> > 
> > # ls -l /var/spool/cups/tmp 
> > total 0 
> > -rw-------  1 root root 0 Mar  8 10:28 45efd74491a30 
> > 
> > # ls -l /var/tmp 
> > total 0 
> > 
> > # su testuser
> > 
> > # cat emptyfile | lp 
> > lp: stdin is empty, so no job has been sent. 
> > 
> > # ls -l /var/tmp 
> > total 0 
> > -rw-------  1 frank4 testomg2 0 Mar  8 10:30 45efd79cd2725 
> > 
> > # ls -l /var/spool/cups/tmp 
> > total 0 
> > -rw-------  1 root root 0 Mar  8 10:28 45efd74491a30 
> > 
> > Question why does cups create print jobs for empty files ?
> 
> It's not, the lp program is creating a temporary file but not removing
> it on that error.  This appears to be fixed in the current CUPS
> releases...
> 





More information about the cups mailing list