El lun, 13 dic 1999, escribiste:
> > -------------------------------------------------------
>
> The printtool should work if you have the share names set up correctly.
>
> Using SAMBA to print means you have a computer running Windows attached to
> your network which is offering the printer as a share. There are some other
> circumstances where you might use it, but almost all of them can be done
> without use of SAMBA.
>
> In printtool you need to give the machine name of the Windows box where the
> printer is attached, and the name of the printer as the windows box is sharing
> it out. On the windows box, you need to go to Network
> Neighborhood->Properties->File and Printer Sharing and set it up best as a
> share level rather than a user level. In addition, you then need to go to
> the Win9x Printers folder and right-click the printer and enable sharing (note
> the name and change it to one without blanks in it).
>
> Unless these names are set up properly, "filter" will not call "smbprint" with
> the proper parameters, and the result is that spooled print jobs vanish
> without a trace, just as you have described.
>
> Civileme
>---------------------------------------------------------
Thank you for help me but I try all think,
with smbclient -L //mis16 -N
I get
Added interface ip=172.21.5.1 bcast=172.21.255.255 nmask=255.255.0.0
Got a positive name query response from 172.21.4.16 ( 172.21.4.16 )
Sharename Type Comment
--------- ---- -------
HP2100 Printer
TOTAL Disk
D Disk
PRINTER$ Disk
FUJITSU Printer
IPC$ IPC Comunicaci�n remota entre procesos
Server Comment
--------- -------
Workgroup Master
--------- -------
in the /var/spool/lpd/lp/general.cfg
I have
#
# General config options for printing on this queue
# Generated by PRINTTOOL, do not modify.
#
export DESIRED_TO=ps
export PAPERSIZE=a4
export PRINTER_TYPE=SMB
export ASCII_TO_PS=NO
[
and I can print from other windows machine but not fron linux box
in filter I can see
bestpath="$bestpath | ${FPIDIR}/smbprint ${SPOOLDIR}/acct"
and I think they try to pass acct file like a param to smbprint but there are
no acct file
I try a ASCII Tests (in printtool), previusly, I put down printer (with klpq) in
order to keep the file in debug filke I get
Desired print format is ps
Paper size is a4
A form feed will not be sent.
Magic is | English text|
Magic is | English text|
Type of file is INPUT-to-asc
Best path of depth is cat - | asc-to-printer.fpi |
/usr/lib/rhs/rhs-printfilters//smbprint /var/spool/lpd/lp/acct
now I try
[root@mis101 lp]#cat dfA023mis101.es | /usr/lib/rhs/rhs-printfilters//smbprint
/var/spool/lps/lp/acct
cat: /var/spool/lps/lp/.config: No existe el fichero o el directorio