-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Evidently something's not set up right. Here's what I got:
thedude@floyd:~> cat kittykey.txt | smbclient //bob/nec -c 'print-' added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0 Got a positive name query response from 192.168.1.101 ( 192.168.1.101 ) Password: Domain=[AWP] OS=[Unix] Server=[Samba 2.2.1a] print-: command not found - -Dan On Thursday 03 October 2002 17:57, Joel Hammer wrote: > Well, you have to talk to the samba server from the client: > The basic command is as follows: > cat file | smbclient //server/nec -c 'print -' > Does this command work for you? > The file has to be in a format the printer (queue) can use on the server. > If this works, then you can set up print queues on the clients to do this. > Joel > > On Thu, Oct 03, 2002 at 05:31:28PM -0700, Dan Sawyer wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Okay, I've removed the [printers] tab. > > > > When I print locally, I do indeed use lpr -Pnec (or at least, that > > command works very well). However, using that command from the client > > doesn't do a thing for me (nor does printing from a gui program). I've > > now modified the .conf so it looks like this: > > > > [nec] > > comment = NEC Superscript 1200 > > path = /tmp > > read only = No > > create mask = 0700 > > guest ok = Yes > > hosts allow = 192.168. > > printable = Yes > > postscript = Yes > > print command = lpr -Pnec > > lpq command = /usr/bin/lpq -Pps > > lprm command = /usr/bin/lprm -Pps %j > > lppause command = /usr/sbin/lpc hold z53 %j > > lpresume command = /usr/sbin/lpc release z53 %j > > printer name = nec > > share modes = No > > > > What's the next step? > > - -Dan > > > > On Thursday 03 October 2002 16:54, Joel Hammer wrote: > > > I would remove [printers] since neither you or I know what it really > > > does. Now, when you print locally, you print to the queue nec? > > > This will depend on the lpr command (lpr -Pnec) or if you just use lpr > > > the first printer defined in you /etc/princap will be invoked. > > > Joel > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.6 (GNU/Linux) > > Comment: For info see http://www.gnupg.org > > > > iD8DBQE9nOFkaB8ur/y6V8gRAj0NAJ9uBivobBUug7ILKnWtvTWFSF7VfACgoE+7 > > znVXZF5BGzp7IIGXHH19lEo= > > =0C98 > > -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9nRn1aB8ur/y6V8gRAqbHAJwJEKIuUdMj11vLJY0892n4ACbGUQCdGwIC oynQh4ZJ4J6t+PWnuoqc1Ig= =LkwD -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba