HDTenEightyP/NetNews huggingface dataset:
From: zisk@adobe.com (Stephen Zisk)
Subject: Re: Tumblemode and duplex mode
Followup-To: comp.lang.postscript
Organization: Adobe Systems Incorporated
Date: Sun, 13 Dec 1992 06:23:33 GMT

In article <1gal7aINNa9p@moe.ksu.ksu.edu>, terry@eece.ksu.edu (Terry Hull)
wrote:
> 
> I have two basic questions.  
> 
> 1)  How do you set the tumble mode for a printer with duplexing capability?
On a Level 1 machine, this is normally done using settumble (false = flip
across long edge, true = flip across short edge). I believe there was also
at least one printer that did it by using ints for values to setduplex, but
I am not positive. For Level 2, you need to set the /Tumble key to true in
a call to setpagedevice, although for compatibility, duplex printers would
probably have the settumble operator available.
> 2)  Where is the best place in a PS file to put things like the duplex mode
> and the tumble mode? 
Presuming you want the whole file in a single mode, do it as part of
the setup, before you fiddle with graphics state or put any marks on
a page. This is definitely required in level 2, where the call to
setpagedevice will initialize your state. The big caution here is that
on some Level 1 machines, duplex and tumble obey save/restore, while
on others they do not! This means you cannot rely on restore setting
you back to simplex within your job. On Level 2 machines, setpagedevice
strictly obeys save/restore.

Stephen Zisk (zisk@adobe.com)  Disclaimer: These are my personal views
Adobe Systems Incorporated     and do not represent the position of
Eastern Regional Office        Adobe Systems Incorporated.
24 New England Exec. Park
Burlington, MA 01803           They pay me but they don't muzzle me!
Newsgroups: comp.lang.postscript
From: pd@world.std.com (Peter F Davis)
Subject: Re: PS Development tools for Macs and PCs
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 15 Dec 1992 01:04:19 GMT

henry@trilithon.mpk.ca.us (Henry McGilton) writes:

>The latest issue of the Adobe developer Association newsletter
>contains a kind of apologia for the current state of support
>for LaserTalk and hints at Great Things To Come in future.

According to the person I spoke to at Adobe, there is a new version of
Lasertalk coming soon.  It will have support for Level 2, and cleanup a
few glitches.  It didn't sound like there will be any major new features,
though.  Also, Lasertalk only supports on-screen previewing for a subset
of Level 1 printers, namely those which support the cexec operator.

>Have you considered using a NeXT with DisplayTalk?  You can get a
>pretty good NeXT at prices comparable to Macintosh.  PostScript
>is the imaging model for the NeXT screen, and NeXTSTEP Release
>3.0 supports full blown PostScript Level Two.  DisplayTalk is
>available from Adobe for the NeXT as a PostScript development and
>debugging environment.

I've used Display PostScript and Displaytalk on my DECstation for years.  This
is certainly an attractive environment for developing PostScript.  However,
I already have a Mac, and I'm planning to get a PC for various other reasons.
I don't think I could justify a NeXT machine for home right now.

>We developed all the examples (amounting to around 13,000 lines of
>PostScript code) for our book (``PostScript by Example'', published
>by Addison-Wesley) on NeXTs using just YAP (Yet Another Previewer).
>The response is fast and the instant gratification (uh, I mean
>turnaround) sure beats messing around on a Mac with a printer.

Great book, by the way.  I haven't read it in detail yet, but just from
leafing through and reading here and there, it looks excellent.    You might
want to check with Addison-Wesley about something ... the first copy I bought
was missing the color plates, as were 5 of the other 7 copies in that store.
Newsgroups: comp.lang.postscript
From: szhan@jeeves.uwaterloo.ca (Siming Zhan)
Subject: Re: How 2 view full portrait page with Ghostscript 2.5 (PC)
Keywords: ghostscript, pc, portrait, scaling, TeX
Organization: University of Waterloo
Date: Sun, 13 Dec 1992 02:45:42 GMT

I use gs (or gs386) to view ps files. I get another extreme -- too small.
I need help, too.

Newsgroups: comp.lang.postscript
From: stkarlid@linda.lidac.liu.se (Stefan Karlsson)
Subject: PS to QUIC filter [wanted]
Summary: Filter that translates PS to QUIC-code
Keywords: quic,ps,filter,talaris,qms
Organization: Computer Service Centre, University of Linkoping
Date: Thu, 17 Dec 1992 19:51:14 GMT

We have an old Talaris1200 (LaserGrafix ?) printer that's connected
to a Talaris200 QUIC-GRIP Controller.

The system used to be connected to an DEC 2020 running TOPS
using some kind of TeX to QUIC filter to print on the printer.

We are now using DecSystem5500's and Dec2100's instead.
What I would like to do is to hook up the printer to one
of our 5500's and be able to print PostScript on it.

So if there is anyone that knows anything about a
PostScript to QUIC filter please let me now.

Thanks, Stefan

-- 
____________________________________________________
 Stefan Karlsson    
 LIDAC Computer Centre, Linkoping University, SWEDEN
 Email: SteKa@LIDAC.LiU.SE
Xref: sparky comp.lang.postscript:5941 comp.sys.sun.admin:9355
From: rberlin@birdland.Eng.Sun.COM (Rich Berlin)
Newsgroups: comp.lang.postscript,comp.sys.sun.admin
Subject: Re: NeWSPrint "Structured PostScript"
Date: 11 Dec 92 19:37:13
Organization: SunPics -- A Sun Microsystems Business
NNTP-Posting-Host: birdland
In-reply-to: pwh@bradley.bradley.edu's message of 10 Dec 92 22:19:23 GMT

Don't knock yourself out; your fragment isn't the problem.  The
message

psinj: input is a non Structured PostScript document, result not guaranteed

doesn't refer to the fragment being injected; it refers to the file
into which you are trying to inject.

-- Rich
--
===============================================================================
Richard.Berlin@Eng.Sun.COM   |   The significant problems we face cannot be
			     |   solved at the same level of thinking we were
			     |   at when we created them.  -- Albert Einstein
From: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP)
Newsgroups: comp.lang.postscript
Subject: Wanted: Recycle logo
Date: 14 Dec 92 22:02:36 GMT
Reply-To: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP)
Organization: Lockheed Sanders, Inc.


Does anyone have a short piece of postscript code to generate the RECYCLE logo?

Thanks
--
John J. Cupak, Jr., CCP       Lockheed DECNet: MERVAX::CUPAK
Lockheed Sanders, Inc.        Internet       : cupak@rapnet.sanders.LOCKHEED.COM
95 Canal Street / NCA15-221   CompuServe     : 72411,3176 
Nashua, NH 03061-0868         Telephone      : (603) 885-2134     FAX: 885-8033
Newsgroups: comp.lang.postscript
From: e-sink@uiuc.edu (Eric W. Sink)
Subject: Re: Need ascii to Postscript filter WITH GRAPHICS
Originator: sink@ux2.cso.uiuc.edu
Reply-To: e-sink@uiuc.edu
Organization: University of Illinois at Urbana
Date: Tue, 15 Dec 1992 20:22:28 GMT

mikem@travis.csd.harris.com (Mike McCole) writes:

>I'm in need of a filter that will allow me to print plain ascii files on a
>postscript printer. (LaserWriter II)  It's on a unix box.  Any pointers to
>a source file will be appreciated.

I too need one of these, but I also want the ability to arbitrarily place
EPS graphics on the page too.  No, I don't need the text to flow around
them! :-)

Do any of the tools do this?  I modified nenscript to provide such
functionality, albeit somewhat crudely.

