public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: reader@newsguy.com
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: [OT] print to printer on winxp via cups samba smb
Date: Fri, 15 Sep 2006 12:56:21 -0500	[thread overview]
Message-ID: <871wqdui7u.fsf@newsguy.com> (raw)
In-Reply-To: 7573e9640609150955s75ef9554g20bf0f9474c2c797@mail.gmail.com

"Richard Fish" <bigfish@asmallpond.org> writes:

> On 9/15/06, reader@newsguy.com <reader@newsguy.com> wrote:
>>  ls -l /usr/libexec/cups/backend/smb
>> lrwxrwxrwx [...] /usr/libexec/cups/backend/smb -> /usr/bin/smbspool
>
> Ok.  Are you specifying a ServerBin directory in /etc/cups/cupsd.conf?
> It should point to /usr/libexec/cups if you are.

No.  That stuff is commented out.
    grep 'ServerBin' /etc/cups/cupsd.conf
  # ServerBin: the root directory for the scheduler executables.
  #ServerBin /usr/lib/cups
So that should default to the right place right?

>
> Also, I hope you fixed the bug in the script that I posted....the call
> to /usr/bin/smbspool should of course be for smbspool.bin. :-(

Egad, no I missed that.

contents of smb* files below.  There were two.  I've printed the first
one below.  The second one is identicle except for the first line
which is shown in a diff at the end.

But it appears the main thing of note is this line:
  cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
Which appears to show that cups is trying to connect 0.0.0.0 which is
usally interpreted as localhost I think.  Is that wrong or indicating
some config problem further up the chain of command? 

/tmp/smb.32258
 
/usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:\
662a44c4-890f-32b0-7d15-3bb4b60e7fe1::
IPP_PORT=631
TMPDIR=/var/spool/cups/tmp
CUPS_FONTPATH=/usr/share/cups/fonts
CUPS_DOCROOT=/usr/share/cups/docs
USER=root
CUPS_SERVERROOT=/etc/cups
SOFTWARE=CUPS/1.2.3
CUPS_CACHEDIR=/var/cache/cups
DEVICE_URI=smb://reader:XXXXXXX@chub/chub-print)
PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin
CUPS_REQUESTROOT=/var/spool/cups
PWD=/
SERVER_ADMIN=root@reader.local.lan
PPD=/etc/cups/ppd/chub-print.ppd
LANG=en_US
CUPS_ENCRYPTION=IfRequested
SHLVL=1
CUPS_DATADIR=/usr/share/cups
PRINTER=chub-print
FINAL_CONTENT_TYPE=printer/chub-print
RIP_MAX_CACHE=8m
CONTENT_TYPE=text/plain
CUPS_SERVER=localhost
CHARSET=utf-8
CUPS_STATEDIR=/var/run/cups
CUPS_SERVERBIN=/usr/libexec/cups
_=/usr/bin/env
WARNING: The "printer admin" option is deprecated
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)

============================================================
# diff smbspool.32258 smbspool.32277
1c1
< /usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:662a44c4-890f-32b0-7d15-3bb4b60e7fe1::

> /usr/libexec/cups/backend/smb:46:reader:file:1:job-uuid=urn:uuid:a13fa658-6d11-3e1b-5ab2-ce62f968dc26::

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-09-15 18:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13 16:59 [gentoo-user] [OT] print to printer on winxp via cups samba smb reader
2006-09-13 20:04 ` Mick
2006-09-14  0:37   ` [gentoo-user] " reader
2006-09-13 20:18 ` [gentoo-user] " Richard Fish
2006-09-14  1:10   ` [gentoo-user] " reader
2006-09-14  1:55     ` Richard Fish
     [not found]       ` <87y7snqifr.fsf@newsguy.com>
2006-09-14  4:27         ` Richard Fish
     [not found]           ` <87ac52k3o1.fsf@newsguy.com>
2006-09-14 13:56             ` reader
2006-09-15  7:40             ` Richard Fish
2006-09-15 13:52               ` reader
2006-09-15 16:55                 ` Richard Fish
2006-09-15 17:56                   ` reader [this message]
2006-09-15 23:57                     ` Richard Fish
2006-09-17  2:09                       ` reader
2006-09-17  4:27                         ` Richard Fish
2006-09-17 11:44                           ` reader
2006-09-17 15:21                             ` Richard Fish
2006-09-18 17:12                               ` reader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wqdui7u.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox