HDTenEightyP/NetNews huggingface dataset:
From: euabim@eua.ericsson.se (Bimal Dey)
Newsgroups: comp.lang.postscript
Subject: Templates for labels in Postscript
Date: 31 Aug 92 11:15:29 GMT
Reply-To: euabim@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden

I have used SQL*ReportWriter ( a 4GL-Report Tool from Oracle) to generate
mailing adresses from database which I want to print them in labels.

Has anybody made any template for labels in Postscript? I have very little
experience in Postscript programs, so I  would be very gratefull to get
a copy of the template.

Thanks in advance.

--- Bimal Dey
 ____________________________________________________________________________
!                                !                                           !
! Bimal Dey                      ! ELLEMTEL Telecommunication Systems Lab.   !
!                                ! Box - 1505                                !
! Administrative System Support  ! S-125 25 AELVSJOE                         !
!                                ! S W E D E N                               !
!________________________________!___________________________________________!
!                                !                                           !
! Voice: +46 8 727 36 43         ! Snailmail: 221:079                        !
! Fax  : +46 8 647 82 76         ! Email    : Bimal.Dey@eua.ericsson.se      !
! Telex: +54 812452 EUA S        ! Memo     : eua.euabim                     !
!________________________________!___________________________________________!
Newsgroups: comp.lang.postscript
From: qualtrak@netcom.com (Qual Trak)
Subject: PostScript error handler
Date: Thu, 27 Aug 92 02:59:14 GMT
Organization: QualTrak Corporation
Reply-To: jb@QualTrak.COM
Distribution: usa


I used to have an error handler I could download to a PostScript printer
that would print the error message (and possibly a stack dump) when the
interpreter encountered an error condition.

I seem to have misplaced it and would like to have it back again.

Can someone tell me where it may be had?  I tried mailing a help message
to ps-file-server@adobe.com but 24 hours have passed and no answer.  I'm
the impatient sort donchano...  So if someone can emailto me or post on
the net an ftp location or, better yet, the program.  I'll be forever in
your debt.
------------------------------------------------------------------------
John Birchfield - QualTrak Corp (408) 730-2674 Home (408) 736-3852
jb@QualTrak.COM
------------------------------------------------------------------------
From: kk@hpl-opus.hpl.hp.com (Konstantinos Konstantinides)
Date: Wed, 26 Aug 1992 19:31:35 GMT
Subject: Re: tiff to eps
Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA
Newsgroups: comp.lang.postscript

In comp.lang.postscript, wmandevi@afit.af.mil (William J. Mandeville) writes:

> Can anyone help me find a tiff to eps converter for use on Unix.
> 
> Thanks.
Try to find "xv" a public domain image viewer. It can read tiff files
and can export them in a variety of formats, including ps.

KK
Newsgroups: comp.lang.postscript
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: PostScript coding style question
Organization: SoftQuad Inc., Toronto, Canada
Date: Tue, 25 Aug 92 20:41:00 GMT

glenn@rightbrain.com (Glenn Reid) writes: 
> In a related (and silly) thread, I'm curious as to who has written the
> most deeply-nested "ifelse" or other statment in PostScript in a legitimate
> piece of PostScript code (e.g. not as an entry in the Most Obfuscated
> PostScript Contest).  LaserPrep doesn't count :-)

