Now that I have my windows machine up and running, I recieve and error when
I try to print through SAMBA. I get a pop-up windows that says:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There was an error writing to \\SERVER\LaserJet4L for printer ( HP LaserJet
4L)
There was a problem printing to the printer due to an unknown system error
Restart windows, and then try printing again
This Printer will be set to work offline
I have slackware 7.0, and set my printer up using the setup script that came
with apsfilter. Below are both my smb.conf file and my printcap file for
you to look at. I am having trouble locating all of the drivers needed to
have my laserjet4l ready for a network install, so ignore the ';' for now.
Any clue what is going on? I also have the free-ljet4 package, but I am not
sure how to use this in my filtering. If anyone has any suggestions, feel
free to email me.
Thanks for help in advance.
John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FILES:
#!/etc/smb.conf
#======================= Global Settings
=====================================
[global]
netbios name = server
workgroup = marrnet
server string = Samba Server %v
hosts allow = 192.168.42. 127.
load printers = yes
printcap name = /etc/printcap
printing = bsd
log file = /var/log/samba.%m.%U
max log size = 50
security = user
socket options = TCP_NODELAY
interfaces = 192.168.42.1/24 127.0.0.1/24
os level = 33
domain master = yes
preferred master = yes
dns proxy = no
username level = 3
; printer driver file = /usr/lib/samba/pdrivers/printers.def
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
path = %H
valid users = %S
read only = no
create mask = 0750
browseable = no
writable = yes
[public]
comment = Public Files
path = /home/ftp/pub
guest ok = yes
public = yes
write list = @smbuser
[tmp]
comment = Temporary file storage
path = /tmp
read only = yes
[printer$]
; path = /usr/lib/samba/pdrivers
public = yes
writeable = no
browsable = yes
[LaserJet4L]
comment = HP LaserJet4L
path = /var/spool/samba
print ok = yes
guest ok = no
writable = no
printable = yes
printer driver = HP LaserJet 4L
printer driver location = \\%h\PRINTER$
~~~~~~~~~~~~~~~~
#!/etc/printcap
# LABEL apsfilter
# apsfilter setup Tue Apr 25 17:38:01 EDT 2000
#
# APS_BASEDIR:/usr/lib/apsfilter
#
#
ascii|lp1|ljet4-letter-ascii-mono|ljet4 ascii mono:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljet4-letter-ascii-mono:\
:lf=/var/spool/lpd/ljet4-letter-ascii-mono/log:\
:af=/var/spool/lpd/ljet4-letter-ascii-mono/acct:\
:if=/usr/lib/apsfilter/filter/aps-ljet4-letter-ascii-mono:\
:mx#0:\
:sh:
#
lp|lp2|ljet4-letter-auto-mono|ljet4 auto mono:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljet4-letter-auto-mono:\
:lf=/var/spool/lpd/ljet4-letter-auto-mono/log:\
:af=/var/spool/lpd/ljet4-letter-auto-mono/acct:\
:if=/usr/lib/apsfilter/filter/aps-ljet4-letter-auto-mono:\
:mx#0:\
:sh:
#
raw|lp3|ljet4-letter-raw|ljet4 auto raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljet4-raw:\
:lf=/var/spool/lpd/ljet4-raw/log:\
:af=/var/spool/lpd/ljet4-raw/acct:\
:if=/usr/lib/apsfilter/filter/aps-ljet4-letter-raw:\
:mx#0:\
:sh:
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs