From owner-freebsd-questions Fri Oct 18 10:12:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93EC237B401 for ; Fri, 18 Oct 2002 10:12:16 -0700 (PDT) Received: from smtp.suscom.net (userweb.suscom.net [64.78.119.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB4043E7B for ; Fri, 18 Oct 2002 10:12:15 -0700 (PDT) (envelope-from cumquott@suscom.net) Received: from localhost (userweb.suscom.net [64.78.119.248]) by smtp.suscom.net (Postfix) with ESMTP id 13FBF11026A for ; Fri, 18 Oct 2002 13:12:10 -0400 (EDT) Received: from pop.suscom.net (pop.suscom.net [64.78.119.253]) by smtp.suscom.net (Postfix) with ESMTP id B8E9B11029F for ; Fri, 18 Oct 2002 13:12:09 -0400 (EDT) Received: from suscom.net (mailhost.suscom.net [127.0.0.1]) by pop.suscom.net (Postfix) with SMTP id 802E53A8019 for ; Fri, 18 Oct 2002 13:12:09 -0400 (EDT) Received: from 12.151.4.177 (SquirrelMail authenticated user cumquott) by webmail.suscom.net with HTTP; Fri, 18 Oct 2002 13:12:09 -0400 (EDT) Message-ID: <4403.12.151.4.177.1034961129.squirrel@webmail.suscom.net> Date: Fri, 18 Oct 2002 13:12:09 -0400 (EDT) Subject: LPD protocol screwup and ctl_renametf error From: "TheGlenMann" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Reply-To: cumquott@suscom.net X-Mailer: SquirrelMail (version 1.2.0 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all- I want to be able to print from Windows to LPD running on FreeBSD. I cannot get it to work (via the print test page option in Windows). In windows I have a printer HP LaserJet 6L, with the correct driver, using standard TCP/IP port 192.168.1.205 (where I have FreeBSD/LPD). The port is set as LPR and the Queue name is hp6LServ. The windows machine does communicate with LPD, but... On FreeBSD I run lpd -c -l -W, and `cat textfile | lpr -P hp6LServ' works fine. When I send the test page from Windows, though, I get these errors: Oct 18 12:45:33 ux-01 lpd[578]: lt_gmann.domain.com requests recvjob hp6LServ Oct 18 12:45:38 ux-01 lpd[578]: Error receiving job from lt_gmann.domain.com: Oct 18 12:45:38 ux-01 lpd[578]: protocol screwup: ^[%-12345X@PJL SET PAGEPROTECT=AUTO Oct 18 12:45:40 ux-01 lpd[579]: lt_gmann.domain.com requests recvjob hp6LServ Oct 18 12:45:40 ux-01 lpd[579]: Error receiving job from lt_gmann.domain.com: Oct 18 12:45:40 ux-01 lpd[579]: hp6LServ: ctl_renametf error link (rfA014lt_gmann.domain.com,cfA014lt_gmann.domain.com): File exists When I look in /var/spool/output/hp6LServ, yep, there are the files, though they are small, containing only the H, P, J, l, U, and N lpd lines: Docs on the subtleties on LPD seem to be in short supply. It looks like the PAGEPROTECT thing breaks the whole system, then the cannot rename seems to be Windows trying again to send the file... How can I determine what is wrong? I suspect that permissions are preventing transfer of the actual print file (given on the l line), as I cannot find it on the system. Thanks... -Glen Mann -- "I may not have had enough of me, but I've had enough of you." Robert Fripp, Exposure -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message