[Samba] Print server on all linux network

Dan Sawyer dsawyer at blenderwars.com
Fri Oct 4 00:40:01 GMT 2002


-----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-----



More information about the samba mailing list