Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] print to printer on winxp via cups samba smb
Date: Wed, 13 Sep 2006 17:35:00
Message-Id: 87lkonvh18.fsf@newsguy.com
1 I need some help getting printing to work from my gentoo machine to an
2 HP 7410xi (one of those multi-function jobs).
3
4 No one is responding to a similar query on the cups list. So bringing
5 it here although it may be a little off topic.
6
7 The printer works from windows but not from gentoo through cups. What
8 is kind of baffling me is that the logs don't really show a clear
9 error and in fact appear to be saying that the print job was
10 successful, but nothing comes out of the printer.
11
12 My /etc/cups/printers.conf uses an smb:// addressing (xx'ed out in
13 this post):
14
15 <DefaultPrinter chub-print>
16 Info chub-print
17 Location chub
18 DeviceURI smb://reader:xxxxxxx@chub/chub-print)
19 State Stopped
20 StateMessage /usr/libexec/cups/backend/smb failed
21 StateTime 1157936264
22 Accepting Yes
23 Shared Yes
24 JobSheets none none
25 QuotaPeriod 0
26 PageLimit 0
27 KLimit 0
28 OpPolicy default
29 ErrorPolicy stop-printer
30 </Printer>
31
32
33 Log level in cupsd.conf is set to debug ... here is the error_log
34 output from one print attempt where user reader calls:
35
36 lp file
37 request id is chub-print-18 (1 file(s))
38
39 The only thing that looks like it might indicate an error is the line
40 saying:
41 cupsdAuthorize: No authentication data provided.
42
43 28 lines from error_log produced by above print attempt:
44 ===================================
45 D [13/Sep/2006:11:53:26 -0500] cupsdAcceptClient: 5 from localhost:631 (IPv4)
46 D [13/Sep/2006:11:53:26 -0500] cupsdReadClient: 5 POST / HTTP/1.1
47 D [13/Sep/2006:11:53:26 -0500] cupsdAuthorize: No authentication data provided.
48 D [13/Sep/2006:11:53:26 -0500] CUPS-Get-Printers
49 D [13/Sep/2006:11:53:26 -0500] cupsdProcessIPPRequest: 5 status_code=0 (successful-ok)
50 D [13/Sep/2006:11:53:26 -0500] cupsdReadClient: 5 POST / HTTP/1.1
51 D [13/Sep/2006:11:53:26 -0500] cupsdAuthorize: No authentication data provided.
52 D [13/Sep/2006:11:53:26 -0500] CUPS-Get-Classes
53 D [13/Sep/2006:11:53:26 -0500] cupsdProcessIPPRequest: 5 status_code=0 (successful-ok)
54 D [13/Sep/2006:11:53:26 -0500] cupsdReadClient: 5 POST / HTTP/1.1
55 D [13/Sep/2006:11:53:26 -0500] cupsdAuthorize: No authentication data provided.
56 D [13/Sep/2006:11:53:26 -0500] CUPS-Get-Default
57 D [13/Sep/2006:11:53:26 -0500] cupsdProcessIPPRequest: 5 status_code=0 (successful-ok)
58 D [13/Sep/2006:11:53:26 -0500] cupsdCloseClient: 5
59 D [13/Sep/2006:11:53:26 -0500] cupsdAcceptClient: 5 from localhost:631 (IPv4)
60 D [13/Sep/2006:11:53:26 -0500] cupsdReadClient: 5 POST /printers/chub-print HTTP/1.1
61 D [13/Sep/2006:11:53:26 -0500] cupsdAuthorize: No authentication data provided.
62 D [13/Sep/2006:11:53:26 -0500] Print-Job ipp://localhost/printers/chub-print
63 D [13/Sep/2006:11:53:26 -0500] print_job: auto-typing file...
64 D [13/Sep/2006:11:53:26 -0500] print_job: request file type is text/plain.
65 D [13/Sep/2006:11:53:26 -0500] add_job: requesting-user-name="reader"
66 I [13/Sep/2006:11:53:26 -0500] Adding start banner page "none" to job 18.
67 D [13/Sep/2006:11:53:26 -0500] Discarding unused job-created event...
68 I [13/Sep/2006:11:53:26 -0500] Adding end banner page "none" to job 18.
69 I [13/Sep/2006:11:53:26 -0500] Job 18 queued on "chub-print" by "reader".
70 D [13/Sep/2006:11:53:26 -0500] Job 18 hold_until = 0
71 D [13/Sep/2006:11:53:26 -0500] cupsdProcessIPPRequest: 5 status_code=0 (successful-ok)
72 D [13/Sep/2006:11:53:26 -0500] cupsdCloseClient: 5
73
74
75 --
76 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] print to printer on winxp via cups samba smb Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] [OT] print to printer on winxp via cups samba smb Richard Fish <bigfish@××××××××××.org>