On Wed, 13 Nov 2002 07:11:58 -0500 Tom Pollerman <[EMAIL PROTECTED]> wrote:
> On 12 Nov 2002 23:16:04 -0600 > Andy Worthington <[EMAIL PROTECTED]> wrote: > > > I set it up as a lpd printer. Tried sending the test ascii page > > and it did not print. Here is the output from lpq on the client > > box > > > > [root@pc-00071 andy]# lpq -Php > > Printer: hp@pc-00071 (dest hpofficejet@gateway) > > Queue: no printable jobs in queue > > Server: no server active > > Status: keeping error job 'root@pc-00071+409' at 23:08:28.320 > > Rank Owner/ID Class Job Files > > Size > > Time > > error root@pc-00071+790 A 790 ERROR: job removal > > requested error root@pc-00071+409 A 409 ERROR: job > > removal requested no connect permissions > > > > > > Any idea what to check on the client or the server to see why it > > won't connect? > > > > Thanks > > > > On Tue, 2002-11-12 at 10:06, Tom Pollerman wrote: > > > On 11 Nov 2002 21:32:10 -0600 > > > Andy Worthington <[EMAIL PROTECTED]> wrote: > > > > > > > I have a printer setup on an older redhat box as an smb share. > > > > > > > > I can map the printer from windows and print to it fine from > > > > windows. I also have a 7.3 redhat box that I would like to > > > > print to the printer from. I use the printer configuration > > > > tool to add a smb printer and then print a test page but > > > > nothing ever happens on the printer. I can see the printer is > > > > valid using smbclient. Is there any log files I can look at > > > > or something else to see why this is not printing? > > > > > > > I believe that you want to set up just simple remote Unix > > > (lpd) > > > printing rather than an smbprinter, as you are printing from a > > > linuxbox to another linuxbox; rather than from / to a MS Windows > > > machine. Run the RedHat Printer Tool on the 7.3 machine and set > > > it up to print to the remote older RedHat box to which the > > > printer is attached. > > > > The machine controlling the printer should list the hosts > permitted > to access the printer in the /etc/hosts.lpd file. So, your old > RedHat machine's /etc/hosts.lpd should have an entry for your 7.3 > machine. Also, make sure that lpd is running as a service on the > machine with the printer: > > service lpd start (or, restart) > > If you do: > > netstat -pan > > you should see lpd "listening" on port 515. > > And, make sure that your firewall isn't blocking port 515. > This all assumes that the networking between the two linux boxes > is > properly configured; you can ping one machine from the other. > > Andy, Make sure that lpd is running on BOTH machines as a service. Note that there is still a spool directory on the local machine man aged by lpd. If the remote machine is busy or offline, print jobs from the local machine wait in the spool area until they can be sent. When lpr is executed on the local machine, it first copies the specified file to a certain directory (the spool directory) where the file remains until lpd prints it. Once lpd is told that there is a file to print, it will spawn a copy of itself (what programmers call forking). This copy of lpd will print your file while the original lpd waits for more requests. This allows for multiple jobs to be queued at once. Tom -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list