Re: exim and printer answers

2002-03-02 Thread Carel Fellinger
Somehow I missed the post this post reacts to, so I anwser here instead. On Fri, Mar 01, 2002 at 09:27:13PM -0500, dman wrote: > On Fri, Mar 01, 2002 at 03:08:10PM -0800, paul wrote: > | cat < /dev/lp0 > | a short line > | a second line > | a third line > | EOF > | No such file or directory. Note

Re: exim and printer answers

2002-03-01 Thread paul
--- Carel Fellinger <[EMAIL PROTECTED]> wrote: > On Fri, Mar 01, 2002 at 11:53:30AM -0800, paul > wrote: > Remember those > > # cat a single line > an other line > EOF This command works > tests? There the cat command was reading its input > from the terminal. > So you had to type

Re: exim and printer answers

2002-03-01 Thread dman
On Fri, Mar 01, 2002 at 03:08:10PM -0800, paul wrote: | cat < /dev/lp0 | a short line | a second line | a third line | EOF | No such file or directory. Note visable in joe and KDE | file manager. | | lpr | line1 | line2 | line3 | EOF | syntax error near unexpected token '<' | lpr EOF | lpr cannot

Re: exim and printer answers

2002-03-01 Thread dman
On Fri, Mar 01, 2002 at 11:53:30AM -0800, paul wrote: | tests you asked for: | lp command not found | | lpr cursor goes to the next line and stays there until | the window is closed, (forever). This is normal for programs that read data from stdin. Instead of closing the window, type some stuf

exim and printer answers

2002-03-01 Thread paul
cat < /dev/lp0 a short line a second line a third line EOF No such file or directory. Note visable in joe and KDE file manager. lpr line1 line2 line3 EOF syntax error near unexpected token '<' lpr EOF lpr cannot access EOF A tad frustrating but hopefully the end is near thanks paul ___

Re: exim and printer answers

2002-03-01 Thread Carel Fellinger
On Fri, Mar 01, 2002 at 11:53:30AM -0800, paul wrote: oeps, I think you're to terse for me in this post:( I miss the context provided by showing pieces of my posting you're replying to. > tests you asked for: > lp command not found I take it you mean you typed `type lp' and that's the result.

Re: exim and printer answers

2002-03-01 Thread paul
tests you asked for: lp command not found lpr cursor goes to the next line and stays there until the window is closed, (forever). whereis says lpr is in /usr/sbin/lpr whereis says lp is not there (actually its says nothing) I take it that magicfilter and the restoration of the 3 files is ok.

Re: exim and printer answers

2002-03-01 Thread Carel Fellinger
On Thu, Feb 28, 2002 at 05:12:10PM -0800, paul wrote: > I am having problems with cut and paste on yahoo so > this is my typing. > Printcap > /etc/magicfilter/hp4000-filter is now > /etc/magicfilter/ljet4-filter > > ls /etc/magicfilter/ljet4-filter returns the command > check with joe (editor) a

Re: exim and printer answers

2002-03-01 Thread Carel Fellinger
On Thu, Feb 28, 2002 at 06:25:06PM -0500, dman wrote: > On Thu, Feb 28, 2002 at 08:32:17PM +0100, Carel Fellinger wrote: > > | ...Okee so you have BSD like lpd installed > > | The next thing to know is whether lpd was installed correctly. Atleast > | there should be a command called `lp', check

Re: exim and printer answers

2002-03-01 Thread Carel Fellinger
On Thu, Feb 28, 2002 at 01:54:03PM -0800, Vineet Kumar wrote: > * Carel Fellinger ([EMAIL PROTECTED]) [020228 13:53]: > > So `cat filename > /dev/lp0' still works? > > But the following failed? Strange. ... > > > > > << EOF > > Not so strange. Try it this way: ... > > EOF > > The most impo

Re: exim and printer answers

2002-02-28 Thread Vineet Kumar
* paul ([EMAIL PROTECTED]) [020228 17:22]: > Thanks > > the cat command works when the end is EOF > and does not work with << EOF or < EOF > I haven't the slightest clue on why but can't argue > with success. When you say something like "<< EOF" to your shell, it's called a "here-document". You

Re: exim and printer answers

2002-02-28 Thread paul
Thanks the cat command works when the end is EOF and does not work with << EOF or < EOF I haven't the slightest clue on why but can't argue with success. paul taylor --- Vineet Kumar <[EMAIL PROTECTED]> wrote: > * Carel Fellinger ([EMAIL PROTECTED]) [020228 13:53]: > > So `cat filename > /dev/lp0

Re: exim and printer answers

2002-02-28 Thread paul
> | > | # type lp not found thanks for tip __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com

exim and printer answers

2002-02-28 Thread paul
I am having problems with cut and paste on yahoo so this is my typing. Printcap /etc/magicfilter/hp4000-filter is now /etc/magicfilter/ljet4-filter ls /etc/magicfilter/ljet4-filter returns the command check with joe (editor) and file is there. Both cat commands work when it is EOF but not << EO

Re: exim and printer answers

2002-02-28 Thread dman
On Thu, Feb 28, 2002 at 08:32:17PM +0100, Carel Fellinger wrote: | ...Okee so you have BSD like lpd installed | The next thing to know is whether lpd was installed correctly. Atleast | there should be a command called `lp', check whether it is there with: | | # type lp | | This should tell you

Re: exim and printer answers

2002-02-28 Thread Vineet Kumar
* Carel Fellinger ([EMAIL PROTECTED]) [020228 13:53]: > So `cat filename > /dev/lp0' still works? > But the following failed? Strange. > > > > # cat << EOF > /dev/lp0 > > > > a very short line > > > > a second line > > > > a final line > > > > << EOF Not so strange. Try it th

Re: exim and printer answers

2002-02-28 Thread Carel Fellinger
On Thu, Feb 28, 2002 at 08:45:20AM -0800, paul wrote: > pritner is hp laserjet 4 plus or hplaserjet4plus > with no postscript.There is ghostscript installed Okee, then you need a filter that turns postcript into PCL using ghostscript... > > of it to your next post? The file I refer to is: > >

Re: exim and printer answers

2002-02-28 Thread paul
pritner is hp laserjet 4 plus or hplaserjet4plus with no postscript.There is ghostscript installed - do you have the full HP name for it? chine. Who put it there, and what's in it? Could > you attach a copy > of it to your next post? The file I refer to is: > > /etc/magicfilter/hp4000t-

Re: exim and printer answers

2002-02-27 Thread Carel Fellinger
[ not really replying to myself, but reacting to requested config files received by direct email ] On Thu, Feb 28, 2002 at 01:46:56AM +0100, Carel Fellinger wrote: > On Wed, Feb 27, 2002 at 04:41:41AM -0800, paul wrote: ... > > #PRINTCAP > > # Copyright (c) 1983 Regents of the University of > >

Re: exim and printer answers

2002-02-27 Thread Carel Fellinger
On Wed, Feb 27, 2002 at 04:41:41AM -0800, paul wrote: > I hope this answers the questions. > Printer is hplaserjet4plus I think there are versions of this printer that are capable of doing Postscript them selves. Does this printer has the Postscript addon? Or do you have the full HP name for it?

exim and printer answers

2002-02-27 Thread paul
I hope this answers the questions. Printer is hplaserjet4plus Old and new printcap as one file #PRINTCAP # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms are permitted # provided that this notice is preserved