This is where the NeWS `case' operator makes a big difference...

/IsSmallishPrime {
    {
	3 5 7 11 13 17 19 {
	    true
	}

	1 2 {
	    random 0.5 gt {
		true
	    } {
		true % change this to false if you are undecided
	    }
	}

	/Default { false }

    } case
} def


Lee

-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com
  latest released version: 1.10; ftp: ftp.cs.toronto.edu in directory: pub
  If Adultery is for Adults, is Juvenal for Juveniles?
From: jhewitt@BBN.COM (Jim Hewitt)
Newsgroups: comp.lang.postscript
Subject: Japanese fonts not found?
Date: 1 Sep 1992 12:40:10 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Distribution: world
Reply-To: jhewitt@BBN.COM (Jim Hewitt)
NNTP-Posting-Host: bbn.com

I am looking to do a definefont using a japanese font, but can't "find" the font.  The definefont is straight from the red book:


100 dict begin
/SPEncoding
[
/.notdef/a few special characters...
...
] def
/KFON
    /GothicBBB-Medium.EUC-H findfont dup length dict begin
    { 1 index /FID eq { pop pop } { def } ifelse } forall
    /Encoding SPEncoding def
    currentdict end definefont pop

The above returns 2 results, both bad.  For some fonts, for example
GothicBBB-Medium.EUC-H, return this:
%LPS-W-TYPCHK, typecheck: Argument of wrong type - offending command is definefont

Other fonts return this:
%LPS-S-USERDATA, GothicBBB-Medium.EUC not found, using Courier.
The file contains japanese characters, so using Courier prints garbage, naturally.

Doing a dump of FontDirectory does list /GothicBBB-Medium.EUC-H,
so it ought to be available.  It also lists fontnames of the form
/normalfontname.r##, such as /Ryumin-Light.r58.  Using one of these fonts finishes without errors but prints a blank page -- no text, no surrounding graphics.   Anybody know what these .r fonts are?
They are not listed for Times-Roman, Helvetica, etc.

Replacing ISOLatin1Encoding with KanjiEncoding, as called for by the japanese red book appendix E returns this error:
%LPS-W-UNDEF, undefined: Name not known - offending command is KanjiEncoding

A conventional setfont like this works just fine:
/Ryumin-Light-EUC-H findfont 24 scalefont def
             
The printer is a DEC LN82r, running off a Vax/VMS 5.4-2, DECprint 4.1J.

Thank you for any help.  Please post or reply by e-mail.

-Jim/Tokyo
From: doug@neumann.une.edu.au (Doug Colman)
Newsgroups: comp.lang.postscript
Subject: a2ps for extended ascii
Keywords: a2ps extended ascii
Date: 31 Aug 92 12:25:36 GMT

HELLO POSTSCRIPTERS:
Hope this is not a FAQ or any other kind of 
gross etiquette neglectfulness, but nevertheless:
* Does anyone have an a2ps or textps or similar 
that will handle extended ascii (instead of 
making silly substitutes) ??? Please email me.
Many thanks.
-- DOUG.

   .////.   .//       Doug Colman - Dept of Maths, Stats           .////.   .//
 o:::::::::///    and Computer Science, Uni. of New England,     o:::::::::///
>::::::::::\\\   Armidale NSW Australia - Ph 067 712365(Aust)   >::::::::::\\\
   '\\\\\'   \\ doug@neumann.une.edu.au  dcolman@metz.une.edu.au   '\\\\\'   \\
From: jsd@esl.com (Jeff Dalton)
Newsgroups: comp.lang.postscript
Subject: "2 up" PS routines?
Date: 26 Aug 92 06:27:07 GMT
Organization: ESL Inc., S'vale CA

I have a large document in Postscript format and I'd like to 
print it with 2 pages per page.  I know VERY LITTLE about Postscript, but
I heard second hand that "n-up" routines are commonly discussed and 
posted to this group.  Is this something I should try to do just to save
a tree?  Does any have a routine I can include in my document?
--
Jeff Dalton                    If a train station is where a train stops,
jsd@esl.com                            what does that make a workstation?
ESL Inc., S'vale CA
From: bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn)
Newsgroups: comp.lang.postscript
Subject: Re: Where's the PS Level 2 LaserWriter Driver?
Date: 29 Aug 92 15:15:39 GMT
In-reply-to: delahunt@adobe.com's message of 29 Aug 92 03:10:36 GMT


In article <1992Aug29.031036.18944@adobe.com> delahunt@adobe.com (Jim DeLaHunt) writes:

   Adobe is nearing completion of its Printer Driver for the Macintosh.  I've 
   been using a pre-release copy, and it works wonderfully!  It functions
   as a replacement for Apple's LaserWriter driver.  Look for it in
   third quarter of 1992.

	   --Jim DeLaHunt, Developer Support, Adobe Systems Incorporated

Great!  Any dates for release of Adobe's Windows PostScript driver?  

Berthold K.P. Horn
Cambridge, Massachusetts, USA
From: ccm038@othello.ucdavis.edu (Jason Yan (can cook))
Newsgroups: comp.lang.postscript
Subject: ASCII file --> POSTSCRIPT (I need a converter for IBM)
Date: 3 Sep 92 05:43:41 GMT
Organization: Computing Services, UC Davis
Originator: ccm038@othello.ucdavis.edu

What I'm getting at is that I need a postscript program that will take
an ascii file (plain vanilla text) and convert it into an encapsulated
postscript file so that output that is ascii will be printed correctly
on the laser printer.  

I have a program from Adobe themselves that does a line by line
translation of an ascii file into postscript, and it does work.
Only problem is, it doesn't seem to recognize the end of file on the
IBM's.  While using the "lpr" program on unix, the postscript file
printed fine without hangups.  On the IBM however, the laserjet
printed all the pages of that job BUT froze.  It seemed like it didn't
know when the end of file had been reached.  What finally happens is that
the printer waits too long and decides to reset.  Only problem is, with
a large number of people using the same printer, it becomes a major
snail...

Anyway, please somebody help.  I'd appreciate it very, very much! 

p.s. could there be something wrong with the EOF character on IBM's
     that's screwing up the postscript printer?

p.s.s.  please reply by mail.  Thanks in advance!  Any help appreciated!

					Jason Yan
					ccm038@fred.ucdavis.edu
					Instructional Technologies
					U.C. Davis, CA
Newsgroups: comp.lang.postscript
From: cmbecker@casbah.acns.nwu.edu (Canton Becker)
Subject: Fax2ps program desperately needed
Organization: Northwestern University, Evanston Illinois.
Date: Thu, 27 Aug 1992 22:24:32 GMT

    I'm desperately need a fax2ps program that _works_.  (I've tried the
fax2ps program that came with the Trufax modem my school uses, but it doesn't
even put the %%!PS-Adobe header...)  Any help (even helpful flames) welcomed. 
           Thanks a lot...
		-Canton.
From: ara@zurich.ai.mit.edu (Allan Adler)
Newsgroups: comp.lang.postscript
Subject: Trouble with GS on PC
Date: 2 Sep 92 17:28:40 GMT
Article-I.D.: camelot.ARA.92Sep2122840
Distribution: comp
Organization: M.I.T. Artificial Intelligence Lab.

I'm posting this for a friend of mine who is having trouble installing 
Ghostscript on his MSDOS 80386 PC. Please reply to him directly at
SHOTLAND@SBBIOVM.BITNET.

==============================================================================

Alan: here is the message I get when I run gs386.exe and it bombs:


DOS/4GW Protected Mode Run-time   Version 1.3
Copyright (c) Rational Systems, Inc. 1990-1991
Unexpected interrupt 0D (code 65540000) at 3D78:00000BF5
TSF32: prev_tsf32 65B8
 SS 0088  DS 3D88  ES 3D88  FS 0000  GS 0000
 EAX 00003D88  EBX 00000000  ECX 00000100  EDX 00003D78
 ESI 00001F68  EDI 00003E10  EBP 0000658A  ESP 00006586
 ID 000D  CODE 65540000 CS:IP 3D78:00000BF5  FLAGS 00010256
CS is USE16, byte granular, and     254F limit
SS is USE16, byte granular, and     7CFF limit
DS is USE16, byte granular, and     2F5F limit
ES is USE16, byte granular, and     2F5F limit
FS is USE16, byte granular, and        0 limit
GS is USE16, byte granular, and        0 limit

In connection with the message I get when gs386.exe bombs, it might be
relevant to note that my machine is a 386SX with 2 Meg. of RAM.

Tom Shotland
SHOTLAND@SBBIOVM.BITNET
From: kaustell@viikki.Helsinki.FI (KIM OLAVI KAUSTELL (MATEK))
Newsgroups: comp.lang.postscript
Subject: Sending Postscript commands to a HP laserjet
Date: 28 Aug 92 06:59:37 GMT
Distribution: comp.periphs.printers
Organization: University of Helsinki, Fac.Agric.For.

Hello !

Our dept. got a postscipt cartridge for our HP Laserjet III. The cartridge 
came (and we even replaced it once) with no good default values for 
the margins. Now we should be able to send some commands to the cartridge, 
but there are two problems: 

	1) the password of the cartridge has been changed from it's default
	   value (according to the test page), and no-one knows what it is 
	   now
	2) No-one is "familiar with postscript programming" (as the 
	   manual puts it) to be able to send these commands to the 
	   printer.

My question is: How do I send commands to the printer (or to be more 
specific to the PS cartridge) ?

Any help appreciated


                        y-=p Kim Kaustell p=-y
-----------------------------------------------------------------------------
HELSINKI UNIVERSITY                     Tel.      +358+0+70851
Dept. Agric. Engineering                Fax.      +358+0+7085491
And Household Technology                Internet : Kim.Kaustell@Helsinki.Fi
Helsinki, Finland                       EARN     : KAUSTELL@FINUH
-----------------------------------------------------------------------------
Newsgroups: comp.lang.postscript
From: wrp@pslsrv1.gvl.unisys.com (Bill Pringle)
Subject: Re: Where's the PS Level 2 LaserWriter Driver?
Organization: Paramax Systems, Ivyland, PA
Date: Sat, 29 Aug 1992 13:28:32 GMT

In article <BRECHER.92Aug29004133@husc8.harvard.edu> brecher@husc8.harvard.edu (Jonathan Brecher) writes:
>In article <1992Aug29.031036.18944@adobe.com> delahunt@adobe.com (Jim DeLaHunt) writes:
>
>>Adobe is nearing completion of its Printer Driver for the Macintosh.  I've 
>>been using a pre-release copy, and it works wonderfully!  It functions
>>as a replacement for Apple's LaserWriter driver.  Look for it in
>>third quarter of 1992.
>
>Do you mean fourth quarter, or are we going to see this driver in the next
>month?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A quick lesson on the realitivity of time :^)

When vendors, especially developers, say third quarter, they mean they will
be done developing in third quarter, which means it will be ready to be
shipped in the fourth quarter, which means you will see it in the first 
quarter of the next year.  Unless, of course, you are dealing with a
retailer, which means you will see it in the second quarter.

Hardware, on the other hand, is slightly different.  When they say
something will be shipped on a certain day, that means they will
put a label on it and call their shipping department to pick it up.
Allow another few weeks for it to get to the shipping dock, followed
by a few weeks for the shipper to pick it up, followed by ....

You get the picture.  Besides, he said you should *look* for it, not
that you could see it :^)

(Sorry, I guess it is too early for me to be reading news today :^)
============================================================================
Bill Pringle                      Software Tools
Paramax Corporation               Voice: (215)443-7500 X4023
Internet: wrp@ivy.unisys.com      UUCP: ...!uunet!mimsy!widener!gvls1!wrp%ivy
From: chesnutt@adobe.com (Stan Chesnutt)
Newsgroups: comp.lang.postscript
Subject: Re: Compiling PostScript code
Date: 29 Aug 92 01:21:50 GMT
Distribution: comp.lang.postscript
Organization: Tuesday Weld Fan Club

In article <1992Aug28.032106.28216@adobe.com> delahunt@adobe.com (Jim DeLaHunt) writes:

>Do you have a C compiler available?  Use its preprocessor to macro-
>substitute short names for long ones.  To use your example:
>
>/d /def load def
>#define def d
>
>#define MyFunctionMapper  A
>#define elvis 		  e
>/* etc.... */ 

Be careful with this approach, as the C preprocessor will perform
substitutions (macro conversions) upon PostScript strings, which are
delimited by parentheses.  You may get your text strings (incorrectly)
shortened.

C-preprocessor substitution stops at a C-string boundary, which is
the double-quote.

Stan
-- 
 -----------------------------------------------------------------------------
 Stan Chesnutt,  Adobe Systems  chesnutt@adobe.com {sun|decwrl}!adobe!chesnutt
Newsgroups: comp.lang.postscript
From: haahr@adobe.com (Paul Haahr)
Subject: Re: Question about "nested" Type-1 fonts
Organization: Adobe Systems Incorporated
Date: Thu, 3 Sep 1992 23:47:08 GMT

Steve "daffy" Hunt writes
> The font is a "Bold Oblique" font, and on examining it I found that it
> has been implemented as a cut-down font with no CharStrings of its
> own.  Instead the whole "Bold" version of the font has been physically
> included in the file, with code to avoid defining it if the printer
> already knows about it.
> 
> There is some code at the bottom that copies (by reference) the
> "nested" font's CharStrings across into the font being defined.

it's called a synthetic font.

> Now that I am aware of this technique I want to update my program to
> cope with it.  I have some questions though:-
> 
> (1) Does Adobe condone this sort of thing, given the strictures in
> Chapter 10 of the Black Book?

yes.  see section 9.1, ``synthetic fonts''

> (2) Can ATM cope with this sort of font?  If not, then presumably they
> will gradually disappear and be replaced by ones that it can cope
> with.  If ATM cannot handle this technique, then I won't either.

yes.  buy a retail copy of atm and see the version of Helvitica-Oblique that  
ships with it.

> (3) Does anyone ever nest fonts MULTIPLY?  If so, this will complicate
> my code, but on the other hand I can't see why you'd want to do this.

not that i know of.  synthetic fonts are used for matrix twiddling.  multiple  
twiddles can be done at one time.  (and, by the way, i doubt ATM would handle  
multiply nested synthetic fonts.)

--
paul haahr		adobe systems incorporated
haahr@adobe.com		...!decwrl!adobe!haahr		+1 415 962 6056
Newsgroups: comp.lang.postscript
From: wrp@psl1.gvl.unisys.com (Bill Pringle)
Subject: Re: Templates for labels in Postscript
Organization: Paramax Systems, Ivyland, PA
Date: Mon, 31 Aug 1992 17:04:27 GMT

In article <1992Aug31.111529.28176@eua.ericsson.se> euabim@eua.ericsson.se writes:
>I have used SQL*ReportWriter ( a 4GL-Report Tool from Oracle) to generate
>mailing adresses from database which I want to print them in labels.
>
>Has anybody made any template for labels in Postscript? I have very little
>experience in Postscript programs, so I  would be very gratefull to get
>a copy of the template.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I wrote a C program that takes a configuration file and a data file
and produces labels.  The configuration file describes the labels
(size, number of rows & columns, margins on sheet, etc), and the data
file contains the data you want on the labels.

This program (source & DOS executable) is available via anonymous ftp
from gvl.unisys.com.  The file is ~/pub/albums/labels.zoo.

I have compiled and run it under MS-DOS (Turbo C), and Unix (Sun 3 & 4).
No warranty, expressed or implied as to the useability, etc. etc. :^)



============================================================================
Bill Pringle                      Software Tools
Paramax Corporation               Voice: (215)443-7500 X4023
Internet: wrp@ivy.unisys.com      UUCP: ...!uunet!mimsy!widener!gvls1!wrp%ivy
Newsgroups: comp.lang.postscript
From: ken@bristol.com (Ken Blackwell)
Subject: Re: Raw MS-Windows GDI to Postscript Converter
Reply-To: ken@bristol.com
Organization: Bristol Technology Inc.
Date: Tue, 1 Sep 1992 23:30:27 GMT

In article <87290@netnews.upenn.edu>, burgess@eniac.seas.upenn.edu (Richard Burgess) writes:
|> 
|> I have a need to convert GDI calls (text and graphics directed at 
|> the printer) to a saveable file format.  While I did not previously 
|> need to store an electronic copy of this form, a need has arisen.  

|> Richard Burgess
|> The Cleveland Clinic Foundation
|> email burgess@eniac.seas.upenn.edu   

If you are keeping everything local on the PC, why not write the data 
out to a Windows Metafile?  Many packages (Word, Micrografx Designer, etc.)
can read a Metafile and display/print it.  It is also easy to write a
program to play one in a window.  (SDK contains a sample that is close
to what you may want.)

If you really need the file in PS format for viewing on UNIX/VMS/etc.
systems under ghostscript, how about printing to a file on the PC in
PS format and copying that file over to the target system?

Either of these can be done in Windows without having to write code.


======================================================================
Ken Blackwell                              Bristol Technology Inc.
Internet: ken@bristol.com                  898 Ethan Allen Highway
UUCP: uunet!bristol!ken                    Ridgefield, CT 06877
(203) 438-6969                             Fax: (203) 438-5013
BTI Product Information: info@bristol.com
======================================================================
From: cameron@symcom.math.uiuc.edu (Cameron Smith)
Newsgroups: comp.lang.postscript
Subject: PostScript clip art archive?
Summary: Does one exist?
Keywords: clip art, EPS, archive
Date: 4 Sep 92 18:01:21 GMT
Organization: none

From time to time I've seen EPS clip art and other utility graphics
(cassette tape labels, etc.) posted to this group.  Is there an
archive anywhere where such stuff is collected?

In particular I need a circle-with-slash type "No Smoking" logo,
which seemed like a common enough graphic that somebody must have
done one by now.  I'm not great at computer sketching and drawing
and I'd much rather download such a graphic than try to create
my own.  I figured if an archive existed this would probably be
in it.

Actually, if some generous soul emailed me an EPS version of that
logo, that would solve my immediate need, but I'd still be interested
in hearing of an archive for future reference, if one exists.

Thanks in advance.  I'll summarize if I get email; posting is OK too
as I'm a regular reader of this group.

--Cameron Smith
  cameron@symcom.math.uiuc.edu
Newsgroups: comp.lang.postscript
From: palmerp@math.orst.edu (Paul A Palmer)
Subject: Re: Postscript as a REAL programming language.
Reply-To: palmerp@math.orst.edu
Organization: Dept. of Math, Oregon State University
Date: Fri, 4 Sep 1992 06:27:00 GMT

In article <1992Sep3.100724.1@max.u.washington.edu> games@max.u.washington.edu writes:

   Along the same lines, does anyone have any examp-les of postscript code that
   are aimed at doing things other than laying out a page?

I was sure I'd seen a Turing machine simulator in postscript, but I can't find
any references to it now. Has anyone seen such a beast?


--
Paul Palmer
Department of Mathematics     	E-mail: palmerp@math.orst.edu
Kidder Hall 368
Oregon State University, Corvallis, Oregon 97331-4605
Newsgroups: comp.lang.postscript
From: liuxu@vuse.vanderbilt.edu (Xudong Liu)
Subject: wanted: help on transfig
Originator: liuxu@cmr2
Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
Distribution: usa
Date: Wed, 2 Sep 1992 15:14:27 GMT

Is there anybody got the package "transfig" recently and had it 
installed for Sun workstation? I kept getting error messages in
compilation and just couldn't use it. However, the command
"transfig-sun3" was produced by 'make'. But things still not working.

I'll appreciate if sombody can send me the procedures that lead
to the correct installation.  
Newsgroups: comp.lang.postscript,comp.text.tex,comp.fonts
From: bernd@melon.iss.nus.sg (Bernd Nordhausen)
Subject:  Request: PS font to bdf/snf font converter
Reply-To: bernd@iss.nus.sg (Bernd Nordhausen)
Organization: Institute Of Systems Science, NUS
Date: Mon, 31 Aug 1992 05:22:15 GMT



Is there a tool available that converts a PostScript 1 font into bdf or 
snf font? 

Specifically I want to preview dvi files using PostScript fonts with xdvi
which uses bdf or snf fonts.  

I have tried pstopk and then mftobdf, but mftobdf gave me core dump. I also
heard about ps2mf, though I cannot find it on archie. But a straight ps to bdf
converter should work best.

Thanks in advance,

Bernd
-- 
   Bernd Nordhausen (bernd@iss.nus.sg)
   Institute of Systems Science                           Ph: +65 772-6240 
   National University of Singapore                      FAX: +65 778-2571
   Singapore 0511                               
Newsgroups: comp.lang.postscript