Printing to Lantronix EPS1 via LPD

2003-02-13 Thread Tim Ayers
I'm trying to configure a new Debian (v3.0r1) server to print to an HP 
Laserjet 4 connected to my home network via a Lantronix EPS1 print 
spooler. I have the following in /etc/printcap:

joyce|lj4:\
 :rm=joyce:\
 :sd=/var/spool/lpd/joyce:\
 :af=/var/log/lp-acct:\
 :lf=/var/log/lp-errs:\
 :pl#66:\
 :pw#80:\
 :mx#0:\
 :sh:

I can ping and telnet to joyce, the Lantronix box, from my Debian 
machine. I can send a job to lpr, e.g. 'echo testing | lpr -P joyce', 
and it gets queued up, but just sits there. 'lpc status' says

joyce:
 queuing is enabled
 printing is enabled
 1 entry in spool area
 waiting for queue to be enabled on joyce

I can print to this printer from a Windows XP machine, so I think the 
spooler and printer are working. Just that the Debian box is missing 
some bit of information. Thanks very much for any help!

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Printing to Lantronix EPS1 via LPD

2003-01-29 Thread Tim Ayers
I'm trying to configure a new Debian (v3.0r1) server to print to an HP 
Laserjet 4 connected to my home network via a Lantronix EPS1. I have the 
following in /etc/printcap:

joyce|lj4:\
 :rm=joyce:\
 :sd=/var/spool/lpd/joyce:\
 :af=/var/log/lp-acct:\
 :lf=/var/log/lp-errs:\
 :pl#66:\
 :pw#80:\
 :mx#0:\
 :sh:

I can ping and telnet to joyce, the Lantronix box, from my Debian 
machine. I can send a job to lpr, e.g. 'echo testing | lpr -P joyce', 
and it gets queued up, but just sits there. 'lpc status' says

joyce:
 queuing is enabled
 printing is enabled
 1 entry in spool area
 waiting for queue to be enabled on joyce

I can print to this printer from a Windows XP machine, so I think the 
spooler and printer are working. Just that the Debian box is missing 
some bit of information. Thanks very much for any help!

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: modifying /etc/motd during boot

2003-01-25 Thread Tim Ayers
/etc/motd doesn't really have anything to do with the boot process. It 
is displayed to all users when they log in. You could change your script 
to just echo the top 3 things and call the script from ~/.bash_profile 
instead. That way only you see the top 3 things on your to-do list, not 
everyone. HTH.

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])

P.S. I'm assuming you don't have other users logging in to your machine, 
but /etc/motd is just kind of  the wrong place for this.


[EMAIL PROTECTED] wrote:

Simple question:  I've got a simple little
script to take the top 3 things from my todo
list and put them into /etc/motd.  Where
should I put this script in the boot process?

Phill


 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Printing to Lantronix EPS1 via LPD

2003-01-25 Thread Tim Ayers
I'm trying to configure a new Debian (v3.0r1) server to print to an HP 
Laserjet 4 connected to my home network via a Lantronix EPS1. I have the 
following in /etc/printcap:

joyce|lj4:\
  :rm=joyce:\
  :sd=/var/spool/lpd/joyce:\
  :af=/var/log/lp-acct:\
  :lf=/var/log/lp-errs:\
  :pl#66:\
  :pw#80:\
  :mx#0:\
  :sh:

I can ping and telnet to joyce, the Lantronix box, from my Debian 
machine. I can send a job to lpr, e.g. 'echo testing | lpr -P joyce', 
and it gets queued up, but just sits there. 'lpc status' says

joyce:
  queuing is enabled
  printing is enabled
  1 entry in spool area
  waiting for queue to be enabled on joyce

I can print to this printer from a Windows XP machine, so I think the 
printer and spooler are working. Just that the Debian box is missing 
some bit of information. Thanks very much for any help!

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lame,cdparanoia,AidioCD

2003-01-23 Thread Tim Ayers
Tim Ayers wrote:
 me@mymachine:~$ for f in *.wav; do lame $f  ${f%%wav}mp3; done

