No subject
Mon Dec 1 12:27:21 GMT 2003
[2002/09/19 12:02:27, 1] smbd/service.c:make_connection(521)
latitude (172.16.0.6) connect to service pagepro6 as user samba (uid=1006, gid=1) (pid 4857)
[2002/09/19 12:02:27, 2] smbd/open.c:open_file(582)
samba opened file SAMBA.mZaiFj read=No write=Yes (numopen=1)
[2002/09/19 12:02:27, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387)
call_nt_transact_ioctl: Currently not implemented.
[2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355)
del_share_modes Deleting share mode entry dev=1980085 ino=120965
[2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376)
del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965
[2002/09/19 12:02:27, 2] smbd/close.c:close_normal_file(165)
samba closed file SAMBA.mZaiFj (numopen=0)
[2002/09/19 12:02:27, 2] smbd/open.c:open_file(582)
samba opened file SAMBA.nZaiFj read=No write=Yes (numopen=1)
[2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355)
del_share_modes Deleting share mode entry dev=1980085 ino=120965
[2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376)
del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965
The only suspect line is " call_nt_transact_ioctl: Currently not implemented."
but the spool file is created and works
/PeO
> Is there a reason you don't use the simpler command in your smb.conf?
> Could this be a permissions problem? (nawk won't work for your smb user).
> What do you see in your smb logs?
> I forget my nawk, but, it seems that nawk is just deleting any extraneous
> lines in your postscript print files. Is that necessary?
>
> Joel
>
>
>
> On Thu, Sep 19, 2002 at 03:51:16AM +0200, P-O Yliniemi wrote:
> > Hi,
> >
> > I have some trouble getting files printed on my Solaris 8 machine running
> > Samba 2.0.5.
> >
> > The client is a winxp installed laptop, the printer is configured as a
> > postscript printer (Minolta PagePro 12 PS), although it is a PCL printer
> > (Minolta PagePro 6).
> >
> > >From the client side, everything works as it is supposed to, and when I check
> > in the selected spool directory for Samba printers, I find the spooled printouts:
> >
> > solarisbox-1:[/var/spool/samba]# ls -l
> > total 176
> > -rwxr--r-- 1 samba other 28851 Sep 19 03:23 SAMBA.2Wa40i
> > -rwxr--r-- 1 samba other 60073 Sep 19 03:22 SAMBA.9HayZi
> > solarisbox-1:[/var/spool/samba]#
> >
> > I can print the files manually using the command
> >
> > /usr/bin/lp -c -o nobanner -T postscript -d pagepro6 SAMBA.2Wa40i
> >
> > or, as I have found somewhere (this is in my smb.conf)
> > /usr/bin/nawk '/^%!PS/, /^%%EOF/' SAMBA.2Wa40i | /usr/bin/lp -c -o nobanner -T postscript -d pagepro6
> >
> > .. the only problem is that it seems like the "print command" is never executed
> > once a print request arrives.
> >
> > The complete contents of my smb.conf (that has to do with printing) follows:
> >
> > [global]
> > debug level = 2
> > ...
> > log file=/var/log/samba.%m
> > ...
> > printing = bsd
> > printcap name = /etc/printers.conf
> > load printers = yes
> > ...
> > ...disk shares...
> > [printers]
> > comment = "All printers"
> > path = /var/spool/samba
> > browseable = no
> > printable = yes
> > public = yes
> > writable = no
> > create mode = 0700
> > [pagepro6]
> > path = /var/spool/samba
> > printer name = pagepro6
> > writable = yes
> > public = yes
> > printable = yes
> > print command = /usr/bin/nawk '/^%!PS/, /^%%EOF/' %s | /usr/bin/lp -c -o nobanner -T postscript -d %p; rm -f %s
> >
> >
> > Any suggestion besides sett ing up a cron job to print everything in
> > the spool directory every minute or so, but this isn't the optimal
> > solution to the problem ?
> >
> > /PeO
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
--
/* PeO - AMiGA owner since 1990, CGI, Perl, Assembly language & HTML-fanatic *\
\* Amiga 4000TE/060-50/604e 200, 146Mb, 33.4Gb, ZIP, JAZ, CVPPC/8 */
/* IIyama VM Pro 21", CP-SW2 Subwoofer system, NEC-222 *\
\* Plextor 12-Plex, Yamaha CRW 4416S, Artec A6000C+, Stylus Color 500 */
/* Lightfax 3660, Catweazel Z-II (3*IDE, 1*PC Floppy), Minolta DImage V *\
\* SCSI-Tower, Seagate Tapestor 4/8GB, Ariadne Ethernet, Minolta PagePro 6 */
More information about the samba
mailing list