hi ya on the linux box with the local printer... ( call it lpserver ) # # look for sd, lp and some kind of "input filter"(if) # lp|phaser|:\ :sh:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/phaser:\ -->> :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/mf_wrapper:
-- dont forget to stop and start the lpd -- what is the output of "lpc status" -- did it print a file ?? lpr -Phaser /etc/printcap your printcap on the remote linux box looks fine.. ( call it lpclient ) > lp|phaser|Tektronix Phaser 560:\ > :sh:\ > :sd=/var/spool/lpd/phaser:\ -->> > :rm=192.168.0.10:\ > :rp=raw: -- dont forget to stop and start the lpd -- what is the output of "lpc status" -- did it print a file ?? lpr -Pphaser /etc/printcap for your linux printer server... lets make it lpserver...that windoze is trying to connect to it... lpserver# vi /etc/samba/smb.conf ... encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd ... [homes] comment = Home Directories path = /opt/home browseable = no writable = yes .... # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no printable = yes print command = /usr/bin/lpr -r %s ; rm %s # # name of the samba'ized printer # printer = xerox printing = BSD read only = yes -- restart samba -- what is the output of "testprns xerox /etc/printcap" === in order for Windozed to see the "xerox" printer connected === to lpserver in their network neighborhood... you need to === define your samba passwd == ( try to make it different from your ssh login and == your windoze login === === lpserver# cd /etc/samba ; smbpasswd <you> === now fire up MS word ... and print a couple sentences to the pritner... and than do "Add (network) Printer" to your list of printers ( it should have its own printer drivers ) c ya alvin On Mon, 29 Apr 2002, Martin A. Hansen wrote: > hi > > i have two linux boxes. one acts as router and is connected to a network > printer on the remote network. printing from the server to the remote printer > works. > > now printing from the linux box on the internal network to the router dont > work: > > i get this error from lpq: > > > Printer: [EMAIL PROTECTED] 'Tektronix Phaser 560' (dest [EMAIL PROTECTED]) > Queue: no printable jobs in queue > Server: no server active > Status: keeping error job '[EMAIL PROTECTED]' at 19:01:35.913 > Rank Owner/ID Class Job Files Size Time > error [EMAIL PROTECTED] A 28 ERROR: job removal requested > `no connect permissions > > > my printcap looks like this: > > # REMOTE print > lp|phaser|Tektronix Phaser 560:\ > :sh:\ > :sd=/var/spool/lpd/phaser:\ > :rm=192.168.0.10:\ > :rp=raw: > > > what do i do? > > btw, winboxes connected with samba on the internal network cant connect to > the printer either. > > > martin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]