Darn. Syntax error. Take off the errant double-quote after 'mp3' in both 
examples...

 for f in *.wav; do lame $f  ${f%%wav}mp3; done

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lame,cdparanoia,AidioCD

2003-01-23 Thread Tim Ayers
Sergey A. Ovchar wrote:


Hi.
How can I convert several *.wav to *.mp3, by the _one_ command, using lame. I'm interesting about batch mode.
Reading This F.. Manual didn't take desired effect :(.

And how can I redirect output trom cdparanoia -B to the lame ?
 

It's not clear. Are you trying to rip CDs or convert big groups of wav 
files from some other source?

If you have a bunch of wav files you are converting, you could do 
(assuming you are using bash or ksh)

 me@mymachine:~$ for f in *.wav; do lame $f  ${f%%wav}mp3; done

Obviously you put your desired lame parameters in front of the $f.

There's no way to redirect the output of cdparanoia -B to lame, 
which by definition, creates files. You can't pipe real files.

You could use the above command preceded with the cdparanoia call...

me@mymachine:~$ cdparanoia -B blah blah ; for f in *.wav; do lame $f 
${f%%wav}.mp3; done

There is a way to pipe output of one track from cdparanoia into lame or 
you could just use one of the myriad ripper front-ends to 
cdparanoia/lame that exist in the world. The cdparanoia site has a long 
list at http://www.xiph.org/paranoia/links.html. I'm sure Google could 
turn up others. These usually look up artist and title information 
automatically, let you customize filename formats and generally make 
things easier. Sounds like you'd like things to be easier. :-)

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Installing from boot disk and CD

1999-12-03 Thread Tim Ayers
Hi,

I'm trying to install slink on a Compaq Deskpro 6000. This computer
has an Adaptec SCSI controller so I need to boot using the special
Rescue and Driver Floppies for Adaptec from
http://www.debian.org/~adric/aic7xxx/. But I would like to install
everything else from the CDs I ordered from Linuxmall.

I've tried several permutations without luck. I'm hoping a kind soul
will tell me the steps to take. :-) Thanks a lot!

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])
Norman, Oklahoma


Re: good book to learn perl

1999-11-22 Thread Tim Ayers
This is probably more than people wanted to know, but...

 N == aphro  [EMAIL PROTECTED] writes:
N can anyone reccomend a good book so i can start the task of learning perl
N ? :)

N i have virtually no programming experience, although i have managed to
N hack some perl scripts up at times.

I agree with others that 'Learning Perl' is the best book for people
with little programming experiencing. Be certain to get the second
edition that has been updated to Perl 5 (which is VERY different from
Perl 4 that the first edition was based on.)

I haven't seen the second edition so I don't know how Randal starts it
off but in case he doesn't or for those who learn from the man pages
or by looking at scripts I will give an unsolicited edict:

 Start every program with 

  #!/usr/local/bin/perl -w

  use strict;
  use diagnostics;

The '-w' turns on warnings. This catches a lot of bad practices before
they become bad habits.

The 'use strict;'  catches a bunch more bad things.

The 'use diagnostics;' provides detailed descriptions of what you
might have done wrong to cause the warning or error, which is great
for learning. But comment out or remove the 'use diagnostics;' before
you put your script into production because it really slows the
program down.

Finally for people that are experienced programmers that want to learn
Perl I would recommend AGAINST Learning Perl and recommend 
Perl: The Programmer's Companion by Nigel Chapman. For experienced
programmers Learning Perl moves very slowly and barely touches
interesting material. Programmer's Companion is just the opposite.

HTH and
Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])
Norman, Oklahoma


Using dselect thru a firewall

1999-11-06 Thread Tim Ayers
Is there a way to set up dselect to do FTP access thru a proxy? Thank
you.

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])


Driver for Compaq Netelligent network card

1999-11-04 Thread Tim Ayers
Hi,

I'm trying to install Debian GNU/Linux on a Compaq Deskpro 6000. I'm
stuck on getting the network to work. As far as I can tell the network
card is a Netelligent 10/100 TX Embedded UTP Bus 0. Can anyone tell
me which driver goes with that? Thanks!

Hope you have a very nice day, :-)
Tim Ayers ([EMAIL PROTECTED])