Re: Printing from SuSe Linux to WindowsXP print Server

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Marshall Paul
Date:  
To: plug-discuss
Subject: Re: Printing from SuSe Linux to WindowsXP print Server
Eric,

I fixed it. I can now print from my Linux box to my
windows box. The problem was with the uri
specification. The documentation format seems to
shows "smb://workgroup/server/share_name"
The problem was with the server name. If the
workgroup was MSHOME and the server name was Wonda and
the share name was HP then I expected the uri to be
"smb://MSHOME/Wonda/HP"; silly me. What was required
was a server name of "user_name@server_name". The
user_name could be anything because it is ignored;
'""' (double quotes works just as well). So the uri
could be "smb://MSHOME/anything@Wonda/HP" or
"smb://MSHOME/""@Wonda/HP"; Both works fine.
This entry is in the etc/cups/printers.conf file as
DeviceURI.

I configured this using the http://localhost/631 GUI
utility. The problem was not aided by the fact that
the utility printer configuration page does not fully
update properly and shows error messages from previous
actions. These error messages only update properly
after the utility is closed and reopended. So some of
the error messages I was reporting were misleading.
It showed an error even when I triped on the correct
configuration. The test page started printing while
still showing connection failures.

I don't understand all of the components involved in
samba and cups. Their are so many configuration files
and spoolers, etc. I am sure that I could make it
work better, if I were smarter. However, at least for
now I can print. One tiny step forward. Thanks one
and all especially Eric for your attemp to help me. I
appreciate the moral support.

Marshall

--- Marshall Paul <> wrote:

>
> Eric,
>
> 1. OS = Windows XP Pro
> 2. Network = Perr to Peer work groups
> 3. "echo | smbclient" = found during research; my
> dreaming abilities are limited.
> 4. Linux experience = limited. I have a masters
> degree in computer information systems. This is my
> first Linux box. I was able to get file sharing
> working. I have a bare minimum apache system up and
> running. I host my own web and ftp site on windows.
>
> I am moving the web part to the linux box. I am able
> to have remote users log on the Linux box when
> necessary. My internal network has three direct
> connect boxes though a linksys switch and one
> wireless
> laptop. All are window boxes except the one linux
> box. I can use emacs and vi as editors; and others.
> However, beyond the meager basic I am very green. I
> live in Glendale close to 67th Ave. and Cactus
> Samba Version = SMB/CIFS File Server 2.2.8a
> Printing system = Was trying CUPS
> So far = Tried a lot of things, mostly mucking
> around.
>
> Marshall
>
>
>
> --- "Eric \"Shubes\"" <> wrote:
>
> > Marshall,
> > I'm no expert, but let's see what we can do
> anywise.
> > ;)
> >
> > I've no experience with SuSE (yet), so please bear
> > with me. YaST may be
> > a great tool, but I think we may need to go "under
> > the covers" (meaning
> > CLI) to get you going. Your "echo | smbclient"
> > command is a good start.
> > Is that something you found somewhere, or did you
> > dream it up yourself?
> > IOW, how much linux experience do you have?
> Knowing
> > that will help me
> > formulate questions that will help lead to the
> > solution.
> >
> > Samba's apparently working ok. What version are
> you
> > running?
> > Is your XP version Home or Pro?
> > Is your XP system setup for domain logins or
> simple
> > peer to peer?
> > (These questions may not be relevant, but I'm
> > curious)
> >
> > I'm guessing at this point that the problem is
> > within the linux printing
> > subsystem. Which one are you using (lpr or cups)?
> > What have you done (so
> > far) to define/configure the printer queue?
> >
> > That should get us going toward a solution. Let me
> > know the answers and
> > we can go from there.
> >
> > Marshall Paul wrote:
> > > I appreciate your help. The link did not help
> me
> > > resolve the problem. There seems to be some
> sort
> > of
> > > trust relationship problem that is not easily
> > > resolved. I can easily talk to the printer
> > utilizing
> > > the following:
> > > echo -en "\rHello\r\f" | smbclient
> "//hostname/HP"
> > ""
> > > -c 'print -' -N -U "mbp" && echo || echo "error"
> > > So there is a lot working, but the net step
> seems
> > to
> > > elude me.
> > >
> > > Marshall
> > >
> > > --- "Eric \"Shubes\"" <> wrote:
> > >
> > >
> > >>Marshall Paul wrote:
> > >>
> > >>>I cannot seem to configure the ability to print
> > >>
> > >>from
> > >>
> > >>>my Linux system to my HP Laserjet 1200 printer
> > >>
> > >>located
> > >>
> > >>>on my windows box. I could buy a print server
> > and
> > >>
> > >>try
> > >>
> > >>>to print directly to the network but I would
> > >>
> > >>rather
> > >>
> > >>>not under go the expense.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>Utilizing YaST I get the following error:
> > >>>
> > >>>
> > >>>
> > >>>"There was a problem
> > >>>
> > >>>
> > >>>
> > >>>You specified an invalid queue name on the
> > printer
> > >>>server, the
> > >>>
> > >>>printer server does not accept print jobs, or
> the
> > >>>queue on the printer
> > >>>
> > >>>server does not accept print jobs.
> > >>>
> > >>>
> > >>>
> > >>>Return from remote server
> > >>>
> > >>>ping 192.168.1.150 ( 192.168.1.150) 56(84)
> bytes
> > >>
> > >>of
> > >>
> > >>>data
> > >>>
> > >>>64 bytes from 192.168.1.150: icmp_seq=1 ttl=128
> > >>>time=0.345 ms
> > >>>
> > >>>
> > >>>
> > >>>-192.168.1.150 statistics-
> > >>>
> > >>>1 packets transmitted, 1 received, o% packet
> > loss,
> > >>>time O ms
> > >>>
> > >>>rtt min/avg/max/mdev=0.345/0.345/0.345/0.00 ms
> > >>>
> > >>>added interface ip=192.168.1.140
> > >>
> > >>bcast=192.168.1.255
> > >>
> > >>>nmask 255.255.255.0
> > >>>
> > >>>Connection to MSHOME Failed."
> > >>>
> > >>>
> > >>>
> > >>>The printer is on my Windows XP Pro box
> > >>
> > >>192.168.1.150
> > >>
> > >>>Network is HSHOME
> > >>>
> > >>>I am using SAMBA
> > >>>
> > >>>Printer configuration under Linux is SMB
> > >>>
> > >>>
> > >>>
> > >>>Marshall
> > >>
> > >>Marshall,
> > >>I don't have a definitive answer, but check out
> > >>
> > >
> > >
> >
>

http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id2569194
> > >
> > >>If you need any further assistence I'd be glad
> to
> > >>help you out.
> > >>
> > >>--
> > >>-Eric 'shubes'
>

=== message truncated ===



        
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss