OK! Here is an update on my system with regards to my printing problem:

bash-2.01$ dpkg --list | grep lprng
ii  lprng           3.4.2-5        lpr/lpd printer spooling system
ii  lprng-doc       3.4.1-3        lpr/lpd printer spooli

bash-2.01$ ps ax | grep LPD
  419  p1 S    0:00 grep LPD
bash-2.01$ ps ax | grep lpd
  421  p1 S    0:00 grep lpd

*** Oops, how come no lpd is running!!!!!!!!!!!!!!

bash-2.01$ find /etc/rc2.d -name *lp*
/etc/rc2.d/S20lprng


bash-2.01$ lpc status
cannot open connection to [EMAIL PROTECTED]' - Connection refused

In the file /var/spool/lpd/lp/status.lp, it contains:
opening '/dev/lp1' at 00:32:52, attempt 1, timeout 10, grace 0 at 00:32:52
cannot open '/dev/lp1' - 'Device not configured', attempt 1, sleeping 10
at 00:32:53

        But I am sure that Parallel support is compiled in my kernel!!!

        But i also have the feeling that it has something to do with the
kernel,
because I have compiled it for many times....





On Tue, 29 Sep 1998, Ulisses Alonso Camaro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hi Shao!
> 
> On Tue, 29 Sep 1998, Shao Ying Zhang wrote:
> 
> > Hi all,
> >         I used magicfilter to generate a printcap.                          
> >     
> >         when I tried to print something out, it gives me the following
> > error:   
> >                                                                             
> >     
> >         connection to 'localhost' failed - Connection refused               
> >     
> >         job 'cfA468virge' transfer to [EMAIL PROTECTED] failed
> >                                                                             
> >     
> >         Could anyone tell me where I did wrong??                            
> >     
> 
> You didn't do anything wrong
> 
> 
> Instead you should check:
> 
> What printer daemon does I have? (lpr or lprng) -- I suggest lprng
> To check this: dpkg -i | grep lpr
> 
> Does it is running?
> To check this: ps ax | more
> You should see a process like "lpd" or "LPD"
> 
> Does it is run at startup?
> To check this: ls -l /etc/rc2.d/*lp*
> 
> Check /var/log/ and /var/spool/lpd files for error message diagnostics
> 
> Show us all this and the output of the "lpc status" command
> 
> regards,
> 
>               Ulisses
> - 
> -----------------------------------------------------------------------------
> "Computers are useless. They can only give answers."            Pablo Picasso
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: latin1
> Comment: PGP public key avaliable at http://www.rediris.es/cert/keyserver
> 
> iQB1AwUBNhC3/w/N+5+NQ63pAQEXRQL/QbXq/hc0J7prLvd0oTD7Y0zguXKLs1/s
> 5e4kuAn4ckyXpOmZJWKMOzv688SzwG0ndcY+jJsWB4oQJpSftDzdCKV/KorTj+W9
> QXObM3uzvkpT1EyWygm7OlZSWBmP5k/0
> =o07d
> -----END PGP SIGNATURE-----
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shao Zhang                             \\/
5/28-30 Victoria AVE                   OxO
PENSHURST 2035                         //\
Sydney, NSW                           ///\\
Australia                            ////\\\
                                    / ^   _ \
                                   ( (o) (o) )
****  *   *           *=======oOOO=====(_)=====OOOo=========*
   *  *  *            |      [EMAIL PROTECTED]       |
****  * *             |       http://shaoz.dyn.ml.org       |
*   *******           | http://www.cse.unsw.edu.au/~s2193893|
****  * *             *===================Oooo.=============*
   *  *  *                        .oooO   (   |
 * *  * * *                        (   )   ) /
   *  *    *                        \ (   (_/
                                     \_)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   

Reply via email to