From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: Problem with ps emacs manual? Or am I totally insane?
Organization: CIRES, University of Colorado
Date: 5 Oct 92 10:22:02


Hello. I hope this is the right newsgroup for this question. Please
email me your answers (if any) and I'll summarize. 

A while ago I was trying to get a postscript version of the GNU emacs
manual, and I got it from the GNU emacs ftp site and had all sorts of
problems printing it. If fact, it wouldn't print at all. I bewailed my
fate on the comp.emacs group and some kind person sent me a postscript
emacs manual file that printed no problem. But, in the interests of
helping out GNU, and clearing up the mystery, I'd like to find out
what was wrong with the file I downloaded from their ftp site and let
them know, or, alternitively, find out what I did wrong. For the sake
of this question, file1 is the file I got from the GNU ftp site, which
was supposed to be a ps manual, but didn't print. File2 is the one I
got from someone's computer (still using ftp), which did print.

To head off the inevitable, yes, I used binary mode when ftping file1,
and I did it twice (thinking I might have made a mistake the first
time, or that it somehow was corrupted in the first transmission). 
Also I ftp'd file2 the exact same way, and it worked like a charm.

Here's the error message I get mailed to me if I try to print file1:

Your printer job (emacs-18.57.ps) 
could not be printed

Messages from output filter:
%%[ Error: Message: process(0x55c574, 'Unnamed process', runnable)
Error: /dictfull
Command: 'def'
Ostack: /@setspecial {hof vof translate @setclipper rotat rotate @landscapemode @overlaymode}
Estack:
  at: '.array_exec_cont' {/dictfull *'standarderroraction'}
  at: 'def' 'def'
  at: '.psparse_token' file(?,W,R) ptr0x0004bd58
  at: '.packedarray_exec_cont' {... 'save' 'put' 'clear' currexecfile 'cvx' *'exec'}
  at: '.stopped_cont'
  at: '.packedarray_exec_cont' {serverdict /save-state 'save' 'put' 'clear' packedarray{17} *'stopped' packedarray{5} 'if' packedarray{3} 'stopped' packedarray{3} ...}
  at: '.end_exec'
Dstack:
  dictionary[100/100]
  dictionary[2/200]
  dictionary[9/200]
  package(NeWSprint)
  dictionary[373/2000]
/@setspecial {hof vof translate @setclipper rotat rotate @landscapemode @overlaymode} 
]%%



This looks like the beginning of the file I'm trying to print. Here's
the beginning of file2, the one that works:

%!PS-Adobe-2.0
%%Creator: dvips 5.487 Copyright 1986, 1992 Radical Eye Software
%%Title: emacs.dvi
%%Pages: 306 1
%%BoundingBox: 0 0 612 792
%%EndComments
%DVIPSCommandLine: dvips emacs.dvi
%%BeginProcSet: tex.pro
/TeXDict 250 dict def TeXDict begin /N{def}def /B{bind def}N /S{exch}N /X{S N}
B /TR{translate}N /isls false N /vsize 11 72 mul N /@rigin{isls{[0 -1 1 0 0 0]
concat}if 72 Resolution div 72 VResolution div neg scale isls{Resolution hsize
-72 div mul 0 TR}if Resolution VResolution vsize -72 div 1 add mul TR matrix
currentmatrix dup dup 4 get round 4 exch put dup dup 5 get round 5 exch put
setmatrix}N /@landscape{/isls true N}B /@manualfeed{statusdict /manualfeed


It looks quite different! Is the first one not a postscript file after all?

--
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: comp.lang.postscript