HDTenEightyP/NetNews huggingface dataset:
From: nar@usha.cs.wayne.edu (Nagarajan Ramesh)
Subject: Re: How to print a large ps file?.
Organization: Wayne State University
Date: Tue, 10 Nov 1992 19:34:26 GMT

In article <1dn7brINNdjq@gap.caltech.edu> carl@SOL1.GPS.CALTECH.EDU writes:
>In article <1992Nov9.223322.27775@cs.wayne.edu>, nar@usha.cs.wayne.edu (Nagarajan Ramesh) writes:
>>
>>Hi,
>>
>>I have a large ps file that is too large for my Apple
>>laser writer.  Even a symbollic link does not work.
>>Can anybody tell me how I can print this file?.
>
>Perhaps you'd tell us what you mean by "too large for my Apple laser writer"?
>What error messages do you get when you try to print it?  Why did you think a
>symbolic link would make the slightest difference?
>

Well, the memory on my printer is limited to 300000 bytes.  Therefore, 
when I send a postscript file from my workstation to my printer, 
there is not enough room to copy the whole file onto it. The error
message I get is 

lpr: temp.ps: copy file is too large

One could use a symbollic link (lpr with the -s option) on SUN OS, wherein
instead of copying the file, a link is created and therefore the printer
memory is not a limit - atleast in theory.  But again, apparently there
is a limit even for this kind of operation. So, then my question is 
- how do I print the large postscript file?.

>
>Wonderful testimonial to the CS department at Wayne State, isn't he?
>--------------------------------------------------------------------------------

Jees! - Gotta explain everything to him!!!. 

>Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
>
>Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
>understanding of astronomy is purely at the amateur level (or below).  So
>unless what I'm saying is directly related to VAX/VMS, don't hold me or my
>organization responsible for it.  If it IS related to VAX/VMS, you can try to
>hold me responsible for it, but my organization had nothing to do with it.


-- 
Nagarajan Ramesh                !   internet- nar@cs.wayne.edu
Dept. of Computer Science	!   uucp    - ..!umich!wsu-cs!nar
Wayne State University, 	!   Phone: (313)-577-2477 
Detroit  MI 48202 		!   Fax  : (313)-577-6868
Xref: sparky comp.lang.postscript:5409 comp.periphs.printers:3235 gnu.ghostscript.bug:1183 comp.unix.questions:13115 comp.sys.ibm.pc.hardware:29176
From: alawa@gna.axis-design.fr (Allaoua Bouabdallah)
Newsgroups: comp.lang.postscript,comp.periphs.printers,gnu.ghostscript.bug,comp.unix.questions,comp.sys.ibm.pc.hardware
Subject: Re: PostScript -> Cannon lbp4 ??? (Hurrah !! That works)
Followup-To: comp.lang.postscript,comp.periphs.printers,gnu.ghostscript.bug,comp.unix.questions,comp.sys.ibm.pc.hardware
Date: 7 Nov 1992 18:53:35 -0500
Organization: GNA c/o Axis Design 119 rue de Flandre, 75019 Paris, France
Distribution: world
NNTP-Posting-Host: life.ai.mit.edu
To: gnu-ghostscript-bug@uunet.uu.net

	Yes, that works. LBP8-II is compatible with the LBP4.
	Here is my /etc/printcap :

		laser|lp|Canon LBP4|my laser printer:\
		        :lp=/dev/ttya:sd=/usr/spool/lpd:lf=/dev/console:sh:1:\
		        :br#9600:ms=cs8,-onlcr,ixon,decctlq,-parity:mx#10000:
		

	That's not enough, you must have good settings in your printer.
	My printer settings :
		scaling = ON
		rotation = OFF
		ps = ON
		ecs = 8
		lp, aitoCR, autoLF = OFF
		paint = Partial
		rsmode = 8S

	Most of this settings are overriden by the commands in the file you
	print. But that is the way i got my printer works.

	It remain some prolems. By exemple i can't obtain italique fonts.
	And another problee is the slowness of the printing.
	It takes me 20mns to print the "golfer.ps" and 15mns to print
	only one page of text whith bold , Italique etc ...

-Alawa

Newsgroups: comp.lang.postscript
From: johnh@psych.su.oz.au (John Holden)
Subject: Permanently hiding level 2 Postscript printers on LocalTalk
Organization: Department of Physiology, University of Sydney, NSW, Australia
Date: Tue, 10 Nov 1992 06:32:47 GMT

	I have a LaserWriter IIg and a LaserWriter NTR that I wish to hide
from direct access by Macintoshes by changing the LocalTalkType to
something other than LaserWriter (ie LW Spooler). The following script works,
but the printer reverts after a reset (ie power cycle).

true 0 startjob (%LocalTalk%) <</LocalTalkType (LW Spooler)>> setdevparams

Various permutations of %LocalTalk% like %LocalTalk_NV% will still fail
across resets. Is there an incantation that works?
Newsgroups: comp.lang.postscript
From: phillips@tegra.com (Steve Phillips)
Subject: Re: Sending special characters to serial connected LaserWriter
Organization: Tegra-Varityper, Inc. Billerica, MA
Date: Fri, 6 Nov 1992 19:39:21 GMT

In article <BxAvzG.DzL@gpu.utcs.utoronto.ca> tj@gpu.utcs.utoronto.ca (Terry Jones) writes:
>>In article <4353@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:
>>>You will need to send to output to a PostScript printer that has a parallel
>>>port, and not a serial port.  Binary data cannot be sent through a serial
>>>port, plain and simple.  Too many problems.  Things like Xmodem work because
>
>A common reason for the belief that you cannot send binary data over the
>serial line is that the serial communications paramaters are by default
>parity ignore. This means the high bit is getting stripped off. If you
>set the parity setting to NONE then things will work fine. This is 
>certainly easier on newer printers with LCD interfaces than on the
>older printers with setsccbatch commands and a magic table of numbers,
>but it is possible on MOST PS printers. I think some very early ones 
>did not support parity none, like maybe only version 23 LaserWriters.

As far as I know, there is NO way to prevent PostScript from treating ^D
as an end-of-job character for serial or parallel communications.  If you
have even one reserved character out of the ASCII set, you cannot send
down raw binary data - you need at least some kind of filter that lets
you escape special characters such as ^D.

- Steve

-- 
============================================================================
Steve Phillips                                 "Half a mind is a terrible
Tegra-Varityper, Inc., Billerica, MA            thing to waste..."
tegra!phillips@uunet.com                         - Zippy the Pinhead
Newsgroups: comp.lang.postscript
Subject: Postscript code request...
From: senol@caroline.ee.pitt.edu (Senol Kucuk)
Date: 13 Nov 92 21:51:46 GMT
Reply-To: Senol.Kucuk@caroline.ee.pitt.edu
Distribution: comp
Organization: University of Pittsburgh, Department of Electrical Engineering,Computer Vision and Pattern Recognition Lab.
X-Md4-Signature: 338edc5852f7aad538c68c0f786c35e3


	Hi there. Could someone tell me how to read the pagecount from
a postscript printer and append that information with the date to a
file? I would like to keep a track of the pages printed running this
program from a cron job. Thanks in advance...
--
--
  Senol Kucuk, Department of Electrical Engineering, University of Pittsburgh
     {senol,snkst4,kucuk}@{{unix,vms}.cis.pitt.edu,pitt{vms,unix}.bitnet}
From: rberlin@Eng.Sun.COM (Rich Berlin)
Newsgroups: comp.lang.postscript
Subject: Re: MAC-Postscript IS NOT Postscript, what can I do?
Date: 9 Nov 92 18:11:24 GMT
Reply-To: rberlin@Eng.Sun.COM
Organization: SunPics -- A Sun Microsystems Business
NNTP-Posting-Host: jambalaya


---

In article 349@Urmel.Informatik.RWTH-Aachen.DE, jeusfeld@picasso.informatik.rwth-aachen.de (Manfred A. Jeusfeld) writes:
>When I print the output to a file (instead on a LaserWriter) then
>I am not able to print this MAC-Postscript file on a normal
>laser printer (or display it on a screen with ghostscript).
>
>I know that the problem is the missing laserprep file. UNFORTUNATELY,
>the laserprep file on the Mac is copy protected (I don't know why).
>
>We have NewsPrint software that includes a laserprep clone and I tried
>it. In fact, I succeeded to include the laserprep file with the command
> newsprint/bin/pl --r --e /bin/cat file.macps :epsf_filter :laserprep > file.ps

That sounds line NeWSprint 1.0.  :laserprep is not a laserprep clone; it is
a *hack* to help deal with some early, broken versions of the laserprep header.

If your file is missing the header, it sounds like an older version of the Mac
system (i.e. one of the ones where you have to hold down a key combination during
print to get a PostScript file.)  I can suggest two things:

1) One possibility is (a) to get someone to help you with the laserprep protection,
if that's really the problem, and (b) make sure you're generating the file correctly.
There are two keystroke combinations, one of which is supposed to include the
laserprep header and one which does not.

2) Easier, if you have a convenient Apple dealer, or a friend who can
help out: upgrade your copy of the print service.  The 6.1 print
service includes a "print to file" button in its dialog box, and
produces files that have a correct laserprep header.

-- Rich
From: haw@inel.gov (Grant Hawkes)
Newsgroups: comp.lang.postscript
Subject: Multiple copies within PS file
Summary: Multiple copies within PS file
Keywords: Copies
Date: 9 Nov 92 15:50:57 GMT
Article-I.D.: inel.1992Nov9.155057.5403
Organization: Idaho National Engineering Laboratory, Idaho Falls, Idaho


     I am wondering if there is a way to give a ps command to print
multiple copies of the ps file.  I have a two page color postscript
file that I want to send to the color ps printer.  I need several
copies.  I know that I can keep sending the file multiple times, but
I want to know if there is a command to issue to do it.  I looked
at a ps book and couldn't find anything on copies in the index.
Any help would be appreciated.  Thanks.


-- 
===============================================================
Grant Hawkes                      Internet:   haw@inel.gov
Idaho National Engineering Lab    Internet:   haw@ws-haw.inel.gov
P. O. Box 1625 M.S. 2403          Phone:     (208) 526-8767
Idaho Falls, ID 83415             Fax:       (208) 526-6970 
===============================================================
========== long legal disclaimer follows, press n to skip ===========

Neither the United States Government or the Idaho National Engineering
Laboratory or any of their employees, makes any warranty, whatsoever,
implied, or assumes any legal liability or responsibility regarding any
information, disclosed, or represents that its use would not infringe
privately owned rights.  No specific reference constitutes or implies
endorsement, recommendation, or favoring by the United States
Government or the Idaho National Engineering Laboratory.  The views and
opinions expressed herein do not necessarily reflect those of the
United States Government or the Idaho National Engineering Laboratory,
and shall not be used for advertising or product endorsement purposes.
Newsgroups: comp.lang.postscript
From: dave@maven.b29.ingr.com (Dave Bradford)
Subject: Need Example Level 2 Raster
Reply-To: dave@maven.b29.ingr.com (Dave Bradford)
Organization: Intergraph Corporation, Huntsville, AL.
Distribution: na
Date: Fri, 13 Nov 1992 20:51:45 GMT

I am trying to produce Level 2 raster files using the 
/ASCIIHexDecode and /RunLengthDecode filters without success.
If anyone has a simple example which uses these filters
could you please post or email to me.

Many thanks.
-- 
Dave Bradford	dave@maven.b29.ingr.com      (Internet)
From: hoover@siestakey.csee.usf.edu (Adam Hoover)
Newsgroups: comp.lang.postscript
Subject: HELP!  WHAT IS WRONG WITH THIS PS CODE?
Keywords: Color EPS, LaTeX
Date: 3 Nov 92 20:28:31 GMT
Reply-To: hoover@siestakey.csee.usf.edu (Adam Hoover)
Organization: University of South Florida, Department of Computer Science and Engineering


What is wrong with this PS (encapsulated?) code?


========================== CODE BEGINS HERE
====================================

%%BeginDocument: /home/figment/student/hoover/papers/opus/COLOR/c.2.fseg.eps

gsave

/inch {72 mul} def
143 144 scale
/buffer 1 string def
/rgbmap 36 string def

/onepixel 3 string store
/drawcolormappedimage {
  143 144 8
  [143 0 0 -144 0 144]
  %% define a block of code to read and decode the rle input stream
  { currentfile buffer readhexstring pop pop  %% index
    rgbmap buffer 0 get 3 mul 3 getinterval   %% color bytes
  }
  false 3 colorimage
} bind def

currentfile rgbmap readhexstring pop pop
ffffff
000000
ffff00
00ff00
ffff3f
ff0000
3fff3f
ff3f3f
0000ff
3f3fff
00ffff
3fffff

drawcolormappedimage
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000

========================== SKIP TO END OF DATA ================================

010101010101010101010101010101010101010101010101010101010101
010101010101010101010101%

grestore
showpage
%%EndDocument

========================== CODE ENDS HERE ====================================





If context helps, I am using psfig includes in a LaTeX document to
bring in color images.  The color images are created using xgrabsc,
and are supposed to be color, encapsulated postscript.  After creating
a final PS document using LaTeX, I am trying to use ghostview (gs) to
view it (the PS document).  It can display a page until it gets to
the _END_ of the first color image on the page. (Note that greyscale
images work fine, even if on the same page as color images.)
As soon as gs gets to the end of the first color image on the page, I get:

Error: /invalidrestore in --restore--
Operand stack:
   
(\377\377\377\000\000\000\377\377\000\000\377\000\377\377?\377\000\000?\
\377?\377??\000\000\377??\377\000\377\377?\377\377)  true  -savetype-
Execution stack:
    %interp_exit    --nostringval--  --nostringval--  false 
--nostringval--  --nostringval--  --nostringval--
Dictionary stack:
    427/449  6/200  120/200



PLEASE HELP.  ANY INFO WOULD BE EXTREMELY APPRECIATED, AS I KNOW VERY
LITTLE ABOUT POSTSCRIPT.

EMAIL or POSTS is fine.  If I get a lot of help, I will post a summary.


			Thanks in advance,
			Adam Hoover
			University of South Florida
Xref: sparky comp.lang.postscript:5369 comp.periphs.printers:3197 comp.protocols.nfs:2697
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript,comp.periphs.printers,comp.protocols.nfs
Subject: Re: HELP!!! Printer filel
Date: 5 Nov 92 01:40:06 GMT
Article-I.D.: vidiot.4385
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Nov3.145047.1646@u.washington.edu> garrett@lib.washington.edu (Adam Garrett) writes:
<In article <1992Nov2.150559.49811@ccvax.ucd.ie>, bradshaw@ccvax.ucd.ie writes:
<> We have a HP Laserjet IIIP mounted on our Sun SPARCStation
<> (on /dev/ttya), with postscript emulation provided via a
<> Pacific Page P.E. cartridge. Since the printer can only 
<> operate in PCL or Postscript but not both, we have sought
<> to incorporate a filter in our /etc/printcap which will
<> determine the document type, and send an escape sequence
<> to switch the printer into the appropriate mode. This we
<> have achieved .... except for an infuriating problem which
<> occurs when going from postscript to PCL. Our input filter
<> having determined the document type, executes one of the 
<> CBRADH89@IRLEARN.UCD.IE> BRADSHAW@CCVAX.UCD.IE
<
<Why don't you get Adobe's Transcript package?
<
<     "The TRANSCRIPT package is a suite of UNIX programs that enable
<UNIX systems to access state-of-the-art POSTSCRIPT printers.  The
<TRANSCRIPT package transforms UNIX documents and graphics files into
<POSTSCRIPT format."
<
<I have the same printer and printer cartridge that you do, except I am
<running a DECstation 5000/200.

I have a better cheaper idea, get NeWSprint.  It will even print PostScript
to the printer when it isn't using the PS cartridge (it rasterizes the Post-
Script to HPCL image mode).  NeWSprint is only $695 list, much cheaper than
the $1-2k that TranScript is, plus it works with HP printers without a PS
cartridge.
-- 
      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: zzang@stat.ufl.edu (zzang)
Subject: How to Writeln?
Originator: zzang@manta
Organization: University of Florida
Distribution: usa
Date: Thu, 12 Nov 92 16:13:48 GMT

Hello,
I try to write a procedure to be used in
postscript file, Writeln. it should work
like the following:

GS>(line of stuffs) Writeln
GS>(another line of stuffs) Writeln

the main purpose is to avoid using "moveto"
command when you start a new line, this will
be easier for the user to modify the features
like line spaces and scale of fonts 

I think the only thing we need is to define
a variable to keep track on the current row
position. is this possible?
the reason I doubt about this is I often see
many programs use the "moveto" to start a
new line, so it gives me an impression that
it will not be easy to avoid using the "moveto".

Thanks in advance!



-- 
Zhuo Zang[~{j0WA~}]
Department of Statistics
University of Florida            Email: zzang@stat.ufl.edu
Newsgroups: comp.lang.postscript
From: les@chinet.chi.il.us (Leslie Mikesell)
Subject: Re: How do I recognize postscript from a file
Organization: Chinet - Public Access UNIX
Date: Wed, 11 Nov 1992 21:35:13 GMT

In article <4410@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:

><Errr, since when does MS Windows *have* a print spooler?  Don't you
><think it would be pretty silly of the applications to generate output
><that wouldn't work under the most common conditions?

>Gee, I thought that MS Windows did have a print spooler.  Sure looked like it
>when I used it.

Well, it's called a print manager and it does manage to keep two jobs
aimed at the same device from conflicting with each other, but it's
not smart enough to twiddle with the data stream one way when it's
talking directly to the device and another way when it's handing off
to a network.  Likewise DOS applications running under windows or
network links or both don't (and shouldn't) know that they aren't talking
directly to the device through the DOS driver.  The only real solution
is to make a data stream that works under all conditions.

Les Mikesell
  les@chinet.chi.il.us
Organization: Arizona State University
Date: Monday, 9 Nov 1992 10:23:40 MST
From: Ben Goren <AUBXG@ASUACAD.BITNET>
Newsgroups: comp.lang.postscript
Subject: Re: How do I recognize postscript from a file
Distribution: world
 <AV.92Nov4095431@kielo.uta.fi>
 <3944@ecicrl.ocunix.on.ca>,<BxEy6H.KCs@chinet.chi.il.us>
 <1dkcaoINNia8@gap.caltech.edu>

Starting a PS file with

%!
^D
%!

is not DSC compliant.

b&
From: ajcd@dcs.ed.ac.uk (Angus Duggan)
Newsgroups: comp.lang.postscript
Subject: Re: Who bakes the Best PostScript?
Date: 13 Nov 92 10:21:22 GMT
Followup-To: comp.lang.postscript
Organization: Edinburgh University Fried Brain Carry-out

In article <1992Nov12.153918.12371@usiva.com>, brooks@usiva.com (Lyle D. Brooks) writes:
> So what makes for the best PostScript??
> 
> a) DSC conformance
> b) Size
> c) Performance
> d) Readability
> e) Viewing
> f) None of the Above
> 
> Any opinions??

DSC conformance is the most important feature in any computer-generated
PostScript. And this means real DSC compliance, no just using the bits that
you want to and ignoring the others, or changing the comments to suit you
(e.g. removing the label from %%Page: listening, Sun?). It also means putting
the correct headers on documents (Microsoft Word for Windows 2.0 produces
multi-page documents claiming to be EPSF; they haven't read page 709 of the
Red book (2nd Edn.)). Most of the problems I have with documents come down to:

1) Bad %%BoundingBoxes. If you don't have one, don't set it, and don't claim
   to be EPSF. Don't use reals, because they're supposed to be ints.

2) Bad page encapsulation. If you're pages aren't encapsulated completely,
   don't claim to be DSC compliant, or fix it so that they are encapsulated.

I'm currently revising my PSUtils package, and am implementing an ad-hoc
parser for DSC comments. I thought about using Yacc and lex, but there are too
many awkward bits to deal with (e.g. unbracketed text tokens containing just
digits, %%+ comments). The DSC conventions are not very hard to read and
interpret (there are a few unclear areas, such as which comments can be nested
inside others), so there is no excuse for any PostScript developer not to
produce DSC-compliant code.

a.
--
Angus Duggan, Department of Computer Science,	| PSUtils is available from
University of Edinburgh, The King's Buildings,  | ftp.dcs.ed.ac.uk in pub/ajcd.
Mayfield Road, Edinburgh EH9 3JZ, Scotland.	| selects, n-up, booklet & more
INET: ajcd@dcs.ed.ac.uk | JANET: ajcd@uk.ac.ed.dcs | PHONE: +44(0)31 650 5126
Newsgroups: comp.lang.postscript
From: hartman@fys.ruu.nl (Jan Willem Hartman)
Subject: ps to gif, ps to pbm
Summary: How to convert a (color) postscript file to gif or pbm format ?
Keywords: ps,gif,pbm
Organization: Physics Department, University of Utrecht, The Netherlands
Date: Thu, 12 Nov 1992 12:08:28 GMT

Hi there,
Is there a way to convert color postscript files to gif or pbm format
without going through ghostscript ? Or, how can I use pstoppm.ps from
ghostscript to do this ? This would really save a lot of space, so
if anybody knows... Thanks.
		JW.
From: waltervj@coos.dartmouth.edu (Walter V. Jeffries)
Newsgroups: comp.lang.postscript
Subject: Free sample issue of The Flash
Date: 6 Nov 92 11:33:55 GMT
Organization: Dartmouth College, Hanover, NH


I produce a newsletter called The Flash about laser printing and
related topics.  We've just sent out our fall issue and have a
some extra copies.  If you would like a free sample issue, send
me your postal address.

The Flash is 5 years old, about 70 pages, quarterly, and covers
topics such as laser printer use, maintenance, repair, desktop
publishing, iron-on transfer toners, publishing your own book,
and much more.

-Walter
BlackLightning
Riddle Pond Road
West Topsham, VT 05086
1-800-252-2599
(802) 439-6463 fax
Organization: Middle East Technical University - Computer Center
Date: Monday, 9 Nov 1992 15:48:07 TUR
From: <E59387@TRMETU.BITNET>
Newsgroups: comp.lang.postscript
Subject: HP LaserJet III Si and mode changing?


  Hi,

  We have a HP LaserJet III Si, and We fed up with changing the mode PS and

 PCL. What we want is Printer will work on one mode ,preferly on PS, and when

a PCL entry comes, it should automatically change the mode to the PCL and after

finish its job,It should return to PS mode. How can we do this ?


 THANKS ADVANCE!
From: dundas@chip.Jpl.Nasa.Gov (John Dundas)
Newsgroups: comp.lang.postscript
Subject: PS fragment needed
Date: 4 Nov 92 22:53:29 GMT
Organization: Information Systems Engineering Grp, JPL

Could someone please post a code fragment which performs the following:

	Check to see if PhotoGrade is available
		if so, set and/or get the desired resolution vs. gray
			for the remainder of this job.

Thanks!

John Dundas
dundas@salt.jpl.nasa.gov
Newsgroups: comp.lang.postscript