[comp.windows.x] xps and X docs

jmeissen@oregon.oacis.org (John Meissen) (06/13/90)

I don't claim to be the least bit PostScript-literate, so maybe someone
here can tell me what I'm doing wrong.

I'm trying to use the PostScript previewer 'xps' to look at the X docs
under ./mit/hardcopy/. Most of the time it refuses, with the message
	undefined in operator statusdict
	stopped
What am I not doing?

scl@sasha.acc.Virginia.EDU (Steve Losen) (06/13/90)

In article <531@oregon.oacis.org>, jmeissen@oregon.oacis.org (John
Meissen) writes:
|> 
|> I don't claim to be the least bit PostScript-literate, so maybe someone
|> here can tell me what I'm doing wrong.
|> 
|> I'm trying to use the PostScript previewer 'xps' to look at the X docs
|> under ./mit/hardcopy/. Most of the time it refuses, with the message
|> 	undefined in operator statusdict
|> 	stopped
|> What am I not doing?

Here are some patches I whipped up mainly by trial and error for the
postscript/psrc file in the xps source tree.  I don't know PostScript,
so don't expect too much, but this gets the pages to print at least.

Steve Losen
scl@virginia.edu     University of Virginia Academic Computing Center

======== cut here for patches ========

*** psrc        Sat Oct 22 19:35:11 1988
--- /uva/lib/xps/psrc   Fri Aug 25 12:17:40 1989
***************
*** 312,317 ****
--- 312,318 ----

  /charpathdict 10 dict def
  /temp-dict 10 dict def
+ /statusdict 20 dict def

  /settransfer {
        temp-dict begin
***************
*** 348,353 ****
--- 349,375 ----
        /fill {} def
        /eofill {} def
  end
+
+ statusdict begin
+       /pagecount 0 def
+       /pagestackorder true def
+       /printername (Xps Previewer) def
+       /dostartpage true def
+       /margins { 0 0 } def
+       /pagetype 0 def
+       /defaulttimeouts { 0 60 30 } def
+       /setjobtimeout { pop } def
+       /jobtimeout 0 def
+       /waittimeout 30 def
+       /manualfeedtimeout 60 def
+       /manualfeed false def
+       /prefeed false def
+       /jobname (Jobname) def
+       /printerror { pop pop } def
+       /product (Xps Previewer) def
+       /revision 0 def
+ end
+

  marktype begin
        /type /marktype def