From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 05:34:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3052416A41F for ; Sun, 4 Dec 2005 05:34:33 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxsf19.cluster1.charter.net (mxsf19.cluster1.charter.net [209.225.28.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id B27B143D5D for ; Sun, 4 Dec 2005 05:34:32 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxip02a.cluster1.charter.net (mxip02a.cluster1.charter.net [209.225.28.132]) by mxsf19.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id jB45YVc4010832 for ; Sun, 4 Dec 2005 00:34:31 -0500 Received: from unknown (HELO [192.168.254.3]) ([24.176.115.13]) by mxip02a.cluster1.charter.net with ESMTP; 04 Dec 2005 00:34:31 -0500 X-IronPort-AV: i="3.99,210,1131339600"; d="scan'208"; a="1677146297:sNHT16438818" User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Sat, 03 Dec 2005 23:34:19 -0600 From: Charles Howse To: questions Message-ID: Thread-Topic: Setting up a print-server Thread-Index: AcX4lF9wnjakKGSHEdqZRwARJH5tYg== In-Reply-To: <20051203210009.W82432@wonkity.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: Setting up a print-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 05:34:33 -0000 > On Sat, 3 Dec 2005, Charles Howse wrote: > >> I now have the both printers set up and can print to them from FreeBSD. >> Problem is, I can't print to them from the Mac. >> >> The error is always, "Printer HP1100 is busy, trying again in 30 seconds." >> I take that to mean the server isn't responding. >> >> Is there a command I can run from the Mac that will tell me if the FreeBSD >> box is accepting connections to the printers? >> >> Might there be something I haven't enabled on FreeBSD to allow me to print >> across the network? > > Do you have the Mac's hostname or IP address in /etc/hosts.lpd? Warren, I do now, no joy. Kent, The Mac is using CUPS to print. Below is an excerpt from /private/var/log/cups/error_log. I had to set the log level to 'debug' to get this. ... I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 96% I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 97% I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 98% I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 99% D [03/Dec/2005:22:30:25 -0600] [Job 17] cgpdftoraster: bytes written for sheet 1 = 7680000 D [03/Dec/2005:22:30:25 -0600] PID 215 exited with no errors. I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 100% I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Finished page 1... D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print ending job D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print printed total 30669 bytes I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Ready to print. D [03/Dec/2005:22:30:25 -0600] PID 216 exited with no errors. I [03/Dec/2005:22:30:25 -0600] [Job 17] Attempting to connect to host moe for printer HP1100 I [03/Dec/2005:22:30:25 -0600] [Job 17] Connected to moe... D [03/Dec/2005:22:30:25 -0600] [Job 17] Connected on ports 515 (local 1013)... D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command 02 HP1100 D [03/Dec/2005:22:30:25 -0600] [Job 17] Sending command string (8 bytes)... D [03/Dec/2005:22:30:25 -0600] [Job 17] Reading command status... E [03/Dec/2005:22:30:25 -0600] PID 217 stopped with status 1! D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command returning 108 D [03/Dec/2005:22:30:25 -0600] UpdateJob: job 17, file 0 is complete. D [03/Dec/2005:22:30:25 -0600] StopJob: id = 17, force = 0 I [03/Dec/2005:22:30:25 -0600] Saving printers.conf... .... Notice the "E" line: PID 217 stopped with status 1! And the next line: [Job 17] lpd_command returning 108 Don't get too excited, though. I still don't know what to tell the printer setup utility in OS X. I've tried IP Printing, and LPD printing, with no joy. I've told lpd on the FreeBSD box to use "-W" (accept connections on any port), cause the Mac is trying to connect on port 631. I'M SO CONFUSED!! SOMEBODY GIVE ME A D-LINK DP-300U FOR CHRISTMAS!! http://www.dlink.com/products/?sec=0&pid=166