Re: Help with printers

1999-04-02 Thread Jameson Burt

I couldn't initially share my printer when I upgraded from hamm to slink;
in fact, I couldn't even print from my local printer.
To solve my problem, I decided it was a good time to switch from the lpr
package to the more complex/complete/modern lprng package.
I could then print from my local computer, but not from remote computers.
So I commented the following two lines in 
   /etc/lpd.perms

   ##REJECT SERVICE=XRPQ NOT SERVER
   ##REJECT SERVICE=CSU

though I probably needed only comment the first one.
Then my remote computers could print through my local computer.
Perhaps naively, I see little security problem with printing.
At worst, I would run out of paper.
With printing security problems,  I shouldn't get a new sneeky root user and 
corrupted files.

When giving printer access to other computers, I usually simultaneously want to
give user access.
So, I leave /etc/hosts.lpd with no entries, 
then make my entries in /etc/hosts.equiv.
For example, here are some of my entries,
   cramer   #a computer at work better specified in /etc/hosts
   tomato   #an NT computer at home from which I print through my Linux 
computer


I can't help you with magicfilter, though you could recreate /etc/printcap 
  magicfilterconfig   --force
Magicfilter worked well on an HP III for me.
I currently use magicfilter with a postscript printer, so I can't help much.
But I suspect magicfilter would just replace ps600-filter with ljet4l-filter
(magicfilter includes this file) in my /etc/printcap code,
  
   lp|lex|Lexmark Optra Rt+:\
:lp=/dev/lp1:sd=/var/spool/lpd/lex:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/ps600-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

While you should probably approach this problem through magicfilter,
I remember seeing Sun code to accomodate the form feed.
There was a file that looked something like
   cat #this kept the input file going through the pipe.
   echo -e '\f'
   

 I have 2 problems here.  
 
 1.On my network I cannot get Debian to share the printer.  I have set up
 a hosts.lpd file and made sure there is no deny in the hosts.deny file.  What
 else do I need to do?  I had that working in RedHat.
 
 2.I have a second machine that has a HP4L hooked directly to it.  I am
 using Magicfilter.  For some reason it prints to about the last 1 of text and
 then stops.  It also does not send a form feed to eject the page.  How can I
 fix this?
 
 Please reply to my address below since I do not allways get the full debian
 digest list.
 

-- 
Jim Burt, NJ9L, Fairfax, Virginia, USA
[EMAIL PROTECTED]   http://www.mnsinc.com/jameson
[EMAIL PROTECTED]   (703) 235-5213 ext. 132  (work)

A poor man associating with a rich man will soon be too poor 
to buy even a pair of breeches.   --Chinese Proverb



Help with printers

1999-03-30 Thread Brian Schramm
I have 2 problems here.  

1.  On my network I cannot get Debian to share the printer.  I have set up
a hosts.lpd file and made sure there is no deny in the hosts.deny file.  What
else do I need to do?  I had that working in RedHat.

2.  I have a second machine that has a HP4L hooked directly to it.  I am
using Magicfilter.  For some reason it prints to about the last 1 of text and
then stops.  It also does not send a form feed to eject the page.  How can I
fix this?

Please reply to my address below since I do not allways get the full debian
digest list.

--
Brian Schramm
[EMAIL PROTECTED]
[EMAIL PROTECTED]


help with Printers???

1999-02-04 Thread Eliezer Figueroa
I instaled DEBIAN 2.0 base. I want to know wich package I have to 
install to have the lpr command.

__
Get Your Private, Free Email at http://www.hotmail.com


Re: help with Printers???

1999-02-04 Thread MallarJ
In a message dated 2/4/99 1:40:35 PM Central Standard Time,
[EMAIL PROTECTED] writes:

 I instaled DEBIAN 2.0 base. I want to know wich package I have to 
  install to have the lpr command.
  
I believe it's the lpr package.  :)


Re: Help on printers

1997-12-30 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Mon, 29 Dec 1997, BRIAN SCHRAMM wrote:

  I have an IP address of 56.88.7.156 on my network at work.  My printer
  IP address (HP Jetdirect card) is 192.0.0.192.  How can I talk to it?
You need a kernel with IP_ALIAS enabled.

Then add a new network on the same physical network with:

ifconfig eth0:0 192.0.0.1 netmask 255.255.255.0 broadcast 192.0.0.255
route add -net 192.0.0.0 dev eth0:0

(This assumes, the printer thinks it's on a Class C network and the ip
 192.0.0.1 is still free in your local network)

Nils


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQB1AwUBNKkWXVptA0IhBm0NAQG6UAL9EbpUk7OihEO+96bVauVRQS2qHvAwkn/y
h7h3+AhtBsPxArBA1kWwdQvxZI7RLwYbeuh4ZdFFaDQF//ORQEIAq8sOroXHluAl
aM/GAsQO/TK1cH+Wk2lyy+PUR6jTDgTV
=o9JG
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Help on printers

1997-12-29 Thread BRIAN SCHRAMM
 I have an IP address of 56.88.7.156 on my network at work.  My printer
 IP address (HP Jetdirect card) is 192.0.0.192.  How can I talk to it?

 Brian Schramm


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .