RussianFirm wrote:
Hello,
we don't have NT. We simply have a Windows network. So the -W command is not needed??? In the
As long as you do not authenticate against a Domain Controler, NO.
file /usr/bin/smb_print , I uncommented the line "logfile=/tmp/smb-print.log" as shown below, but the file is not created when I try to print in Netscape.
understandable. ;-) see my comments below.
My apsfilterrc.ljet4 file is shown below. Tell me if you see anything.
Thanks George
******* /usr/bin/samba_print *********** #!/bin/bash # # Debugging log file, change from /dev/null if you like. # logfile=/tmp/smb-print.log
here you say: my logfile is /tmp/smb-print.log that is fine. ;-)
logfile=/dev/null
Here you say I've changed my mind. logfile is /dev/null. The secondd entry wins, what means you log into the waste paper basket. you missed to comment that one out.
if test -L $logfile ; then echo "$0: $logfile should not be a symbolic link." 1>&2 exit 2
******* /etc/apsfilterrc.ljet4 ******* # # Systemwide /etc/apsfilterrc.ljet4 file # # Enables you to configure some aspects of apsfilter to fit only # settings of a special printer with gs device ljet4 the name # of the ghostscript device of this printer. # For global settings have a look into /etc/apsfilterrc for configuration. # # NOTE: You should set global features in /etc/apsfilterrc. # # !! FOR A DESCRIPTION YOU SHOULD READ /etc/apsfilterrc CAREFULLY !! # # The original apsfilterrc is always found in # /var/lib/apsfilter/templates/ #
# (0) REMOTE_PRINTER="/usr/bin/samba_print //lora/ -U lora -N -P"
you use the remote user "lora" that must be known on the Windows machine. Did you also give a pasword? (you might have deleted it here as you should) I think it's the -P option... but that is chained on to smbclient in samba_print The printer on lora (the Windows name of the machine) must have a share name for the printer as well, like hplj4. Therefor -I cannot test it here and now- the line should look like /usr/bin/samba_print //lora/hplj4 -U lora password -N the -P option is obsolet but harmless. I need to look the stuff up again on monday at work. Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq