[Samba] [Fwd: Problem with CUPS and Samba]

Mark Belfanti mark at mentat-it.com
Thu Oct 24 23:07:05 GMT 2002

-----Forwarded Message-----

From: Piotr Paszyński <safon at safon.pl.eu.org>
To: mark at mentat-it.com
Subject: Problem with CUPS and Samba
Date: 24 Oct 2002 11:11:23 +0200


Sorry, but my english is little.
I have RedHat 8.0 with samba 2.2.6-1. My samba works with WindowsNT4.0
domain (winbind). This is ok.
To linux server (/dev/lp0) is attached printer HP DeskJet 870Cxi.
1. I add two drivers with CUPS:
	first - HP DeskJet 870C, Foomatic + gimp-print-ijs
Description: atrament_2
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/lp0

	second - Local Raw Printer
Description: HP870C
Printer State: idle, accepting jobs.
"Ready to print."
Device URI: parallel:/dev/lp0

I connect to: http://localhost:631/admin/.
When I select "Configure Printer" I have communicat:


What is this?

When I select "Print Test Page"

Printer atrament_2 - prints good, bad is page format.
Printer HP870C - prints bad - zigzak :-((

This is my problems with CUPS.
Here is samba:

2. My configuration:

netbios name = GANDALF
domain master = no
log file = /var/log/samba/log.%m
max log size = 5000
nt pipe support = yes
# nt support = yes
socket address =
log level = 3
printing = cups
printcap cups
load printers = yes
show add printer wizard = yes

comment = Printer Drivers
path = /etc/samba/drivers
guest ok = no
browseable = yes
read only = yes
write list = @SFCompany,root

comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root

In this configuration I see printers in network. But, when I click install,
I see communicat server not driver. Install locally. But original driver
from HP - not include *.inf.

I install driver manual. Create (windowsNT 4.0 Wks) port: "Samba Local Port"
and connect to printer HP870C and printer not work :-(.
What is wrong? And how this correct?

Piotr Paszyński


Mark Belfanti
Mentat IT Pty Ltd

tel: [61 2] 9810 1986
fax: [61 2] 9810 1131
mob: 0413 53 6789
e-mail: mark at mentat-it.com

More information about the samba mailing list