Tisk pres Sambu
mkes at ra.rockwell.com
mkes at ra.rockwell.com
Tue Sep 9 10:16:31 CEST 2003
Nereknu ti jestli je to primo tohle, ale ...
... Samba tiskne tak, ze ten soubor, ktery ma byt tisten se nejdriv ulozi
do spooleru samby a pak je predhozen daemonu pro tisk, ktery si ho presune
do prislusneho spoolovaciho adresare pro danou tiskarnu a zpracuje. Ten
adresar do ktery slouzi jako spooler pro sambu musi byt pristupny pro
zapis. Nerad bych kecal, ale mam dojem, ze nekde v dokumentaci Samby se
pise ze musi byt "world writeable".
Tohle je moje oblibena chyba, ze na ta prava zapomenu a pak se divim proc
to netiskne.
Takze je treba to zkontrolovat. Spooler je definovan v smb.conf jako 'path'
pro tu danou tiskarnu. Pokud tam nic neni (default) a prekladas sambu z
portu tak se podivej do Makefile, najdi kam ukazuje SAMBA_SPOOL.
Mira
Zbynek Houska <zbynh at seznam.cz>@freebsd.cz on 09/08/2003 06:44:41 PM
Please respond to FreeBSD mailing list <users-l at freebsd.cz>
Sent by: users-l-bounces at freebsd.cz
To: FreeBSD mailing list <users-l at freebsd.cz>
cc:
Subject: Tisk pres Sambu
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
--
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list