🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #521

Still having problems with twoup and new postscript driver

#521
From: Heide
Date: Thu, 27 May 2004 13:15
61 lines
2658 bytes
First - Is there any documentation for Pscript5.dll? Version features and changes that sort of thing?

I have continued my testing and reposted my before and after files. Any help will be greatly appreciated.

RECAP + new files

I have code that generates a .ps from a MS Word document. That .ps
file can be input to a c++ dll that will transform it into two up.
Much like this perl script will
 <http://www.cs.indiana.edu/docproject/programming/postscript/nup.html>

We are upgrading our systems from NT to XP. We had the bright idea
that maybe we should use the most current Postscript driver for XP.

Old driver - AdobePS5.dll Version 5.1.2
New driver - PScript5.dll Version 5.2 (download pkg is marked 1.0.6)

Everything was working fine until I made the upgrade on the postscript
driver. I still get a .ps file but it won't distill.

%%[ Error: invalidrestore; OffendingCommand: restore ]%%

Stack:
-save-
-save-

The really weird part is using the old NT driver works on my XP
machine. Not an option to keep using it - as the project leader wants
to "move ahead".

So I figure there must be language changes or driver differences
documented somewhere. I have been searching for version change
documentation on the new Postscript Driver 1.0.6 on Adobe's site with
no luck.

I stopped my process and saved the postscript files before they hit my
c++ program and I noticed some differences right off the bat with
ehsave being a new addition.

userdict begin /ehsave save def end
...
ehsave restore

I am a total newcomer to .ps so any help is appeciated. Where did I
go wrong?

Thanks,
Heide

Software versions
Windows XP professional
MS Office 2003
Adobe 6.0
Adobe Print Driver 1.06

c++ dll
 <http://www.zcan.net/heide/MagicTwoUp.cpp>

.ps from new driver
 <http://www.zcan.net/heide/Inputtotwoupsample_adobe106.ps>
 <http://www.zcan.net/heide/Outputfromtwoupsample_adobe106.ps>
Technical Details
Message-ID: <3bb450e8.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,ff294434ca3b4846,start
X-Google-Attributes: gid10c61a,public
From: Heide@adobeforums.com
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Still having problems with twoup and new postscript driver
Message-ID: <3bb450e8.-1@webx.la2eafNXanI>
Date: Thu, 27 May 2004 06:15:37 -0700
Lines: 63
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit