Re: [SLE] Netscape printing - Windows network
Hello, we don't have NT. We simply have a Windows network. So the -W command is not needed??? In the 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. 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 logfile=/dev/null 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" # (1) #TEXINPUTS= # (2) #PRINT_DVI= # (3) #PRINT_RAW_SETUP_PRINTER= #PRINT_RAW_RESET_PRINTER= # (4) #PRINT_RAW_SUPPRESS_FORMFEED="yes" # (5) #if [ "$COLOR" = "mono" ] ; then # GS_FEATURES= # PRELOADS= #else # GS_FEATURES= # PRELOADS= #fi # (6) #USE_RECODE_NOT_A2PS="yes" #USE_ENSCRIPT="yes" # (7) #FEATURE= # (8) #A2PS_OPTS= #ENSCRIPT_OPTS= # (9) #DVIPS_MODE= # (10) #GS_RESOL= # (11) Works only with ascii or lp on non PS printers with gs # NOTE: `la' should be disabled in printcap (done with :la@:) #DO_ACCOUNTING=yes # (12) See html2ps manpage for a complete list of options ! #HTML2PS_OPTS="-2 -e ISO-8859-1 --frame" __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ -- 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
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
participants (2)
-
juergen.braukmann@ruhr-west.de
-
russianfirm@yahoo.com