🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #466

Sample of PS code reading from file for LP emulation?

#466
From: Bill_Du_page
Date: Wed, 30 Jun 2004 20:13
4 lines
1073 bytes
Greetings, I've been out of the PS world for about 18 months - I used to use a neat piece of example code which was a PS header which you pre-pended to an Ascii file and sent to a PS printer. The code in the header read the reminder of the file line by line and kept track of the page position printing 66 lines per page ala "line printer" format. Anyone still have this?

Alternately, anyone have an example of a simple file read - e.g. after a "%start-data" line?
Thanks, Bill D
Technical Details
Message-ID: <3bb4dab4.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,3b43433437158624,start
X-Google-Attributes: gid10c61a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bill_Du_page@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Sample of PS code reading from file for LP emulation?
Message-ID: <3bb4dab4.-1@webx.la2eafNXanI>
Date: Wed, 30 Jun 2004 13:13:18 -0700
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit