Deutsch   English   Français   Italiano  
<pan$123ce$b55cb55c$c4582e9e$302f6741@linux.rocks>

View for Bookmarking (what is this?)
Look up another Usenet article

From: Farley Flud <ff@linux.rocks>
Subject: Re: Enscript
Newsgroups: comp.os.linux.advocacy
References: <vfarm9$21oij$1@dont-email.me>
Mime-Version: 1.0
Message-Id: <pan$123ce$b55cb55c$c4582e9e$302f6741@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 39
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Wed, 23 Oct 2024 14:15:50 +0000
Nntp-Posting-Date: Wed, 23 Oct 2024 14:15:50 +0000
X-Received-Bytes: 1774
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Bytes: 2108

On Wed, 23 Oct 2024 08:54:11 -0400, Chris Ahlstrom wrote:

> I haven't used enscript for quite awhile. I used it all the time at work to
> print code without having to use a text editor to do it. Here's part of a
> script to convert a text file to PDF, with line numbers and a narrow font
> suitable to printing. Blank lines and some info output removed.
> 
> #!/bin/bash
> FONT="Monospace8"
> OPTIONS="q -B -C -G -T3"
>

You must write very short lines.

The default page for enscript is A4 and that is very near to
Letter size of 8.5" x 11".

Most code, if we include the indents, has long lines of far more
than 80 characters that even with a size 8 font will exceed the
bounds of an A4 page.  Enscript will wrap them by default and the
result is sort of ugly.

One could specify "landscape" orientation but that may not solve
the problem entirely.

The only other possibility would be to specify an A1 page size.

My philosophy is just to keep it in text format.

Enscript, and equivalents such as aps, paps, etc., are certainly
very capable programs, but who the fuck actually PRINTS nowadays?

Printing is, or should be, dead.  Like facsimile (fax) it is kept
alive by throwback idiots that cannot adapt to change. 



-- 
Systemd: solving all the problems that you never knew you had.