-- 
Eric W. Sink, Spyglass        | "You are the Pan."
1800 Woodfield Drive          |     - Rufio
Savoy, IL  61826              |
---- e-sink@uiuc.edu ---------|---------- 217-355-6000 -----------------------
From: steve@acorn.co.uk (Steve "daffy" Hunt)
Newsgroups: comp.lang.postscript
Subject: Re: Details of "setpageparams" needed - SUMMARY
Date: 11 Dec 92 19:35:37 GMT
Organization: Acorn Computers Limited, Cambridge, UK
X-Newsreader: TIN [version 1.1 PL8]

I wrote:

: I am led to believe that there is a commonly-implemented, but
: non-standard PostScript operator called "setpageparams".  It is
: apparently supported on many typesetters (particularly Linotronics)
: but not on laserprinters.
: Can anyone shed any light on this?

Many thanks to everyone who replied.  I have tried to reply
to you all by email but in one case it bounced (sorry Andrea).

To summarise the responses so far:-

setpageparams is often implemented on typesetters, but is not part of
standard PostScript.  It may therefore vary and should be treated with
caution.  It is used to tell the RIP how big the page is, and how to
position it on the film.

The syntax is:-

statusdict begin
  width height margin orientation setpageparams
end

Width and height are the size in points, width being in the fast scan
direction and height in the slow scan direction.  Margin is the
distance in points from the start of the fast scan to the start of the
imageable area.  Orientation of 0 means the X axis is oriented along
the slow scan direction, and 1 means the X axis is oriented along the
fast scan direction.  (Note that width and height are relative to the
scan directions, not the axes)

I understand that there is also a command "currentpageparams" which
puts the current four values onto the stack in the same order.

-- Steve
-- 
				Steve Hunt	steve@acorn.co.uk
Newsgroups: comp.lang.postscript
From: dharper@hounix.org (David Harper)
Subject: C libraries for PostScript, or what?
Organization: Houston UNIX Users Group (HOUNIX), Houston, TX
Date: Sat, 12 Dec 1992 18:14:38 GMT

Netfolks,

I am looking for a C function library to help me be more
productive in producing 'spiffy' reports on a PostScript
printer.  The reports will be a combination of 2-D and 3-D
bar charts (in color) with accompanying paragraphs of text.

The C programs I will be replacing use custom C code to
generate PostScript output.  Too many nit-picking format
details are sprinkled throughout the C code.  (Example:
determining how big a paragraph of text is so an appropriate
size box can be placed around it.)

Historically, creating one of these custom C programs took a
considerable amount of time.  Any ideas on how this process
can be speeded up?

I have heard about a C library called c_pslib, available from
The Austin Works.  Any comments on this package? Any others
out there like it? Any comments of any kind?


Regards, David      dharper@hounix.org
Newsgroups: comp.lang.postscript
From: beck@freia.inf.tu-dresden.de (Andre Beck)
Subject: Re: Printing Text+Image file
Organization: Dept. of Computer Science, TU Dresden, Germany.
Date: Tue, 15 Dec 1992 18:06:53 GMT

May be you forgot to load a font first:

/Times-Roman 24 selectfont

50 650 moveto
(Description) show

[...]  image stuff


showpage

-- 
,------------------------+---------------------------------------------.
| Andre' Beck (ABPSoft)  |   TCP/IP-Mail: beck@freia.inf.tu-dresden.de |
| HG R 142               |   VMS        : hermes::beck                 |
+------------------------+---------------------------------------------+
|       Windows is the best placebo against MS-DOOF headaches !        |
`----------------------------------------------------------------------'
Organization: Arizona State University
Date: Tuesday, 15 Dec 1992 11:41:59 MST
From: Ben Goren <AUBXG@ASUACAD.BITNET>
Newsgroups: comp.lang.postscript
Subject: Re: font convertors from adobe to postscript
 <1992Dec15.053540.8941@stortek.com>

I probably should have stressed the possiblility of copyright violations
when I posted my suggestion for converting Mac fonts to something that
is more readily accessible.

The fonts I have are only being used on one machine and with one printer
only. It is my understanding that this is perfectly legal, even though
I've translated the fonts into more than their original format. If Adobe
has a problem with that, well....

I'm not sure if the restriction is one copy per computer, or one copy
per printer, or what. I've heard that it's OK to purchase an Adobe font,
and distribute it to all the people on the network who print to the
same printer. I've also heard that you can't do that. And what about
ATM, if the first is true? Anybody at Adobe care to clear this up? And
any other font vendors who might have a different policy?

b&
Newsgroups: comp.lang.postscript
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Re: Printing Text+Image file
Organization: Trilithon Software
Date: Tue, 15 Dec 1992 20:53:03 GMT

In article <1992Dec15.154200.23690@cs.wayne.edu>  writes:
    *  
    *  We tried including the following code with the above
    *  
    *  50 650 moveto
    *  (Description) show
    *  We are using "pageview" on SPARC to view the result, and we are
    *  able to view the description + image.  
    *  The problem we face is when we try to print the same, we do not
    *  get any output..!!..
You need to establish a font before setting text.  PageView uses
NeWS which has a default font established.  Do something like

    /Courier-Bold findfont 14 scalefont setfont
    50 650 moveto
    (Description) show
Alter the font selection and size to taste.
	........  Henry
Newsgroups: comp.lang.postscript
From: jollie@herky.cs.uiowa.edu (Jeffrey C. Ollie)
Subject: Problems printing Russian New Year's Greeting
Date: Wed, 16 Dec 1992 23:40:17 GMT
Organization: The University of Iowa, Iowa City, Iowa
Followup-To: comp.lang.postscript

I had some problems printing the Russian New Year's greeting posted a while
ago.  The problem stems from the fact that it seems to expect 11x17 paper.
To get it to print, I added:

  8.5 72 mul 0 translate
  90 rotate
  .75 .75 scale

This gets it to print fairly nicely on 8.5x11 paper.
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Help with QMS PS-810
Date: 19 Dec 92 03:31:44 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Dec17.185946.3606@iplmail.orl.mmc.com> steveg@iplmail.orl.mmc.com (Steve Gabrilowitz) writes:
<
<1.  The printer has a HPLJ emulation mode that can be selected via a switch on
<the back of the machine.  This is a rather inconvenient way to switch modes
<though, it would be much preferred if there was an escape sequence or something I
<could send the printer in "batch" mode to pop it into HPLJ emulation and then
<another sequence to put it back to postscript - any ideas?  Also, which HPLJ does
<this thing emulate anyhow, a II or an II+ or an III or ????

Only later models of QMS printers have auto detection.  You have to use the
switch on this model.  The manual for the one I have at work is at work.
As for the emulation, I'll have to look it up. (brown@vidiot.com)

<2.  Apparently this printer came with a couple of utility diskettes when it was
<new, and QMS wants something like $150 for those diskettes and the manuals for
<the software on them - does anybody know what these utils do?  Are they worth
<having, or more specifically are they worth spending that much $$ on?

They are only for setting various modes on the printer, like speed, handshaking,
etc.  That can be done without the programs on the diskettes, which are for the
PC anyway and don't work under Unix.

More info can be obtained at the above address.  Keep in mind that I am on
vacation and won't get back to you right away, until after the new year.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Newsgroups: comp.lang.postscript
From: fishboy@gandalf.UMCS.Maine.EDU (Jon Everett)
Subject: NeWS
Keywords: NeWS, Display PostScript
Organization: University of Maine Department of Computer Science
Date: Thu, 17 Dec 1992 20:50:58 GMT

Is this newsgroup considered an appropriate forum for the
discussion of NeWS?  I remember a listserv group dealing 
with it a couple years ago, but no such thing appears in
my news distribution now.  Does it still exist, or is this
now the closest thing there is to a NeWS discussion group?


-- 
==============================================
Jon Everett  
Univ. of Maine 
fishboy@gandalf.umcs.maine.edu

Newsgroups: comp.lang.postscript
From: shaver@convex.com (Dave Shaver)
Subject: Re: Wanted: Recycle logo
Date: Tue, 15 Dec 1992 18:58:36 GMT
Organization: CONVEX Computer Corp, MPP System Software, Richardson, TX
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP) writes:
>Does anyone have a short piece of postscript code to generate the RECYCLE logo?

Here's one that was posted last year.

/\  Dave Shaver
\\  CONVEX Computer Corporation, Richardson, TX
\/  Internet: shaver@convex.com    UUCP:  uunet!convex!shaver

| From: ross@tiger.UUCP (Ross Inglis)
| Newsgroups: comp.lang.postscript
| Subject: Shorter Recycle logo
| Message-ID: <15082@mcdphx.phx.mcd.mot.com>
| Date: 10 Jul 91 19:59:09 GMT
| Sender: listen@mcdphx.phx.mcd.mot.com
| Reply-To: ross@tiger.UUCP (Ross Inglis)
| 
| [...]
| 
| %!
| % Recycle logo. Scaled on ~1000 grid in case I put it in a font sometime.
| % Drawn 'by eye' using GhostScript.  R. Inglis. 1991
| %
| /Recycle {
| 	gsave 10 setlinewidth
| 	currentpoint translate
| 	1 1 3 { pop newpath
| 		0 -300 moveto 100 -120 lineto 100 -180 lineto
| 		500 -180 600 0 80 arcto pop pop pop pop
| 		360 -420 100 -420 80 arcto pop pop pop pop
| 		100 -420 lineto 100 -480 lineto closepath stroke
| 		-300 -180 moveto -50 -180 lineto -50 -420 lineto
| 		-360 -420 -430 -300 80 arcto pop pop pop pop
| 		stroke 120 rotate
| 	} for
| 	grestore
| } def
| 
| gsave
| 300 400 moveto
| 0.25 0.25 scale
| Recycle
| grestore
| showpage
Organization: University of Illinois at Chicago
Date: Sun, 13 Dec 1992 01:44:08 CST
From: Ed Garay   (u12570@uicvm.uic.edu) <U12570@uicvm.uic.edu>
Newsgroups: comp.lang.postscript
Subject: Re: Adobe File Server

   wsaito@ucrac1.ucr.edu (William Saito) asks:
   >
   >        I was wondering if the Adobe file server is just a mail system.
   >Does it have an ftp site?
   >
   >        Please mail me the ftp site if anyone knows.  Thanx.

Apparently, there is a new Adobe FTP Archive, under construction,
at ftp.mv.us.adobe.com [130.248.1.4]. CD pub/Adobe will get you
to the familiar Documents, Programs, etc. subdirectories.

I don't think the FTP archive is complete yet; for instance,
it doesn't have the new Technote 2012 on Adobe PostScript Fax
which I am very interested in reading.

--- Ed Garay
Newsgroups: comp.lang.postscript
From: sgccncr@citec.oz.au (Nick Russell)
Subject: Postscript FAQ
Organization: CITEC
Date: Thu, 17 Dec 1992 04:12:30 GMT

How can I get the Postscript FAQ ?
Newsgroups: comp.lang.postscript
From: szhan@watdragon.uwaterloo.ca (Siming Zhan)
Subject: Re: How 2 view full portrait page with Ghostscript 2.5 (PC)
Keywords: ghostscript, pc, portrait, scaling, TeX
Organization: University of Waterloo
Date: Tue, 15 Dec 1992 06:57:21 GMT

In article <ej.723827271@cc.univie.ac.at> ej@cc.univie.ac.at (Ewald Jenisch) writes:
>
>I'm having somewhat difficulties in making Ghostscript work the way I
>want.
>
>For my setup: I'm using Ghostscript 2.5 on a SunRace Notebook. This
>machine is equipped with a greyscale LCD. GS2.5 should be used for
>previewing TeX/LaTeX-output made into Postscript by dvips.
>
>However I can only see parts of the actual portrait page, i.e. the image
>of the output pages is too large to fit on the screen. What I want
>however is output scaled down so that the entire page fits on the
>screen for previewing the layout of the overall page.
>
>First I thought this might be due to the machine I'm working on. I've
>tried that on other machines equipped with VGA-displays -- with the same
>results. Next I tried to fiddle with the "resolution" (-r) options of GS
>-- to no extent.
>
>Is it possible to scale-down a PS-file by changing something within the
>file? If yes, WHAT should I look out for/change? (As a matter of fact,
>I'm no PS-programmer, only a "PS-user")


I am using both gs252286 and gs252386 on my 386 machine with a
VGA monitor. They work fine. You can use -g switch (the geometry switch)
to change the dimension of your window size. 

	gs -sDEVICE=VGA -g<width>x<height>+X+Y your.ps

For example, I can do:

	gs -sDEVICE=vga -g400x520 my.ps

or equivalently you can do:

	gs -sDEVICE=vga -dDEVICEWIDTH=400 -dDEVICEHEIGHT=520 your.ps

where the <width> and the <height> are the numbers of pixels per inch.
You can try different dimensions. +X+Y shall be the coodinates of the
lower-left corner of your display. I also use gs386. It works fine, too.

Happy Ghosting!

Siming Zhan (Waterloo).
-- 
_____________________________________________________________________
mail:  Siming Zhan, Dept C & O, Univ. of Waterloo, Waterloo, ON N2L 3B9
email: szhan@jeeves.uwaterloo.ca   OR  	 szhan@watdragon.uwaterloo.ca
phone: (519) 885-1211 ex      (office),         (519) 725-1802 (home)
Newsgroups: comp.lang.postscript
From: jgm@cs.brown.edu (Jonathan Monsarrat)
Subject: Re: font convertors from adobe to postscript
Organization: Brown University Department of Computer Science
Date: Mon, 14 Dec 1992 20:20:57 GMT


> Create a new document in your favorite word processor, and put a word
> or two in the font you want to convert, and nothing else.

Some smart word processors only spit out the characters that you
actually use in the font defintion.

So if you say

    BEAR CUDDLIES

You may end up getting a font definition that has no letter "F",
because there is no "F" in "BEAR CUDDLIES".

So you may end up needing to say

   ABCDEFGHIJKLMNOPQRSTUVW.... etc. all printable characters.

in your font to get this to work properly. If you need to do this, the
error that you're likely to get is odd-looking characters, or
characters that don't show up.

Also, some font definitions place characters in non-standard places.
For example, double-quote is ASCII 34. But if your text formatter
has a two different characters for double-quote (one for opening and
one for closing), they may be placed anywhere in the font. That means
not necessarily at ASCII 34.

When you say

    "string in quotes"

You may get

    &string in quotes&

or something truly weird.

Good luck! Let us know which word processors choke and which work.

-Jon
%! Jon Monsarrat   jgm@cs.brown.edu   Brown University %! Obfuscated PostScript
0 0 moveto 15 setlinewidth(qlllll-??LHHL??llH?hH7t,7olCAHH@)1 setlinejoin{dup
10 mul rotate 80 lt{50 0 rlineto}{50 0 rmoveto}ifelse}forall stroke showpage
From: wsaito@ucrac1.ucr.edu (William Saito)
Newsgroups: comp.lang.postscript
Subject: Adobe File Server
Date: 12 Dec 92 05:23:51 GMT
Reply-To: wsaito@ucrac1.ucr.edu


	I was wondering if the Adobe file server is just a mail system.   
Does it have an ftp site?

	Please mail me the ftp site if anyone knows.  Thanx.
Newsgroups: comp.lang.postscript