A problem sharing printer with win

Hector Garcia hecgarpe at inf.upv.es
Wed Jun 23 13:52:20 GMT 1999


Somebody can solve me this problem?:

1- I have been installed the RedHat 6.0. I have an HP 670C printer
configured like an HP 560C and works well in Linux. The problem appears
when I want to share to print in other computer since Win95. I have
installed Samba 2.0.3, and I see the printer since the computer Win95. I

configure the printer with the driver of the HP 560C that has Win95. The

proble is that when I try to print a page win gives me an error:

A problem occurrs when print in \\PC2\HP_LINUX with the printer
A problem occurrs when print because an unknown error of the system.

I try to configure the queue with the RAW option, but I have the same
problem. What can I do?

My /etc/printcap is the following:

# Please don't edit this file directly unless you know what you are
# Be warned that the control-panel printtool requires a very strict
# Look at the printcap(5) man page for more info.
# This file can be edited with the printtool in the control-panel.

##PRINTTOOL3## LOCAL cdj550 300x300 a4 {} DeskJet550 24 1

My /etc/smb.conf is the following:

; /etc/smb.conf
; Reinicia el servidor cada vez que hagas cambios a este fichero, ej:
; /etc/rc.d/init.d/smb restart

printing = bsd
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
workgroup = casa
guest ok = yes
guest account = hector

browseable = yes
writable = yes

#security = server
path = /var/spool/lpd/lp
postscript = yes
printer name = lp
browseable = yes
writable = yes
printable = yes
print command = lpr -r -h %s

#comment = Directorios principales
#browseable = no
#read only = no
#create mode = 0750

#comment = Espacio de ficheros temporales
#path = /tmp
#read only = no
#public = yes

More information about the samba mailing list