Tisk pres Sambu
Zbynek Houska
zbynh at seznam.cz
Mon Sep 8 18:44:41 CEST 2003
Dobry den,
mohl by mi nekdo prosim poradit, jak nastavit Sambu aby mohli uzivatele
z Win stanic tisknout? Sambu mam nastavenou, ze na tiskarnu vidim, ale
nemohu se na ni pripojit. Mam zaznam /etc/host.lpd, prava spoolu jsou na
root a daemon. Lpd je spousten pri startu systemu...
V logu Samby mam tohle:
[2003/09/08 17:43:59, 0] smbd/service.c:make_connection(252)
karkulin (192.168.0.1) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/09/08 17:44:59, 0] printing/printing.c:print_job_start(1045)
print_job_start: insufficient permissions to open spool file
/var/spool/lpd/smbprn.000005.ET2hyL.
[2003/09/08 17:56:48, 0] smbd/service.c:make_connection(252)
karkulin (192.168.0.1) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/09/08 18:27:31, 0] smbd/service.c:make_connection(252)
karkulin (192.168.0.1) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/09/08 18:27:43, 0] printing/printing.c:print_job_start(1045)
print_job_start: insufficient permissions to open spool file
/var/spool/lpd/smbprn.000006.ssVTjn.
[2003/09/08 18:30:43, 0] smbd/service.c:make_connection(252)
karkulin (192.168.0.1) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/09/08 18:36:16, 0] printing/printing.c:print_job_start(1045)
print_job_start: insufficient permissions to open spool file
/var/spool/lpd/smbprn.000007.aTC2qf.
W2k tiskarnu vidi jako aktivni, ale nemuze se k ni pripojit, stale chce
instalovat ovladace...
Tady je podstatna cast /etc/printcap:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
aps1|ijs/DESKJET_610;r=360x360;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
lp v printcap nemam...
Firewall nepouzivam a rad bych aby na tiskarnu mohli tisknout ostatni
uzivatele v siti.
Diky Zbynek
More information about the Users-l
mailing list