On Fri, Nov 07, 2008 at 08:13:33AM -0800, Amit Uttamchandani wrote:
> Is it possible to create an LPD printer that outputs to a text file? I
> have created printers in CUPS before but it always has been a PDF
> printer or a printer via SAMBA.
> Basically I print out a bunch of text files but I want it to be printed
> directly as text (not postcript). Well I guess if its postcript I can
> always convert it to text using ps2text right?
Just to clarify, you want the output to go to a file, not send pure
ascii (text) directly to the printer without being turned into
postscript and run through ghostscript?
Here's the printcap on my print server box:
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
# rlp|Remote printer entry:
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
# APS1_END - don't delete this
lp|raw|Generic dot-matrix printer entry:
I use standard LPD (no CUPS).
If I print to the epson printer queue, I get postscripted. If I print
to the raw, I get straight text sent to the printer. I haven't added
any smarts to prevent me from sending postscript/pdf to the raw printer.
Sometimes I'm not very smart and have to stop the print job.
Raw also worked on my old DeskJet, and on my old laser printer.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com