[cups.general] CUPS + LPR printing from Windows (LPD printing)

suresh kanniappan accetsuresh at rediffmail.com
Thu Apr 28 22:39:38 PDT 2005


Hai,

I am using Suse Linux Distribution. I have moved from LPRng spooler to CUPS spooler. I faced the problem in printing from Windows 2000 server to Linux PC. When printing via LPR port from Windows, the print data is not spooled to the Linux machine (i.e LPD printing).

I checked the LPR port printing with Red Hat 9 PC,  it is working fine.
CUPS version in both the PCs is 1.1.17. I compared the error log file in both Red Hat 9.0 and Suse Linux. I found the difference in one location of error_log. The following 
error log files are obtained by defining LogLevel debug2 in /etc/cups/cupsd.conf files.

Part of Working /var/log/cups/error_log file
--------------------------------------------

d [27/Apr/2005:14:12:31 +0530] AcceptClient(0x8086c00) 0 NumClients = 1
D [27/Apr/2005:14:12:31 +0530] AcceptClient() 7 from localhost:631.
d [27/Apr/2005:14:12:31 +0530] AcceptClient: Adding fd 7 to InputSet...
d [27/Apr/2005:14:12:31 +0530] ReadClient() 7, used=0

D [27/Apr/2005:14:12:31 +0530] ReadClient() 7 POST /printers/lp 
HTTP/1.1        d [27/Apr/2005:14:12:31 

+0530] decode_auth(0x4046f220): Authorization string = ""
d [27/Apr/2005:14:12:31 +0530] decode_auth() 7 username=""
d [27/Apr/2005:14:12:31 +0530] IsAuthorized: con->uri = "/printers/lp"
d [27/Apr/2005:14:12:31 +0530] FindBest: uri = "/printers/lp"...
d [27/Apr/2005:14:12:31 +0530] FindBest: Location /admin Limit 7f
d [27/Apr/2005:14:12:31 +0530] FindBest: Location /printers/lp Limit 7f
d [27/Apr/2005:14:12:31 +0530] FindBest: Location /printers/printer Limit 7f
d [27/Apr/2005:14:12:31 +0530] FindBest: Location / Limit 7f                    d [27/Apr/2005:14:12:31 +0530] 
FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [27/Apr/2005:14:12:31 +0530] FindBest: best = "/printers/lp"



Part of Not Working /var/log/cups/error_log file
------------------------------------------------

d [27/Apr/2005:14:05:54 +0530] AcceptClient(0x8086c00) 0 NumClients = 1
D [27/Apr/2005:14:05:54 +0530] AcceptClient() 5 from localhost:631.
d [27/Apr/2005:14:05:54 +0530] AcceptClient: Adding fd 5 to InputSet...
d [27/Apr/2005:14:05:54 +0530] ReadClient() 3, used=0
D [27/Apr/2005:14:05:54 +0530] CloseClient() 3
d [27/Apr/2005:14:05:54 +0530] CloseClient: Removing fd 3 from InputSet and OutputSet...
d [27/Apr/2005:14:05:54 +0530] ReadClient() 5, used=0

D [27/Apr/2005:14:05:54 +0530] ReadClient() 5 POST / HTTP/1.1

d [27/Apr/2005:14:05:54 +0530] decode_auth(0x40378008): Authorization string = ""
d [27/Apr/2005:14:05:54 +0530] decode_auth() 5 username=""
d [27/Apr/2005:14:05:54 +0530] IsAuthorized: con->uri = "/"
d [27/Apr/2005:14:05:54 +0530] FindBest: uri = "/"...
d [27/Apr/2005:14:05:54 +0530] FindBest: Location /admin Limit 7f
d [27/Apr/2005:14:05:54 +0530] FindBest: Location / Limit 7f
d [27/Apr/2005:14:05:54 +0530] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [27/Apr/2005:14:05:54 +0530] FindBest: best = "/"

The printer deatils are missed in the error log file in which the printing is not working. Why the printer details are not read by cupsd when printing via LPR port from Windows. The following printing are working in both PCs
          1. Local printing (printer connect to both PCs locally)
          2. Browser based test page printing(http://localhost:631)
          3. SMB printing 
Only printing via LPR port from Windows machine (LPD printing) is not working. Kindly help me in this regards. 

With Thanks & Regards
K. Suresh 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20050429/d109e139/attachment-0001.html>


More information about the cups mailing list