I've setup Slackware system for a CUPS printshare via SAMBA as well as a SAMBA file share for my Apple System. This is my first time setting up CUPS and SAMBA
For CUPS setup:
CUPS is listening on default port 631. I've uncommented the octet-strem from mime.types and mime.convs. I've also cd
<Location />
AuthType None
Order Deny,Allow
Deny from None
Allow from All
</Location>
My LAN is on a 192.168.1.x subnet
the <Location /admin> has the same entry below. I don't know if both are needed.
Here is the /etc/printcap content:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
laserjet5p|laserjet5p:rm=192.168.1.58:rp=laserjet5p:
SAMBA runs properly. I can copy and delete files from within OS X. CUPS remains a problem.
Hosts.allow has
# (my Mac's LAN IP)
192.168.1.15
#The router
192.168.1.1
Hosts.deny has:
ALL:PARANOID
I had some entries in /var/log/cups about not finding the host name earlier (which I've fixed). The problem is that since then, I don't get any error messages. When I seutp OSX printing, I seutp 192.168.1.15 using Ghostscript (as it showed up in the options). <b>It seems to be finding the printer, but I'm not getting any output! </b>
This was the initial problem and I fixed it in /etc/hosts (I didn't but a dummy domain in)
E [13/Jun/2005:15:01:39 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure
This error is an attempt on my part to print from the command line, no LEDs flashed on the printer.
E [13/Jun/2005:15:29:08 -0500] print_job: resource name '/printers/cupsTonerSave=True' no good!
E [13/Jun/2005:15:29:33 -0500] print_job: resource name '/printers/hplj4' no good!
/var/log/cups/error_log:
Code:
I [13/Jun/2005:12:47:28 -0500] Listening to 0:631
I [13/Jun/2005:12:47:28 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:12:47:28 -0500] Configured for up to 100 clients.
I [13/Jun/2005:12:47:28 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:12:47:28 -0500] Full reload is required.
I [13/Jun/2005:12:47:33 -0500] LoadPPDs: Wrote "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:12:47:33 -0500] Full reload complete.
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p device-uri to "parallel:/dev/lp0" (was "file:/dev/null".)
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] New printer 'laserjet5p' added by 'root'.
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p printer-is-accepting-jobs to 1 (was 0.)
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p printer-state to 3 (was 5.)
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] Printer 'laserjet5p' modified by 'root'.
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] Printer 'laserjet5p' modified by 'root'.
I [13/Jun/2005:14:43:41 -0500] Listening to 0:631
I [13/Jun/2005:14:43:41 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:14:43:41 -0500] Configured for up to 100 clients.
I [13/Jun/2005:14:43:41 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:14:43:41 -0500] Full reload is required.
I [13/Jun/2005:14:43:43 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:14:43:43 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:14:43:43 -0500] Full reload complete.
I [13/Jun/2005:14:49:04 -0500] Listening to 0:631
I [13/Jun/2005:14:49:04 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:14:49:04 -0500] Configured for up to 100 clients.
I [13/Jun/2005:14:49:04 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:14:49:04 -0500] Full reload is required.
I [13/Jun/2005:14:49:07 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:14:49:07 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:14:49:07 -0500] Full reload complete.
I [13/Jun/2005:15:01:36 -0500] Listening to 0:631
I [13/Jun/2005:15:01:36 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:01:36 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:01:36 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:01:36 -0500] Full reload is required.
I [13/Jun/2005:15:01:39 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:01:39 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:01:39 -0500] Full reload complete.
E [13/Jun/2005:15:01:39 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure
I [13/Jun/2005:15:07:58 -0500] Listening to 0:631
I [13/Jun/2005:15:07:58 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:07:58 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:07:58 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:07:58 -0500] Full reload is required.
I [13/Jun/2005:15:08:00 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:08:00 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:08:00 -0500] Full reload complete.
E [13/Jun/2005:15:08:00 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure
I [13/Jun/2005:15:24:13 -0500] Listening to 0:631
I [13/Jun/2005:15:24:13 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:24:13 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:24:13 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:24:13 -0500] Full reload is required.
I [13/Jun/2005:15:24:16 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:24:16 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:24:16 -0500] Full reload complete.
E [13/Jun/2005:15:24:25 -0500] get_printer_attrs: resource name '/' no good!
E [13/Jun/2005:15:24:47 -0500] get_printer_attrs: resource name '/' no good!
E [13/Jun/2005:15:29:08 -0500] print_job: resource name '/printers/cupsTonerSave=True' no good!
E [13/Jun/2005:15:29:33 -0500] print_job: resource name '/printers/hplj4' no good!
I [13/Jun/2005:15:30:11 -0500] Adding start banner page "none" to job 1.
I [13/Jun/2005:15:30:11 -0500] Adding end banner page "none" to job 1.
I [13/Jun/2005:15:30:11 -0500] Job 1 queued on 'laserjet5p' by 'root'.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/pstops (PID 18685) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/pstoraster (PID 18686) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/rastertohp (PID 18687) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started backend /usr/lib/cups/backend/parallel (PID 18688) for job 1.
E [13/Jun/2005:15:30:11 -0500] [Job 1] No pages found!
E [13/Jun/2005:15:30:11 -0500] PID 18687 stopped with status 1!
I [13/Jun/2005:15:30:11 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
E [13/Jun/2005:15:30:11 -0500] PID 18686 stopped with status 127!
I [13/Jun/2005:15:30:11 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
I [13/Jun/2005:15:37:00 -0500] Scheduler shutting down normally.
I [13/Jun/2005:15:40:07 -0500] Listening to 0:631
I [13/Jun/2005:15:40:07 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:40:07 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:40:07 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:40:07 -0500] Full reload is required.
I [13/Jun/2005:15:40:10 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:40:10 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:40:10 -0500] Full reload complete.
I [13/Jun/2005:15:42:00 -0500] Listening to 0:631
I [13/Jun/2005:15:42:00 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:42:00 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:42:00 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:42:00 -0500] Full reload is required.
I [13/Jun/2005:15:42:02 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:42:02 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:42:02 -0500] Full reload complete.
E [13/Jun/2005:15:50:04 -0500] get_printer_attrs: resource name '/' no good!
I'm all out of ideas. Please help me.
Thank you!