LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 12-29-2003, 06:17 PM   #1
tddlard
Member
 
Registered: Oct 2003
Location: UK
Distribution: Gentoo, Fedora, Debian,
Posts: 31

Rep: Reputation: 15
Samba not printing one only one out of two printers


I have RH9 installed on my server. Connected to it are two printers.

HP LaserJet 6L via parallel
HP DeskJet 930c via usb

I am using cups to print, and this works fine for both printers.
I have the printers networked with samba. Over the network,. I can print to the HP Lasjetjet 6L, but I can't to the HP DeskJet 930c. Samba is configured to use the printercap file.

I am lost, can anyone help?

smb.conf
----------------------------------------------------
# Samba config file created using SWAT
# from 192.168.81.2 (192.168.81.2)
# Date: 2003/10/13 19:58:13

# Global parameters
[global]
log file = /var/log/samba/%m.log
netbios name = BELZIBUB
guest account = nfsnobody
load printers = yes
server string = rh9 print server
printing = cups
socket options = TCP_NODELAY
guest ok = yes
workgroup = HAMBLEDON
security = SHARE
max log size = 0
lpq command = lpq -P %p
printers = \\BELZIBUB\PRINTERS$
[printers]
printable = yes
print command = lpr -r -P %p %s
writeable = yes
path = /var/spool/samba
----------------------------------------------------

cupsd.conf
----------------------------------------------------

LogLevel info
MaxLogSize 0
Printcap /etc/printcap

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

<Location /printers/hplj6l>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>

<Location /printers/hpdj930c>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
BrowseAddress 255.255.255.255
Listen *:631
Listen *:631

-----------------------------------------------------

printers.conf
-----------------------------------------------------

<Printer hpdj930c>
Info Created by redhat-config-printer 0.6.x
Location HP DeskJet 930c
DeviceURI usb:/dev/usb/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter hplj6l>
Info Created by redhat-config-printer 0.6.x
Location HP LaserJet 6L
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
-----------------------------------------------------
 
Old 12-29-2003, 07:04 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Original thread is here.. http://www.linuxquestions.org/questi...hreadid=129413
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing double sided on HP printers with duplexers enine Linux - Hardware 2 08-28-2005 09:59 AM
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 04:54 PM
Fedora 2 and Epson printers - not printing KEJP Linux - Hardware 7 06-21-2004 06:41 PM
sharing printers in linux and windows xp: no printing, yet no errors TheOneAndOnlySM Linux - Networking 1 04-26-2004 08:01 AM
Printers printing garbage? inkysplat Linux - Hardware 1 11-03-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration