HDTenEightyP/NetNews huggingface dataset:
From: sjd@frieda.mitre.org (Stephen J. Darragh)
Subject: Arabic Postscript Error/Question.
Organization: Research Computer Facility, MITRE Corporation, Bedford, MA
Date: Thu, 23 Jul 1992 23:04:25 GMT


I don't think this is possible, but am not sure why
so here goes.

I am running Arabic 7.01 on the mac.
I create a postscript file by the print to file
option.

I switch the mac back to english.
I put the arabic trutype fonts in the english
system.
I download the arabic postscript fonts to the printer.
I try to download the postscript file and get the
following error

%%[ Error: undefined; OffendingCommand: md ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

Next to the md is a unprintable character (shown as a blank box).
Next to the ignored, is another of the same character.

The reason I loaded the Arabic truetype fonts into the English system is
that I first got the following error.

" Ww+EEM+"rTrueTypee
%%[|0|]%%%%[|0|]%%%%[|0|]%%%%[|0|]%%%%[ Error: VMerror; OffendingCommand: put ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

Again, a lot of unprintable text that I cannot paste into the posting is in
this message.

If there is anyone who can help, please mail me any suggestions, as I don't 
follow this group very often and will miss most postings.

Many thanks!!!!
Steve Darragh

Newsgroups: comp.lang.postscript
From: mrl@nerus.pfc.mit.edu
Subject: Color inkjet postscript printer?
Organization: MIT PLASMA FUSION CENTER
Date: Mon, 27 Jul 1992 18:01:04 GMT

Does anyone know of a color inkjet postscript printer besides tektronix's?  
Thanks.  

Mark
From: leo@ai.mit.edu (Leonardo C. Topa)
Newsgroups: comp.lang.postscript
Subject: printing area on an Apple LaserWriter IIg
Date: 21 Jul 92 21:42:57 GMT
Distribution: comp
Organization: MIT Artificial Intelligence Laboratory

I hope this has not been discussed recently, but I have just
discovered this news group... 

Here is my problem: we have an Apple LaserWriter IIg (with 5 megs of
memory) attached through a serial port to a Sun workstation on which
the Transcript package is installed. I can print to this printer just
fine, but there is one problem: the maximum size of the printing area
is smaller than on some other printers we have and often times any
attempt to print something close to the page borders results in a
"cropping" effect. To demonstrate that it's the printer actually
defining a smaller printing area, I wrote this little piece of code:

%! Postscript file
/strbuffer 256 string def

% show printing area in gray
clippath 0.9 setgray fill

0 setgray	% restore filling gray to black
clippath	% get clipping path again
pathbbox	% lower left x, lower left y, upper right x, upper right y

% show actual coordinates of printing area
/Courier-Bold findfont 15 scalefont setfont
strbuffer cvs 100 500 moveto (Upper right y: ) show show
strbuffer cvs 100 550 moveto (Upper right x: ) show show
strbuffer cvs 100 600 moveto (Lower left  y: ) show show
strbuffer cvs 100 650 moveto (Lower left  x: ) show show
showpage

Sure enough on the laserwriter IIg it produces a considerably smaller
shaded rectangle than on say a laserwriter II. The question I have is
therefore this: is it possible to define a larger printing area? The
only operator I could find to possibly help me is "framedevice" but it
requires the definition of a procedure to execute when showpage is
called and I have no idea what to put in there. Also, on page 88 of the
printer manual it says something about the imageable area being
dependent on the amount of installed memory: does it really mean that
5 megs of memory are not enough??

thanks a lot in advance for your help.
--

Leonardo C. Topa
Massachusetts Institute of Technology
Room E25-506
45 Carleton Street
Cambridge, MA 02139

internet: lct@ai.mit.edu
From: muoto@nunki.usc.edu ("Olivetti")
Newsgroups: comp.lang.postscript
Subject: << Number for Toronto Service Bureau Wanted >>
Date: 26 Jul 1992 12:00:55 -0700
Organization: University of Southern California, Los Angeles, CA
Distribution: usa
NNTP-Posting-Host: nunki.usc.edu

I'm looking for Desktop Publishing Service Bureau that prints postscript
files in the Toronto Area.  I'm located in Los Angeles and I need to print
out a file for a friend and the quickest way would be to have it outputed
there in Toronto, unfortunately I don't know of any service bureaus in that
area.

I would appreciate it if someone familiar with that area could give a
a number or two of Toronto service bureaus.  Such information should be
readily available in the Toronto Yellow Pages under DESKTOP PUBLISHING or
COMPUTER DESIGN/PUBLISHING entries.

Thanks in Advance.

Oliver Muoto
(muoto@usc.edu)
From: mrl@nerus.pfc.mit.edu
Newsgroups: comp.lang.postscript
Subject: Thanks to responses on color printer.
Date: 28 Jul 92 11:27:24 GMT
Organization: MIT PLASMA FUSION CENTER

Thanks to all who responded to my request for color printer info.  I knew about
the new hp printer, but I was told ps would not be available until Sept.

Mark
From: lilleyc@cs.man.ac.uk (Chris Lilley)
Newsgroups: comp.lang.postscript
Subject: Grey component replacement problem
Keywords: grey balance grey component replacement
Date: 22 Jul 92 01:50:39 GMT
Reply-To: lilleyc@cs.man.ac.uk (Chris Lilley)
Organization: Department of Computer Science, University of Manchester UK

I have a PostScript diagram (generated by Corel Draw on a PC) which is used
to explain grey balance in teaching. There are two grey scales, one using
black and the other using equal CMY. The diagram is intended to show the
tints that can be expected. The colours were specified directly in CMYK in
Corel Draw.

The PostScript seems to have specifications of CMYK in it.

The printer cleverly detects that my colours could be substituted by black,
and prints two *identical* grey scales.

The printer (a Tek Phaser III PXi) comes with some software that allows you
to fiddle with things. Although clearly intended for the
dedicated-printer-hanging-off-the-back-of-a-PC type situation, it has
control D's in it to make the changes permanent.

I have tried inserting the code (without the control D's) into the Corel
PostScript file. This generates an error.

The original code is:

% Copyright (c) 1991, Tektronix, Inc.
%  Black Substitution (blacksub.ps):
%	Use this file to enable and disable black substitution.  The
%	   default is for black substitution to be enabled (true).
%   	Black substitution may be changed to either true or false.

%  Ctrl-d to flush any previous jobs @
%  Function is bracketed with startjob to unencapsulate and make
%     a change persistent.
true () startjob not
{/exitserver errordict /invalidaccess get exec} if
<< /PostRendering
EnhanceDetails
   << /BlackSubstitution false >>
>> setpagedevice   
false () startjob pop
%  Ctrl-d to end job @

I have indicated the control D's by @

Well I didnt want to make the change permanent either, so I ended up
putting:

<< /PostRendering
EnhanceDetails
   << /BlackSubstitution false >>
>> setpagedevice

into the Corel PostScript file.

I should perhaps point out that the printer is being used in a multi queue,
multi user environment, hanging off a VAX with print management by DECprint
Print Services. So, relying on sending sequential jobs is no good because
other users jobs might be interleaved. Also, the exitserver password has
been changed from the default. Also, I don't want to affect other users
jobs (or theirs to affect mine ;-) )

The print fails with:

%LPS-W-UNDEF, undefined: Name not known - offending command is
EnhanceDetails
%LPS-E-FLUSHING, Rest of Job (to EOJ) will be ignored

printed on an error page.

Any ideas, folks?  What am I doing wrong? How do I stop the printer doing
grey component replacement? How do I use these utilities in a multi-user
environment?

I will summarise any posted or mailed responses.

Chris		lilley@cgu.mcc.ac.uk
From: weeks@astroatc.UUCP (Pat Weeks)
Newsgroups: comp.lang.postscript
Subject: HPGL to Postscript Conversion program
Date: 24 Jul 92 20:18:04 GMT
Reply-To: weeks%astroatc.UUCP@spool.cs.wisc.edu (Patrick Weeks)
Organization: Astronautics Technology Cntr, Madison, WI


	I'm looking for an HPGL to Postscript conversion program that will run
on a, ahem, cough, DOS machine?  Anyone have one or know where to look??



						Ghostwheel


Internet:  weeks%astroatc.uucp@spool.cs.wisc.edu
From: rberlin@birdland.Eng.Sun.COM (Rich Berlin)
Newsgroups: comp.lang.postscript
Subject: Re: Dotted line question
Date: 24 Jul 92 00:31:48 GMT
Distribution: na
Organization: SunPics -- A Sun Microsystems Business
NNTP-Posting-Host: birdland

[Question: how to create a matrix of dots?]

You *should* be able to use a dashed line for this, since PostScript
gives you a lot of control over the dash pattern.  For example, the
following sets up the pattern you described (4 dots 5 mm apart--I've
assumed .1 mm wide--and then a 10 mm space) and starting at a point
1" up from the bottom of the page and 1" in from the left margin,
prints a grid:

72 25.4 div dup scale % user units are now millimeters
.1 setlinewidth
[.1 4.9 .1 4.9 .1 4.9 .1 9.9 ] 0 setdash
25.4 dup translate

0 -5 translate % we don't get a line at zero

0 5 250 {
    dup 25 mod 0 eq 
    {
	pop
    }{	
	0 exch moveto 200 0 rlineto stroke
    } ifelse
} for


This prints in no time flat on my SPARCprinter.

-- 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: emarkp@ocf.berkeley.edu (E. Mark Ping)
Newsgroups: comp.lang.postscript
Subject: PostScript commands...
Date: 22 Jul 1992 05:47:25 GMT
Organization: U.C. Berkeley Open Computing Facility
Distribution: world
NNTP-Posting-Host: earthquake.berkeley.edu
Keywords: Help me please...


  I'm trying to write a simple program to convert standard ascii text to a
slightly modified PostScript version of the same text (i.e. making some
characters boldface or italicized), but I have no idea what any PostScript
commands are (besides showpage).  Is there any place I can FTP a document
describing basic PostScript stuff?  Or any place I can get any information
at all?  -- I'd prefer not to have to buy a book or anything, because it is
such a small thing.

  Thanks for any help...

-- 
Another student, lost in the sea that is called Bezerekely.  His name?
E. Mark Ping
emarkp@ocf.Berkeley.EDU

  "Stand aside, I take large steps."  --Michael Dorn
  "Say, that's a nice bike." --Cyberdyne Systems T-1000
  "Pituita es."  --Unknown Latin Scholar
Newsgroups: comp.lang.postscript
From: diarmuid@uniwa.uwa.edu.au (Diarmuid Pigott)
Subject: Fixed fonts
Organization: University of Western Australia
Date: Tue, 21 Jul 1992 08:53:23 GMT

I want to print things in a *nice* font in non-proportional spacing. ie
non-courier. Is there a true-type/windows PS font somewhere that meets
this description?

Thanks in advance.
From: danb@xyvi.UUCP (Dan Barooshian)
Newsgroups: comp.lang.postscript
Subject: PostScript to EPSF conversion
Keywords: PostScript EPS EPSF
Date: 27 Jul 92 14:45:02 GMT
Organization: Xyvision Inc., Wakefield,MA



Looking for tool, experiences and/or information on converting 
PostScript files to EPS files.  

Some responses have been "throw in a showpage and a header and
then you have EPS". However, the Language Reference has a lot
of other requirements/guidelines, including a list of 15 or 20
operators that are "must not be used". So, I need a tool, or 
more information on how, or under what conditions this can be
done.

Thanks, Danny

--------------------------------------------------------------
Danny Barooshian      phone   : 617-245-4100 x5301
Xyvision, Inc.        internet: xyvi!danb@uunet.uu.net
Wakefield, MA         uunet   : uunet!xyvi!danb
From: rjw9917@bcstec.ca.boeing.com (Richard J. Willard)
Newsgroups: comp.lang.postscript
Subject: Ghostscript for MS Windows
Date: 27 Jul 92 17:41:10 GMT
Organization: 777 New Airplane Division

I think I remember seeing a news posting
that ghostscript for windows was in beta
testing and expected out sometime near
the end of July '92.  Does anybody have
an update on this subject?  ftp site?

rjw9917@bcsaic.boeing.com
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Postscript Printing problems on Apple LaserWriter
Keywords: postscript, laserwriter, printing
Date: 26 Jul 92 08:44:37 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Distribution: usa
Organization: Vidiot's Hangout

In article <1992Jul24.173258.25757@cs.umn.edu> koneru@cs.umn.edu (Surya P Koneru) writes:
<
<The apple laserwrite that I have skips some columns on the left when
<I try to print a postscript file.
<
<I would like to know how to shift(indent) the  image.

Sounds like the program that is producing the PostScript is set incorrectly.
Don't blame the problem on the printer until you can prove the printer is at
fault.  Remember, the printer is just to print the incoming file exactly as
it is told.  If the printout starts too far to the left, it ain't the printer.

Print the file on another printer and I'll bet that it will have the same
results.
-- 
      harvard\     att!nicmad\          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
From: lilianstrom@krang.fnal.gov (If its too loud,  You're too old)
Newsgroups: comp.lang.postscript
Subject: Level II tests
Date: 24 Jul 92 21:08:25 GMT
Reply-To: lilianstrom@fndcd.fnal.gov
Organization: Fermilab Special Projects Group

Hi all,

Does anyone have any files that test or take advantage of PostScript level II
printers that they would be willing to share?  I have a beta version of a major
manufacturers Level II printer and I'd like to see how good their interpreter
is.  Please E-mail any that you have (I will redistribute them if requested
to).

	TIA, al

(still working on understanding level I....)


Al Lilianstrom
Fermi National Accelerator Laboratory
Batavia, Illinois
lilianstrom@fndcd.fnal.gov

My opinion.  Not the DOE's, URA's, or anyone else at Fermilab
Newsgroups: comp.lang.postscript
From: ptl@cs.tut.fi (Launiainen Petri)
Subject: SUMMARY: Scaling A4->A5 etc.
Originator: ptl@naakka.cs.tut.fi
Organization: Tampere University of Technology
Date: Thu, 23 Jul 1992 13:12:10 GMT

I recently requested info on a package that's capable of scaling PS.
My humble need was to get two A4's scaled down side by side as A5's
on a single sheet.  But there's  a lot of other things you can do
with the two following packages:

psutils by Angus Duggan, available on a friendly ftp site near you
(was posted to comp.sources.unix some time ago).  I found mine from
nic.funet.fi, but surely it can be found on the other side of Atlantic,
too.

It has scaling and page shuffling (like for booklets).  Didn't work first
with files generated with Windows PS driver, but this is all MS's fault
as they try to be clever in the way of emitting showpages (or maybe they
are just conserving space... do I smell DOS here :-).  A simple
sed script will make things going well again: just see how EJ function
is defined and replace all subsequent EJ's with 

gsave showpage grestore

(the same thing as the EJ is doing).
Apparently some other systems have similar problems, as there are a
couple of perl scripts included in the psutils package.

I ran a 200 page test material through this one, and it worked fine.
Someone claimed that this does not work well with Ghostscript, but I don't 
need it (at least yet) neither can I confirm this.

Another scaling package is dmm-nup by Don Markuson, available via ftp
from tiger1.prime.com (129.122.3.47) as /pub/mac/dmm-nup.shar, or directly
from author, dmm@tiger1.prime.com.  I didn't test it as I got psutils working
for me, but it has Ghostscript related comments in the headers, so it might 
cure the problems that someone claimed to have with psutils.

Someone also said that Next machines have this kind of stuff built-in.
There were also several other replies suggesting various places to look
for additional information.

All in all, this network is simply a wonderful source of information.

Thanks to all who replied.

/petri
---
Petri Launiainen # "Everything takes more time than you can ever imagine"
Tampere          # 
Finland          #                     - Murphy's second corollary




--
From: adrianho@barkley.berkeley.edu (Adrian J Ho)
Newsgroups: comp.lang.postscript
Subject: Re: Clueless question about PCPostscript to MacPostscript
Date: 29 Jul 92 15:07:27
Organization: University of California, Berkeley
NNTP-Posting-Host: barkley.berkeley.edu
In-reply-to: churchh@ut-emx.uucp's message of 29 Jul 92 20:27:45 GMT

In article <76765@ut-emx.uucp> churchh@ut-emx.uucp (Henry Churchyard) writes:
>  I'm not sure I know all that much about it, but isn't the preview
>portion of an EPS application-dependent (i.e. there is no Adobe
>standard for EPSF previews)?

Sorta.  Adobe left the door open on this one, but they did make an
effort to narrow the field of choices.  I'd personally use a
TIFF-based preview section if I were concerned about space, and the
device-independent format if I were concerned about portability.

For those in the dark, read sections H.5 and H.6 of the BigRedBook
(ie. PLRM 2nd ed.)
--
-----------------------------------------------------------------------------
Adrian Ho, He With The Embarrassingly *Dead* Passion ** Phone: (510) 642-5563
System Manager, CFD Lab, ME Dept, UC Berkeley * adrianho@barkley.berkeley.edu
Maintainer, Tcl/Tk Contrib Archive ---- barkley.berkeley.edu [128.32.142.237]
  Send all Tcl/Tk Archive-related stuff to tcl-archive@barkley.berkeley.edu
From: roihar@cc4.crl.aecl.ca
Newsgroups: comp.lang.postscript
Subject: RE: Postscript map needed
Date: 22 Jul 92 17:13:49 GMT
Organization: AECL RESEARCH

check news.lists.ps-maps
Newsgroups: comp.lang.postscript
From: sbeyer@well.sf.ca.us (Steve Beyer)
Subject: Strange image bitshift
Organization: Whole Earth 'Lectronic Link
Date: Sat, 25 Jul 1992 12:14:14 GMT


(--Please forgive if this is a reposting--)
Say I have an image operation like this:

/picstr 8 string def
278 200 4 [ 278 0 0 -200 0 200 ]
{ currentfile picstr readhexstring pop } image
. . . data . . .

Everything works fine.  But say I do this:

/picstr 8 string def
278 200 4 [ 278 0 0 -200 0 200 ]
{ currentfile picstr readhexstring pop
/place 0 def
{ picstr place 3 -1 roll put /place place 1 add def } forall }
picstr image
. . . data . . .

Or this:

/picstr 1 string def
278 200 4 [ 278 0 0 -200 0 200 ]
{ currentfile picstr readhexstring pop
0 get picstr 0 3 -1 roll put picstr } image
. . . data . . .

As far as I can tell, these changes should do nothing; but, when they are
added, the image is printed but *shifted* -- that is, if a line was, say,

AAAAAAAABBBBBBBBCCCCCCCC

it is now

AABBBBBBBBCCCCCCCCAAAAAA

I do not understand.  Any thoughts would be appreciated.  -- Steve
From: dat@engr.latech.edu (David A. Tong)
Newsgroups: comp.lang.postscript
Subject: Dotted line question
Date: 23 Jul 92 15:47:38 GMT
Article-I.D.: engr.1992Jul23.154738.15892
Followup-To: dat@engr.latech.edu
Distribution: na
Organization: Louisiana Tech University


  I am new to this PostScript stuff so forgive me if this is a trivial 
question.  In a program I am writing, I create a PostScript output file
from a C program.  I need to draw a grid of dots that are spaced 5 mm
apart.  The macro definition below is my first attempt at accomplishing
this task.  This macro accepts a starting x position, an ending x position,
and a y position and then draws a horizontal dotted line.  This line is
composed of groups of 4 dots spaced 5 mm apart with a 10 mm separation
between dot groups.  Like this: ( .... .... .... .... ). Please note
that a dashed line will not work.  The dots need to be spaced exactly
5 mm apart with 10 mm between dot groups.  I have set the scale to be
1mm in both the x and y directions.

  Although this function does the job, printing the resulting
PostScript file takes an unacceptably long time (I am using an HPIII with
HP PostScript cartridge and a Sparc 2).  I was wondering if anyone has
a better way or any tips that will improve this macro.  Any help will be
greatly appreciated.  Please email or post.

Thanks,
   David A. Tong

-----------------------------------------------------------------------
/dot_line
  { /dy exch def 
     /maxx exch def /dx exch def
     dx 1 maxx
      { dx 5 div dx 5 idiv sub 0 eq
        { /dx dx 1 add def }
        { dx dy 0.05 0 360 arc fill /dx dx 1 add def }
        ifelse 
      } for clear
  } def
From: toms@fcs260c2.ncifcrf.gov (Tom Schneider)
Newsgroups: comp.lang.postscript
Subject: Re: Straining PostScript or just stupid?
Date: 21 Jul 92 16:06:19 GMT
Organization: Frederick Cancer Research and Development Center

In article <1992Jul21.020653.22903@news.eng.convex.com> datri@convex.com
(Anthony A. Datri) writes:
>
>Oops.  Here's the code:

I modified the code just a tad to make it more general.
Now you can substitute for the first and second words and the underlying
text directly.  It makes a nice sign to put on your door...

%!PS
% Anthony A. Datri datri@convex.com wrote the orignial code;
% 1992 July 20
% modified by:
%  Tom Schneider
%  National Cancer Institute
%  Laboratory of Mathematical Biology
%  Frederick, Maryland  21702-1201
%  toms@ncifcrf.gov

% Generate filled words

/firstword (Tom) def
/secondword (Schneider) def
/underlie (Laboratory of Mathematical Biology) def

/RM 780 def
/TM 612 def
/LM 0 def
/BM -12 def

/newline { currentpoint 13 sub
           exch pop LM
           exch moveto } def
/nllfNec {currentpoint pop RM gt
         {newline} if } def
/done? {currentpoint exch pop
        BM lt } def
/fillpage {
/strg exch def
            { { pop pop nllfNec} strg kshow
               done? {exit} if
            } loop
          } def

clippath stroke
-90 rotate -780 0 translate
/ZapfChancery-MediumItalic findfont
%/Times-Roman findfont
200 scalefont setfont
RM firstword stringwidth pop sub
2 div
TM 2 div 50 add moveto
firstword true charpath
RM secondword stringwidth pop sub
2 div
TM 2 div 150 sub moveto
secondword true charpath
%/Times-Roman findfont 20 scalefont setfont
stroke newpath
RM firstword stringwidth pop sub
2 div
TM 2 div 50 add moveto
firstword true charpath
RM secondword stringwidth pop sub
2 div
TM 2 div 150 sub moveto
secondword true charpath
clip
%LM TM moveto .5 setgray
newpath
LM TM moveto
/Helvetica findfont 10 scalefont setfont
underlie fillpage
/Courier findfont pop
showpage
Newsgroups: comp.lang.postscript
From: barry@ramsey.cs.laurentian.ca (Barry G. Adams)
Subject: printing two pages per page
Keywords: lineprinter,postscript
Organization: Dept. of Computer Science, Laurentian University, Sudbury, ON
Date: Tue, 21 Jul 1992 17:43:50 GMT

I have been using Adobe Systems lineprinter.ps program to convert
a postscript printer into a line printer.  Is there a similar
program that will print 2 pages side by side in landscape mode with
a vertical line separating the two pages or with boxed pages.
There is a program called laserlst for the PC that does this nicely
for an HP printer.

  +-------------------------------------------------------+
  | Barry G. Adams                                __o     |    GO
  | Dept of Math and Computer Science            -\<,     |       JAYS
  | Laurentian University                  ......O/ O     |            GO
  | Sudbury, Ontario, Canada P3E 2C6                      |
  | EMAIL: barry@ramsey.cs.laurentian.ca                  |
  | PHONE: (705) 523-5519                                 |
  +-------------------------------------------------------+