Vaughn Treude wrote:
> Hello folks:
>
> I'm trying to get CUPS printing working on a Mandrake 8 system. I'm
> attempting to print to an HP deskjet on a Windows 98 system. For some
> reason, I can't seem to get it configured right. Mandrake's GUI control
> center has a bug that allows me to add a network printer but not configure it
> (it doesn't accept any keystrokes into any of the fields.) So I tried it
> manually.
>
> Here's printers.conf:
> Printer configuration file for CUPS v1.1.7
> # Written by cupsd on Fri Sep 24 13:47:22 2004
> <DefaultPrinter HP>
> Location
> DeviceURI smb://pamela:<password>@pamela/HP
> State Idle
> Accepting Yes
> JobSheets none none
> </Printer>
> <Printer lp>
> Location
> DeviceURI parallel:/dev/lp0
> State Idle
> Accepting Yes
> JobSheets none none
> </Printer>
>
> (I had a local printer option because I had a printer there that failed;
> perhaps I should remove the entry.)
> And here's the Security Options section of cupsd.conf:
> <Location />
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 192.168.1.*
> Allow From 192.168.0.*
> </Location>
>
> Looks like it should work. The cups error_log file shows that it does indeed
> TRY to print somesting, but that the backend fails with Status 2 (whatever
> that is.) One of the puzzlers is the mention of the file foomatic-rip, which
> does not exist on my system. Why didn't that get installed with cups? Was
> HP supposed to supply that? Or is it supposed to be set to some other filter
> file. In the /usr/lib/cups/filter directory, there is a file called
> hpgltops, maybe that's the one the system should be using. Here's the
> error_log output:
>
> D [19/Oct/2004:03:00:32 -0700] StartJob: filter =
> "/usr/lib/cups/filter/foomatic-rip"
> D [19/Oct/2004:03:00:32 -0700] StartJob: filterfds[1] = 8, 11
> D [19/Oct/2004:03:00:32 -0700]
> start_process("/usr/lib/cups/filter/foomatic-rip", bfff7430, bfff28e0, 9, 11,
> 7)
> I [19/Oct/2004:03:00:32 -0700] Started filter
> /usr/lib/cups/filter/foomatic-rip (PID 28566) for job 18.
> D [19/Oct/2004:03:00:32 -0700] StartJob: backend = "/usr/lib/cups/backend/smb"
> D [19/Oct/2004:03:00:32 -0700] StartJob: filterfds[0] = -1, 9
> D [19/Oct/2004:03:00:32 -0700] start_process("/usr/lib/cups/backend/smb",
> bfff7430, bfff28e0, 8, 9, 7)
> I [19/Oct/2004:03:00:32 -0700] Started backend /usr/lib/cups/backend/smb (PID
> 28567) for job 18.
> E [19/Oct/2004:03:00:32 -0700] PID 28566 stopped with status 2!
> D [19/Oct/2004:03:00:32 -0700] Page = 612x792; 18,36 to 594,783
> D [19/Oct/2004:03:00:32 -0700] pw = 576.0, pl = 747.0
> D [19/Oct/2004:03:00:32 -0700] PageLeft = 18.0, PageRight = 594.0
> D [19/Oct/2004:03:00:32 -0700] PageTop = 783.0, PageBottom = 36.0
> D [19/Oct/2004:03:00:32 -0700] PageWidth = 612.0, PageLength = 792.0
> D [19/Oct/2004:03:00:32 -0700] /usr/lib/cups/filter/foomatic-rip: No such
> file or directory
> D [19/Oct/2004:03:00:32 -0700] pw = 576.0, pl = 747.0
> D [19/Oct/2004:03:00:32 -0700] PageLeft = 18.0, PageRight = 594.0
> D [19/Oct/2004:03:00:32 -0700] PageTop = 783.0, PageBottom = 36.0
> D [19/Oct/2004:03:00:32 -0700] PageWidth = 612.0, PageLength = 792.0
> D [19/Oct/2004:03:00:32 -0700] CloseClient() 4
> D [19/Oct/2004:03:00:32 -0700] D [19/Oct/2004:03:00:32 -0700] UpdateJob: job
> 18, file 0 is complete.
> D [19/Oct/2004:03:00:32 -0700] CancelJob: id = 18
> D [19/Oct/2004:03:00:32 -0700] StopJob: id = 18
> D [19/Oct/2004:03:00:32 -0700] StopJob: printer state is 3
> D [19/Oct/2004:03:00:45 -0700] NFO: Parallel port busy; will retry in 30
> seconds...
> D [19/Oct/2004:03:00:45 -0700] mallinfo: arena = 1841504, used = 1205088,
> free = 636416
>
> Note that after it gives up on the samba printer it tries to print to the
> parallel port - there's no printer there, so I'm not surprised that it's busy.
>
> Any suggestions?
> Thanks!
> Vaughn
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
I don't know off hand.
There's a very good description of cups/samba printing at
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html
It's a good read just for learning cups, whether you're using samba or not.
--
-Eric 'shubes'
"There is no such thing as the People;
it is a collectivist myth.
There are only individual citizens
with individual wills
and individual purposes."
-William E. Simon (1927-2000),
Secretary of the Treasury (1974-1977)
"A Time For Truth" (1978), pg. 237
****************************************************
This message has been scanned using Contraxx
Technology Group mail server v2.3 and is virus free.
****************************************************
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss