Hi Rbaig, SAMBA implements the server message block protocol for LINUX it is mainly used to let a LINUX box behave as a (better) windows server. But ther is no problem in using it the other way round, there is a couple of client utilities in the SAMBA suite you can use to talk to WINDOWS machines. For your purpose take a look at:
http://pachome1.pacific.net.sg/~harish/linuxprint.html I think this is a good description how to solve your problem. Your printcap in general looks OK for me, try to put :filter=/usr/lib/ifhp/ifhp instead of: :if=/usr/lib/ifhp/ifhp This is a LPRng extension and means mainly that the filter will be used for any incoming data format. If this still does no good, well try :translate_incoming_format=lf:\ Just for in case your incoming jobs have the 'binary flag' in the control file set... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY | Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: > Dear sirs, > > This is a extremely newbie question (from a newbie user), but after reading a > lot (LPRng, printcap, IFHP, samba) and make my mind a mess, I decided to submit > my problem to this mail list to try to obtain a guideline to solve it. Thanks > in advance for your attention. > > Distro: debian 3.0r1 > Kernel: 2.2.20-idepci > LPRng: 3.8.10-1 (debian pkg) > IFHP: 3.5.7-2 (debian pkg) > Samba: 2.2.2-5 (debian pkg) > > I want to use a printer, from my Linux box, (LaserJet 1200) which is a service > from an NT domain (to where I have access as user) but at this point I�m > totally lost: I don�t know where to start form: shall I setup Samba server (or > it is not necessary) where :lp= has to point?� (well, no idea�) I�ve found a > lot of info to use a printer from win environment shared from a Samba Linux > box, but not vice versa) > > A part from that I have some more specific questions: > > a) Why lprngtool uses master-filter instead of ifhp? (I realized that when I > use ifhp: sentences at /etc/printcap, lprngtool complains) > > b) I tried to start from a simpler problem: to set up a local DeskJet 670c > printer, but I didn�t succeed in printing further than plain text files. I > attach the /etc/printcap code regarding this printer, I would appreciate any > corrections or suggestions: > > lp > :sd=/var/spool/lpd/lp > :sh > :ml=0 > :mx=0 > :af=/var/spool/lpd/lp/acct > :lf=/var/spool/lpd/lp/log > :cd=/var/spool/lpd/lp > :lp=/dev/lp0 > :ifhp=model=hpdj650,a4,portrait > :if=/usr/lib/ifhp/ifhp > : > > Thanks again, and sorry for so newbie questions. > > > > ----------------------------------------------------------------------------- > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > The address you post from MUST be your subscription address > > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests > or lprng-digest-requests) with the word 'help' in the body. For the impatient, > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] > with: | example: > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] > > If you have major problems, send email to [EMAIL PROTECTED] with the word > LPRNGLIST in the SUBJECT line. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
