From owner-freebsd-questions Thu Oct 10 15:25:21 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 9B0D437B404 for ; Thu, 10 Oct 2002 15:25:19 -0700 (PDT) Received: from mail.simrad.no (mail.simrad.no [193.69.73.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D8AF43ECD for ; Thu, 10 Oct 2002 15:25:18 -0700 (PDT) (envelope-from chip.wiegand@simrad.com) To: freebsd-questions@freebsd.org Subject: A problem with printing from NT to FBSD MIME-Version: 1.0 Sensitivity: X-Mailer: Lotus Notes Build V60_M14_08012002NP Release Candidate August 01, 2002 Message-ID: From: chip.wiegand@simrad.com Date: Thu, 10 Oct 2002 15:21:47 -0700 X-MIMETrack: Serialize by Router on S_INET01/S_EXT(Release 5.0.11 |July 24, 2002) at 11.10.2002 00:25:26, Serialize complete at 11.10.2002 00:25:26 Content-Type: text/plain; charset="US-ASCII" 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 I have a fbsd-4.5 box acting as a print server for some NT servers and one NT workstation. I am having problems printing. I was able to print one page after a reboot, then the subsequent pages all failed. On the NT boxes in the printer window when a job fails it shows Printing - printer busy or error I check the queue on the fbsd box with lpc stat all and it is empty, and the printer and queue are enabled and ready. I got this message on the console after trying a print job of just one page - lpd[688]: lp: readfile: error on open(tfA101cwiegand.simdom): file exists The tail of lpd-errs looks like this - Oct 10 14:39:29 cwiegand2 lpd[1171]: lp: unable to open dfA390SIMRAD_0 ('l' line) Oct 10 14:39:29 cwiegand2 lpd[1171]: lp: job could not be printed (cfA390simrad_0.simdom) Oct 10 14:39:33 cwiegand2 lpd[1173]: lp: unable to open dfA468SIMRAD_0 ('l' line) Oct 10 14:39:33 cwiegand2 lpd[1173]: lp: job could not be printed (cfA468simrad_0.simdom) Oct 10 14:39:37 cwiegand2 lpd[1174]: lp: unable to open dfA546SIMRAD_0 ('l' line) Oct 10 14:39:37 cwiegand2 lpd[1174]: lp: job could not be printed (cfA546simrad_0.simdom) Oct 10 14:39:41 cwiegand2 lpd[1175]: lp: unable to open dfA625SIMRAD_0 ('l' line) Oct 10 14:39:41 cwiegand2 lpd[1175]: lp: job could not be printed (cfA625simrad_0.simdom) Oct 10 14:39:45 cwiegand2 lpd[1176]: lp: unable to open dfA703SIMRAD_0 ('l' line) Oct 10 14:39:45 cwiegand2 lpd[1176]: lp: job could not be printed (cfA703simrad_0.simdom) Here's my printcap - lp|hp|952C|HP952C:\ :sh:\ :sd=/var/spool/lpd/hp:\ :lp=/dev/lpt0:\ :mx#0:\ :if=/usr/local/libexec/if-simple: Here's the if-simple file - #!/bin/sh printf "\033&k2G" && cat && printf "\033&l0H" && exit 0 exit 2 I hope someone can help with this (I'd hate to have to move the printer to the NT workstation). Regards, -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com chip.wiegand@simrad.com "There is no reason anyone would want a computer in their home." --Ken Olson, president, chairman and founder of Digital Equipment Corporation, 1977 (They why do I have 9? Somebody help me!) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message