TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Slackware Linux

WinXP Printer Server

Slackware Linux

 
 
Thread Tools Display Modes
Unread 09-01-2008, 03:00 AM   #1
Robert Rappaport
Guest
 
Posts: n/a
WinXP Printer Server

I use my Gateway Laptop at the office where they have a Win XP network.
There is an HP 720 C printer connected to a computer running Windows
XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
all my work with this setup. I can carry my laptop to the printer and
print directly but would like to print over the network if possible. I
have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
and added an smb:// network printer with lpadmin. I start samba at
boot. I added the winxp computer in my /etc/hosts file and set the
printer to share on the winxp computer. lpstat -p indicates that
printer is ready but when I try to print I get the following error
message in /var/log/cups/error_log - "No ticket cache found for
userid=0" and "Tree connect failed". I cant seem to find these error
messages in any documentation that I have. Can anyone give me any
suggestions.

Thanks

Bob
 
Unread 09-01-2008, 03:01 AM   #2
D Herring
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.


How's this?
http://ubuntuforums.org/archive/index.php/t-353654.html

For more links, search: samba ticket cache -kerberos

- Daniel
 
Unread 09-01-2008, 03:03 AM   #3
Joseph H. Rosevear
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport <paperbag@cox.net> wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.


> Thanks


> Bob


Bob,

I don't recognize your error message, but I have had experience doing
what you're trying to do. I found that I had good luck using the
command line. I was surprised at how long the needed command was.
This is what I used:

lpadmin -p lp1 -E \
-v smb://teacher:<password>@MYGROUP/10.66.210.49/ss1740 \
-m ML-1740spl2.ppd

In this lp1 is the CUPS printer name, teacher is the XP user name,
<password> is the login password for the XP user (don't type the < or
>), MYGROUP is the XP group name, 10.66.210.49 is the XP IP address,

ss1740 is the XP name for the shared printer and ML-1740spl2.ppd is the
name of the ppd file installed on the Linux box.

Some cautions:

I don't recall where the default locations are for ppd files. You can
put the ppd file in a default location (on the Linux box) and use just
the name of the file as I have done. Or I believe you can use the full
path name.

I believe the ppd file contains a line that refers to a printer driver.
You can open, read, and change the ppd file. You will need a suitable
printer driver on the Linux box, and the ppd file should correctly
refer to it.

I set up my Samba to use the same group name as in XP. I don't know if
that is needed.

You may wish to use the XP computer name instead of its IP address.
Good luck to you--I couldn't get that to work.

You apparently have CUPS setup. Good. However, I don't recognize this
line:

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

I'm wondering if you've wandered a bit off track here.

-Joe
 
Unread 09-01-2008, 03:06 AM   #4
Joseph H. Rosevear
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport <paperbag@cox.net> wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.


> Thanks


> Bob


Bob,

I don't recognize your error message, but I have had experience doing
what you're trying to do. I found that I had good luck using the
command line. I was surprised at how long the needed command was.
This is what I used:

lpadmin -p lp1 -E \
-v smb://teacher:<password>@MYGROUP/10.66.210.49/ss1740 \
-m ML-1740spl2.ppd

In this lp1 is the CUPS printer name, teacher is the XP user name,
<password> is the login password for the XP user (don't type the < or
>), MYGROUP is the XP group name, 10.66.210.49 is the XP IP address,

ss1740 is the XP name for the shared printer and ML-1740spl2.ppd is the
name of the ppd file installed on the Linux box.

Some cautions:

I don't recall where the default locations are for ppd files. You can
put the ppd file in a default location (on the Linux box) and use just
the name of the file as I have done. Or I believe you can use the full
path name.

I believe the ppd file contains a line that refers to a printer driver.
You can open, read, and change the ppd file. You will need a suitable
printer driver on the Linux box, and the ppd file should correctly
refer to it.

I set up my Samba to use the same group name as in XP. I don't know if
that is needed.

You may wish to use the XP computer name instead of its IP address.
Good luck to you--I couldn't get that to work.

You apparently have CUPS setup. Good. However, I don't recognize this
line:

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

I'm wondering if you've wandered a bit off track here.

-Joe
 
Unread 09-01-2008, 03:39 AM   #5
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
Unread 09-01-2008, 03:39 AM   #6
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
Unread 09-01-2008, 03:40 AM   #7
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
Unread 09-01-2008, 03:40 AM   #8
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
Unread 09-01-2008, 03:42 AM   #9
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
Unread 09-01-2008, 03:43 AM   #10
Robert Rappaport
Guest
 
Posts: n/a
Re: WinXP Printer Server

Robert Rappaport wrote:
> I use my Gateway Laptop at the office where they have a Win XP network.
> There is an HP 720 C printer connected to a computer running Windows
> XP. My laptop is running Slackware 10.2 with a 2.4.31 kernel and I do
> all my work with this setup. I can carry my laptop to the printer and
> print directly but would like to print over the network if possible. I
> have set up samba - ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> and added an smb:// network printer with lpadmin. I start samba at
> boot. I added the winxp computer in my /etc/hosts file and set the
> printer to share on the winxp computer. lpstat -p indicates that
> printer is ready but when I try to print I get the following error
> message in /var/log/cups/error_log - "No ticket cache found for
> userid=0" and "Tree connect failed". I cant seem to find these error
> messages in any documentation that I have. Can anyone give me any
> suggestions.
>
> Thanks
>
> Bob


The office was closed until today so I couldnt work on this solution
until this morning. It turns out that cups/samba requires that the
WinXP computer has to have a password which is placed in the lpadmin
printer configuration command. Ours WinXP did not have one but when one
was installed the printing worked. Thanks to all who responded. They
were all helpful.

Bob
 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 11:58 AM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional