Re: Advice printing on a network Laserjet 4L (fwd)

1997-10-02 Thread Lee Bradshaw
Hi Guys,

Here's what I use for printing to a network HP 4L.  The lp printer in
/etc/printcap processes jobs with the script remote-filter.  This filter
just uses the ljet4-filter from the magicfilter package and pipes the
output to lpr printing to printer lp-r.  Files printed to lp-r go
directly to jetd, the jetdirect adapter that attaches the 4L to the
network.  The jetdirect normally supports win95 directly, but not when
running lpd.  Therefore I use samba to make the lp-r printer available
to win95 users.  win95 knows the capabilities of the printer, so it
doesn't need to be filtered.

I hope this helps.  If you have any more questions let know.

Lee Bradshaw
[EMAIL PROTECTED]

/usr/local/bin/remote-filter:
=
#!/bin/sh
/usr/sbin/ljet4l-filter | lpr -Plp-r

/etc/printcap:
==
lp|lj|hplj4l|HP Laserjet 4L:\
:lp=/dev/null:\
:sd=/var/spool/lpd/hplj4l:\
:sh:\
:pw#80:\
:pl#66:\
:px#1440:\
:mx#0:\
:if=/usr/local/bin/remote-filter:\
:af=/var/log/lp-acct:\
:lf=/var/log/lp-errs:
lp-r|HP Laserjet 4L-r:\
:lp=/dev/null:\
:sd=/var/spool/lpd/hplj4l-r:\
:sh:\
:pw#80:\
:pl#66:\
:px#1440:\
:mx#0:\
:af=/var/log/lp-acct-r:\
:lf=/var/log/lp-errs-r:\
:rm=jetd:\
:rp=raw:


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


Advice printing on a network Laserjet 4L

1997-10-01 Thread Dr. Daniel Mashao
I have read all the man pages and HOWTO but I still have a problem
printing on a novel network laserjet. I have finally found a way to print
postscript documents but I cannot print plain text or dvi format. Any
ideas?

//
Daniel J. Mashao -- 
   [EMAIL PROTECTED] http://www.ee.uct.ac.za/~daniel
//


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


Re: Advice printing on a network Laserjet 4L

1997-10-01 Thread Jan Ramon
On Wed, 1 Oct 1997, Dr. Daniel Mashao wrote:

 I have read all the man pages and HOWTO but I still have a problem
 printing on a novel network laserjet. I have finally found a way to print
 postscript documents but I cannot print plain text or dvi format. Any
 ideas?
text: some printers (e.g. hplj6) see ascii as 'dos ascii': they need cr/lf
instead of lf at the end of each line.  So simply add the cr.

dvi: use dvips to convert dvi to ps.  

 
 //
 Daniel J. Mashao -- 
[EMAIL PROTECTED] http://www.ee.uct.ac.za/~daniel
 //
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 



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


Re: Advice printing on a network Laserjet 4L

1997-10-01 Thread Brandon Mitchell
On Wed, 1 Oct 1997, Dr. Daniel Mashao wrote:

 I have read all the man pages and HOWTO but I still have a problem
 printing on a novel network laserjet. I have finally found a way to print
 postscript documents but I cannot print plain text or dvi format. Any
 ideas?

a2ps and dvips will do the requested conversions.

Brandon

-
Brandon Mitchell E-mail: [EMAIL PROTECTED]
  Homepage: http://www.geocities.com/SiliconValley/7877/home.html
  PGP: finger -l [EMAIL PROTECTED] 
We all know Linux is great...it does infinite loops in 5 seconds.
--Linus Torvalds


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


Re: Advice printing on a network Laserjet 4L

1997-10-01 Thread joost witteveen
 I have read all the man pages and HOWTO but I still have a problem
 printing on a novel network laserjet. I have finally found a way to print
 postscript documents but I cannot print plain text or dvi format. Any
 ideas?

Well, if you can print postscript, you can
 - use a2ps (from contrib/non-free in bo, or hamm main), or 
   genscript/enscript to convert ascii to postscript
   (though most printers I know do accept straight ascii too)
 - use dvips (included in Debian's TeX packages) to convert
   dvi to ps.


-- 
joost witteveen, [EMAIL PROTECTED]
#!/usr/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


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


Re: Advice printing on a network Laserjet 4L

1997-10-01 Thread Ferenc Kiraly
HI!

 I have read all the man pages and HOWTO but I still have a problem
 printing on a novel network laserjet. I have finally found a way to print
 postscript documents but I cannot print plain text or dvi format. Any
 ideas?

Convert anything you want to print to PostScript first, then send it to the 
printer. Magicfilter does this for me.

feri.


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


Re: Advice printing on a network Laserjet 4L

1997-10-01 Thread Santiago Vila Doncel
-BEGIN PGP SIGNED MESSAGE-

On Wed, 1 Oct 1997, Dr. Daniel Mashao wrote:

 I have read all the man pages and HOWTO but I still have a problem
 printing on a novel network laserjet. I have finally found a way to print
 postscript documents but I cannot print plain text or dvi format. Any
 ideas?

Install magicfilter. I love it.

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

iQCVAwUBNDJuRyqK7IlOjMLFAQHzJgP9EcUWqgCU5fjNMukn1iVOx1QYvt9BhHB+
lUnq5x0ojBffnmqzwLek6s6jY5AkSG7Fugx6hM6zo+a+QVBVd1SPh3ukrtD+fmMj
VDv3h/YoyWEXmLvf1dzt+VXwbHSLhEfixyb6sELesyn6tJ+SgOF1fcd9VsxIVWH0
MJoIW7gqMHI=
=eXsO
-END PGP SIGNATURE-


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


Re: Advice printing on a network Laserjet 4L (fwd)

1997-10-01 Thread Dr. Daniel Mashao

On Wed, 1 Oct 1997, Pete Harlan wrote:

 Some folks run into the problem that none of their input filters get
 used because lpd expects that the remote system will do the input
 filtering.  Since your remote system is the printer itself, there's
 nowhere to specify an input filter (e.g., magicfilter) that will get
 used.
You are right and that is exacly my problem.

 There is a kludge around this, but I don't remember offhand what it
 is.
The HOW-TO says one has to redirect the output since if= is not used on
remote printers. I tried their suggested work-around and it only works on
Postscript files. By the way I have a postscript printer that is also
remote and it works fine without any filters. That is it works for both
text and postscipt documents.

I am having a problem with a PCL laserjet that is closer to my office. I
think for now I will just use enscript and a2ps first on my files. 

but if anyone comes with a neat idea - I am all ears.

//
Daniel J. Mashao -- 
   [EMAIL PROTECTED] http://www.ee.uct.ac.za/~daniel
//



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