🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2075

Re: ASCII-->POSTSCRIPT (need PS program, not unix, not ibm)

#2075
From: Ulrich K. Boche
Date: Thu, 03 Sep 1992 16:42
31 lines
1572 bytes
In <16566@ucdavis.ucdavis.edu> Jason Yan (can cook writes:
>   Does anyone know of or have a postscript program that will
>allow the printing of regular ascii files on a HP laserjet II with
>a postscript cartridge?  I asked in an earlier message, but I didn't
>make it clear on what I needed.
>...

Many PostScript printers need a Ctrl-D character between jobs to
recognize end-of-job and start printing.  You need three things:

1. Your existing PostScript line printer emulater program (e.g. the
   one from the Adobe Green Book), let's call it "lpr.ps".

2. A file called CTLD.PS that you can create with your editor or
   word processor: its only contents should be a Ctrl-D character

3. A simple batch file like the following (assuming that by "IBM"
   you mean "IBM compatible PC"):

@echo off
cd \ps           (assuming that's the directory you use)
copy lpr.ps+ %1 +ctld.ps lpt1: >nul

   if you call the batch file lpr.bat, it would be invoked like:

lpr whatever.lst

   to print the file "whatever.lst" on a printer attached to LPT1

Ulrich Boche, IBM Germany FSC Large Systems
Disclaimer: This posting represents my own views, not those of IBM
Technical Details
Message-ID: <19920903.084144.941@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <16566@ucdavis.ucdavis.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: boche@vnet.ibm.com (Ulrich K. Boche)
Message-ID: <19920903.084144.941@almaden.ibm.com>
Date: Thu, 3 Sep 92 17:42:29 CET
Newsgroups: comp.lang.postscript
Subject: Re: ASCII-->POSTSCRIPT (need PS program, not unix, not ibm)
Organization: IBM Germany, Ehningen
News-Software: UReply 3.0
References: <16566@ucdavis.ucdavis.edu>
Lines: 31