Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't print through CUPS from Linux to Windows XP printer

Reply
Thread Tools Display Modes

Can't print through CUPS from Linux to Windows XP printer

 
 
d
Guest
Posts: n/a

 
      08-02-2006, 05:10 AM
On the laptop: FC5, CUPS, and Samba
On the desktop: Windows XP, HP OJ 4110 printer

At the laptop I installed the printing successfully (well it appears
that way)
I attempt to print a test page and the printer makes sound as though it
queued up the job but nothing ever prints. When I look at the status
from the CUPS admin page on the laptop it says the job was completed.

I receive these errors in the samba log file:
---------------------------
2006/08/02 00:45:04, 0] smbd/server.c:main(847)
smbd version 3.0.23a-1.fc5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/08/02 00:45:04, 0]
printing/printing_db.c:get_print_db_byname(111)
get_print_db: Failed to open printer backend database
/var/cache/samba/printing/</Printer>.tdb.
[2006/08/02 00:54:40, 0] lib/util_sock.c:get_peer_addr(1229)
getpeername failed. Error was Transport endpoint is not connected


Below is my smb.conf:
------------------

[global]

workgroup = LANSYS

server string = linux

security = user

hosts allow = 192.168.0. 127.

load printers = yes

printcap name = /etc/cups/printers.conf

; printcap name = lpstat

printing = cups

cups options = raw

; guest account = pcguest

log file = /var/log/samba/%m.log

max log size = 50

; password server = <NT-Server-Name>


; realm = MY_REALM

; passdb backend = tdbsam

; include = /usr/local/samba/lib/smb.conf.%m


; interfaces = 192.168.12.2/24 192.168.13.2/24

local master = no

; os level = 33

domain master = no

preferred master = no

; domain logons = yes


; wins support = yes

#===== Share Definitions =
[homes]
comment = Home Directories
browseable = no
writable = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = yes
printable = yes

# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

 
Reply With Quote
 
 
 
 
left_coast
Guest
Posts: n/a

 
      08-02-2006, 05:26 AM
d wrote:

> printcap name = /etc/cups/printers.conf


Well, in my working mandrake system, I use (among other things)

printcap name = cups
load printers = yes

# cups options = raw <= Not used .

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700





--
Still waiting for a rational answer from Bittwister to this:
<nfqlo3-(E-Mail Removed)>.
 
Reply With Quote
 
left_coast
Guest
Posts: n/a

 
      08-02-2006, 05:39 AM
left_coast wrote:

> d wrote:
>
>> printcap name = /etc/cups/printers.conf

>



I missread the direction you were printing. The printer section in smb.conf
is for setting up Linux as a server. It will not help in setting up Linux
to print to windows.

Perhaps this will help:

http://myy.helia.fi/~karte/print_fro...ws_server.html

You should also be able to use the cups web page by pointing a browser that
is local to the cups server to:

http://localhost:631/

but that is a bit cryptic.

--
Still waiting for a rational answer from Bittwister to this:
<nfqlo3-(E-Mail Removed)>.
 
Reply With Quote
 
d
Guest
Posts: n/a

 
      08-02-2006, 07:15 AM

left_coast wrote:
> left_coast wrote:
>
> > d wrote:
> >
> >> printcap name = /etc/cups/printers.conf

> >

>
>
> I missread the direction you were printing. The printer section in smb.conf
> is for setting up Linux as a server. It will not help in setting up Linux
> to print to windows.
>
> Perhaps this will help:
>
> http://myy.helia.fi/~karte/print_fro...ws_server.html
>
> You should also be able to use the cups web page by pointing a browser that
> is local to the cups server to:
>
> http://localhost:631/
>
> but that is a bit cryptic.
>
> --
> Still waiting for a rational answer from Bittwister to this:
> <nfqlo3-(E-Mail Removed)>.


I made the suggested changes but still nothing. I don't get. The tried
to queue the job but something is blocking it.

 
Reply With Quote
 
d
Guest
Posts: n/a

 
      08-02-2006, 07:18 AM

d wrote:
> left_coast wrote:
> > left_coast wrote:
> >
> > > d wrote:
> > >
> > >> printcap name = /etc/cups/printers.conf
> > >

> >
> >
> > I missread the direction you were printing. The printer section in smb.conf
> > is for setting up Linux as a server. It will not help in setting up Linux
> > to print to windows.
> >
> > Perhaps this will help:
> >
> > http://myy.helia.fi/~karte/print_fro...ws_server.html
> >
> > You should also be able to use the cups web page by pointing a browser that
> > is local to the cups server to:
> >
> > http://localhost:631/
> >
> > but that is a bit cryptic.
> >
> > --
> > Still waiting for a rational answer from Bittwister to this:
> > <nfqlo3-(E-Mail Removed)>.

>
> I made the suggested changes but still nothing. I don't get. The tried
> to queue the job but something is blocking it.


A couple of other note worthy things. When I go through the FC5
network neighborhood tool the printer isn't listed as a share when it
is to all the other Windows PC on the LAN. The HP tool hp-makeuri
can't locate the printer either.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS printer hangs after inactivity, requires CUPS restart Frnak McKenney Linux Networking 0 07-28-2005 11:56 PM
IOGear's Network Printer Server via CUPS (Linux as a client) mbbx6spp@gmail.com Linux Networking 0 06-08-2005 03:33 PM
Unable to print to IPP printer through linux firewall Joseph Wardzinski Linux Networking 5 02-27-2005 09:38 AM
help, pretty please, with linux on top. CUPS WOES! cant print Rob \ the nut \ Linux Networking 0 07-18-2004 02:50 PM
Samba: cannot print from Win98 to Linux printer Paul Towlson Linux Networking 0 10-15-2003 11:19 AM



1 2 3 4 5 6 7 8 9 10 11