[NTLUG:Discuss] More Printing Problems
Rusty Haddock
rusty at fe2o3.lonestar.org
Tue Feb 15 18:38:02 CST 2000
Carter B. Bennett wrote:
>Okay'
>I have wasted a whole day so far. These are the facts so far:
Sorry to hear that.
>
>1. I have a payroll server over in the corner running RH 5.1 with a Okidata
> Laser printer attached, working great.
>2. My desktop unit runs RH 6.0 and through the Control-Panel I setup the
> Okidata as a SAMBA printer (lp0), and it works great.
>3. On a third computer I have installed Corel Linux. I set up a SAMBA printer,
> when I picked Windows/SAMBA style printer, a box opened showing all the
> computers in the OTR workgroup. I go to the payroll server and double
> click, down drop all the shared dirs and printers, I double click the lp0
> (Okidata Printer) and the box files in //payroll/lp0. I'm thinkin hell ya,
> now were talken.
>4. But when I "lpr file" I get :
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon.
Did Corel Linux's SAMBA printer set up ask for a username and/or password
or is it assuming that you don't need one or that the printer share is
configured a specific way (to not need passwords)?
> But if I do a "ps -aux |grep lpd" it shows to be running.
> This is turning out to be a real butt scratcher.
That's not a big deal since lpd doesn't do all that much. It's there
to take requests, like your radio station, and to tell the DJ to play
'em. That doesn't mean the DJ will play them...
>5. The printcap file is:
There's not really all that much to be gleaned from the printcap file
under these circumstances. One place to look, if you haven't, is to check
the file in /var/spool/lpd/PR named ".config". You're trying to send to
an SMB printer make sure the username, password, and all that good stuff
in the .config file is valid! Under RH5.2, one of mine looks like this:
share='\\rsn-nta1\vfone'
hostip=www.xxx.yyy.zzz
user=rhaddock
password=NotMyRealPassword
This file is used by the 'smbprint' script in /usr/lib/rhs/rhs-printers to
make a connection, obviously, to the host with the printer. Dunno if this
sort of thing has changed in newer releases. Unfortunately, the problem
in dealing with SMB printers is that the password needs to be stuck into a
file as clear-text.
At least it's a place to look.
-Rusty-
--
_____ Rusty Haddock = KD4WLZ = rusty at fe2o3.lonestar.org
|\/ o \ o
| ( -< O o Thanks, Sparky! Charles M Schulz (1922-2000)
|/\__V__/
More information about the Discuss
mailing list