help needed setting up printer/LaTeX/Lyx

help needed setting up printer/LaTeX/Lyx

Post by Dave Phillip » Thu, 31 Jul 1997 04:00:00

I have a Panasonic KX-P2123, an old 24-pin dot matrix printer. I'm sick
of the plain output from 'cat mytext > /dev/lp1' and would like to get a
real printing system set up here. My printcap entry is correct, and I've
set the PRINTER environment variable to 'panasonic', but when I try to
run a file through lpr it  complains so:

   'lpr: cannot create /usr/spool/lp/panasonic/.seq'

Do I need a magic filter for my printer ? Where do I find it ? Is anyone
else using such a machine ?

I also want to set up*and Lyx, but do I need to install TeX as
well ? I apologize for my simple-mindedness, but I'm tired of not having
really cool print output from my Linux system, and I do NOT want to
return to Win95 for good printing. I know next to nothing about TeX, but
I am familiar with mark-up languages and I'm willing to take the plunge
if it'll get me better-looking documents.

== Dave Phillips


help needed setting up printer/LaTeX/Lyx

Post by Stian H?ise » Fri, 01 Aug 1997 04:00:00

[Dave Phillips]

Quote:> I also want to set up*and Lyx, but do I need to install TeX as
> well ?

Sorry, I don't know anything about your printer problem.

But yes,*is a set of macroes that works with TeX. You'll need
both. I suggest you install the teTeX distribution of TeX and*
combined. You will also want a viewer, xdvi, and a printing program.
(I use dvips because I have a Postscript printer; you'll have to look
for one appropriate for you.)

In my Redhat distribution the packages containing teTeX are

tetex-latex   ;; the*macros
tetex-xtexsh  ;; X11 shell for TeX
tetex-xdvi    ;; *.dvi viewer for X
tetex-afm     ;; font metrics tool
tetex-dvips   ;; print *.dvi files on Postscript
tetex-dvilj   ;; print *.dvi files on LaserJet (I suppose)
tetex         ;; the TeX compiler; *.tex -> *.dvi

If you can't access RedHat packages, you can pick up a copy of teTeX


Read the (surprise!) README file in that catalogue. You may have to
visit CTAN (Comprehensive Tex Archive Network) anyway, to get a driver
for your printer. Have a look in the



I'm not familiar to Lyx, although those who use it seem very
enthusiastic.  I haven't met that many users, though.


An alternative (not WYSIWYG) to Lyx is AUCTeX, a*mode for Emacs,
if that's your editor of choice. I use this one.


I believe there is a RedHat package of AUCTeX in the

If you're a novice user, you'll appreciate

Lamport, L.: LaTeX, a document preparation system.
    ISBN 0-201-52983-1,
    Addison-Wesley, 1994

For more experienced users, I recommend

Kopka, H. and P. W. Daly: A guide to LaTeX2e.
    ISBN 0-201-42777-X
    Addison-Wesly, 1995

And if you're curious about packages to*(i.e. useful extensions
that's not a part of standard LaTeX), this book explains the use of

Goossens, M., F. Mittelbach and A. Samarin: The*companion.
    ISBN 0-201-54199-8
    Addison-Wesley, 1994

The teTeX distribution comes with a lot of these packages included.



1. Latex/dvips/lyx help!

  Hi.  I'm trying to get Lyx working on my Slackwarer 3.0 system.  It seems
to run fine unless I try and print :(.  

  The problem seems to be with dvips.  If I tell Lyx to print to the
printer, it runs the document through tex, but dvips stops witha message
about not finding a configuration file for my printer (lp).  BTW, there IS a
printcap entry for lp.  It runs "magicfilter" and I have no problem printing
ascii text or postscript to me HP deskjet.

  Now, if I tell Lyx to print to a file (, dvips seems to get a
bit farthur.  However, it still bombs out with a message about not being
able to find a scecific font.  I DO, however, have the font it is looking
for.  The font shows up in /usr/lib/texmf/fonts/tmp/pk/CanonCX, but dvips
can't seem to find it.

  I know almost nothing about how this system is supposed to work, and I
can't figure out where it's even looking for the files it needs.

  If anyone can help me I'd really appreciate it.  I've tried installing
every TeX package I could (except the obviously unneeded ones like unusual
fonts.)  I've looked at every man page I could think of.  The dvips man page
says to look in dvips.texi, which I don't have...



                    Mark E. Levitt
    Department of Speech Communication, Syracuse University

         Home Page:

PGP fingerprint =  B8 A3 AA A6 0F 83 9A BE  F2 7A 19 F9 15 79 FE A4
Public key available from

2. Lots of upgrade problems

3. Could someone help with lyx/latex/tex?

4. Japanese writiong under English Linux?

5. LyX <-> LaTeX

6. analyzing dump

7. Printing Type1 fonts, Lyx, AUIS, Latex

8. What does UNIX mean anyway?

9. LyX, Latex, epsfig.sty...

10. LaTeX: kdvi previewer with LyX 1.1.2

11. lyx 0.10.7 (LaTeX WYSIWYG editor)

12. LaTeX / LyX installation

13. How to write at the right side of a table in lyx/latex?