Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2005 23:34:19 -0600
From:      Charles Howse <chowse@charter.net>
To:        questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting up a print-server
Message-ID:  <BFB7DBFB.3613%chowse@charter.net>
In-Reply-To: <20051203210009.W82432@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFB7DBFB.3613%chowse>