pstops - patched version anywhere?

Helmut Jarausch jarausch at igpm.rwth-aachen.de
Tue Jun 28 23:58:22 PDT 2005


Helge Blischke wrote
> A couple of weeks ago I offered to fix these psutils issues (which all are related to
> non-conforming DSC comments) if I get more that roughly a dozen "subscriptions". I got one
> so far, which, I think, does not justify the effort.
>
> Helge
>
> PS: Shall I take your post as the second one?

Yes, please!
I'm willing to help.
My first try was to put an  #if 0 around the /setpagedevice :
--- psutils.SAVE/psspec.c       1997-03-11 23:53:04.000000000 +0100
+++ psutils-p17-P/psspec.c      2005-06-24 16:08:35.000000000 +0200
@@ -109,8 +109,10 @@
    " /monarchenvelope/c5envelope/dlenvelope/lettersmall/note", /* paper */
    " /folio/quarto/a5]{dup where{dup wcheck{exch{}put}",       /* operators */
    " {pop{}def}ifelse}{pop}ifelse}forall",
+#if 0
    "/setpagedevice {pop}bind 1 index where{dup wcheck{3 1 roll put}",
    " {pop def}ifelse}{def}ifelse",
+#endif
    "/PStoPSmatrix matrix currentmatrix def",
    "/PStoPSxform matrix def/PStoPSclip{clippath}def",
    "/defaultmatrix{PStoPSmatrix exch PStoPSxform exch concatmatrix}bind def",

Now, it prints duplex but it looses the /Tumble option.
I'll have to install tea4cups to have a look at what is sent to the
printer.

I need the psutils primarily to produce booklets of quick references.
Probably I'll have to put in PJL commands and send it to printer via
ftp.

--
Helmut Jarausch
RWTH-Aachen University
Germany






More information about the cups mailing list