[cups.development] Re: Problem in printing from LPD - Solved

Suresh Kanniappan suresh at hclp.com
Wed Jun 22 09:00:49 PDT 2005


Michael Sweet wrote:

> Suresh wrote:
>
>> ...
>> Setting the environment variable TMPDIR="/tmp" does not solve the
>> problem. Anyone can help me why CUPS requires /var/tmp/ folder to
>> handle LPD requests???
>
>
> It's a temporary directory, historically used to hold (potentially)
> larger temp files back in the day when you had small root
> filesystems.  Even today, /tmp is often a RAM-based filesystem and
> is thus not suitable for temporary print files.
>
If i removed /var/tmp/ folder in Linux PC 1, giving test print from 
Linux PC 2 via LPD. I read the error_log file in Linux PC 2, it was 
found that the error message "R*emote Host does not accept the control 
file*". The print service in Linux PC 2 keep on spooling the job to the 
destination. As soon as i create a /var/tmp/ directory in Linux PC 1 , 
the job from Linux PC 2 via LPD successfully reached the Linux PC 1.

Note that the printing locally in Linux PC 1 with or without /var/tmp/ 
directory does not provide this problem.

My query is that why printing via LPD alone require this /var/tmp/ 
folder.  I searched CUPS source code, but i didn't get any idea.

K. Suresh

-----------------------------------------Disclaimer-------------------------------------------------------

This document is intended for transmission to the named recipient only.If you are not that 
person, you should note that legal rights reside in this document and your are not authorized
to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited 
and may be unlawful.The views expressed in this document are not necessarily those of HCL Peripherals 
Notice is hereby given that no representation, contract or other binding obligation shall be created
by this e-mail, which must be interpreted accordingly.Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the original by a duly authorized
officer of the relevant company.

----------------------------------------------------------------------------------------------------------






More information about the cups-devel mailing list