Article View: news.software.readers
Article #69863Re: [slrn] Garbled screen after printing
From: John P. Verel
Date: Sun, 31 Dec 2000 05:07
Date: Sun, 31 Dec 2000 05:07
40 lines
2395 bytes
2395 bytes
Got a fix that works for me. Upon investigation, what was happening was enscript was returning certain information to the "echo" area, e.g. number of lines wrapped/truncated and its return value. By setting the "--silent" switch within the enscript command, enscript returns only the return code, which takes up just the one line available in the echo area. Without this, the verbose information from enscript was taking up 3 lines, which was scrambling the display. Regards, John * Sven Guckes <guckes@math.fu-berlin.de>: > * John P. Verel <jverel@home.com>: > > I print from slrn using this configuration: > > set printer_name "enscript --word-wrap --margins=::: -f > > 'Times-Roman11' -F 'TimesRoman14' --fancy-header='enscript' -i3" > > Printing is fine but the screen garbles up and has to be reset > > with Control-L. Any advice on how to prevent this behavior? > > Redirect the output (of stderr) to /dev/null?! > > I keep thinking - shouldnt the variable "printer_name" > contain the *name* of a printer instead of the *command*? JED? > > I'd find such a setup much eaier to understand: > > %set print_command='~/bin/slrn_print_script' > set print_command='mp|lpr' > set printer_name='bubblejet' > > Anyone else think the same? > > Sven -- John P. Verel Norwalk, CT
Technical Details
Message-ID:
<slrn94tfs5.1jb.jverel@CV150607-A.norwlk1.ct.home.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!phil.uu.nl!ruu.nl!surfnet.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mailReferences:
<slrn94qfob.u1.jverel@CV150607-A.norwlk1.ct.home.com> <2000-12-30T03-39-37@guckes.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn94tfs5.1jb.jverel@CV150607-A.norwlk1.ct.home.com> Subject: Re: [slrn] Garbled screen after printing Date: Sun, 31 Dec 2000 05:07:19 GMT From: jverel@home.com (John P. Verel) References: <slrn94qfob.u1.jverel@CV150607-A.norwlk1.ct.home.com> <2000-12-30T03-39-37@guckes.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!phil.uu.nl!ruu.nl!surfnet.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Mouse Busters User-Agent: slrn/0.9.6.2 (Linux) Lines: 39 NNTP-Posting-Host: 24.228.1.114 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ct.home.com 978239239 24.228.1.114 (Sat, 30 Dec 2000 21:07:19 PST) NNTP-Posting-Date: Sat, 30 Dec 2000 21:07:19 PST