Ask a Question related to SCO, Design and Development.
-
wlj@elmore.rr.com #1
Samba on SCO 5.0.7
I installed the version of Samba included on the media kit.
Everything works great with the exception of printing. We need to
print to printers connected to Windows machines from the UNIX server.
I can manually connect to the printer and print with smbclient and I
can even extract the print script from smbprint to print an individual
file, but I have not had any luck printing from lp.
Test print script that works:
echo print /etc/hosts | /usr/bin/smbclient "\\\\Workstation1\\HPPHOTO"
-U Workstation1 -N -P >> /tmp/smb-print.log
1. Installed rlp in UNIX
2. Added a remote printer (had to select the Windows machine)
3. Add a .config file to /var/spool/lpd/PRINTER2 directory, contains:
server=Workstation1
service=HPPHOTO
password=""
4. Edited the /etc/printcap as follows:
PRINTER2:\
:lp=/dev/null:\
:sd=/var/spool/lpd/PRINTER2:\
:mx#0:\
:sh:\
:if=/usr/bin/smbprint
5. Edited /usr/bin/smbprint as follows:
#eval acct_file=\${$#}
spool_dir=/var/spool/lpd/PRINTER2
config_file=$spool_dir/.config
6. smb.conf
[printers]
comment = All printers
path = /var/spool/samba
printable = Yes
browsable = No
[PRINTER2]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = PRINTER2
use client driver = Yes
oplocks = No
Has anyone had any luck with this? Any help will be appreciated!
Regards,
Lance Justiss
wlj@elmore.rr.com Guest
-
PHP and Samba
Hi, Is there an easy way for PHP to access (read and write) files on an arbitrary URL? What I want to do is to have a form that asks the user... -
AIX 5.1 and Samba/2.2.8a +winbind
> I think you must look for documentation concerning just SAMBA and not Aix. Unfortunately not exactly : the authentification mecanism is different... -
Samba + win 2k
Hi, After upgrading our client to win2k pro, I'm suddenly too stupid to set up Samba correctly on my Debian box. Is there a good site that would... -
sarge dependancy problems with dhcp3-client/samba/samba-common
Just did an apt-get update; apt-get dist-upgrade dhcp3-client seems to be mutaully exclusive with samba/samba-common. Installing one takes out... -
VFS for Samba
I am currently attempting to create a recycling bin for Samba on my redhat 8 machine using the recycle module (VFS). I am not exactly sure how to... -
Kim Petersen #2
Re: Samba on SCO 5.0.7
[email]wlj@elmore.rr.com[/email] wrote:
check write permissions on /var/spool/samba (they are iirc incorrect as> 6. smb.conf
> [printers]
> comment = All printers
> path = /var/spool/samba
> printable = Yes
> browsable = No
> [PRINTER2]
> path = /var/spool/samba
> read only = No
> guest ok = Yes
> printable = Yes
> printer name = PRINTER2
> use client driver = Yes
> oplocks = No
>
> Has anyone had any luck with this? Any help will be appreciated!
pr. install).>
> Regards,
> Lance JustissKim Petersen Guest



Reply With Quote

