OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: andreas on February 04, 2025, 07:29:32 pm
-
with my new installation i cannot get ePDF to work.
I get "distiller retun code = 127".
It worked fine on my previous installation. i used the same entries, the same PS-Driver (LaserJET.HP Laserjet 4P), defined the Port with \Pipe\ePDF, have PrintMon PS running,
chose the distiller with usr\bin\gso2.exe; enterd the library path with isr\lib; x:\psfonts\;X:\usr\shate\ghostscript\9.18\lib
defined a default target directory
What else needs to be done?
-
hello andreas!
What version of eDPF do you have?
I am using '2.99-6 - Jan 2021', and have it configured to use two different Distillers:
1) 9.04
2) 9.18
I use 9.18 regularly and the following are the settings;
'Path to Distiller:' - g:\usr\bin\gsos2.exe
'Library path:' - g:\usr\lib;g:\usr\share\fonts\default\ghostscript;G:\usr\share\fonts\default\type1;g:\psfonts
Of course you need to adjust for the proper DRIVE your OS/2 box is using.
To troubleshoot further head on over to the 'Options' tab and check mark the 'enable STDIO (debug mode)', which will leave the Distiller session up after ePDF calls it. At least that way you might get some tell-tale look at what other errors might be coming at ya?
Oh, one more thing: I think ePDF builds a CMD file that it passes to Distiller, which is what that STDIO window shows you. Look for that CMD file wherever your TEMP variable points to, if I recall correctly. Once you find it you always have the option to run it manually from CLI to better assess what's going on.
-
i'm also using 9.18-version.
With STDIO i get:
Error: /undefined in E&k0G&l1T*t600R&u600D*r0F&l0S&l0O&l26A&l1H&l0M&l0E*c5611x8416Y*p0x120Y*c0T
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1983 1 3 %oparray_pop 1982 1 3 %oparray_pop 1966 1 3 %oparray_pop 1852 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1223/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Current file position is 306
GPL Ghostscript 9.18: Unrecoverable error, exit code 1
Page 0 NumUniqueObjects 0
Page 0 PageLength 0
Page 0 NumSharedObjects 1
FirstSharedObject 0
FirstObjectOffset 0
FirstPageEntries 3
NumSharedObjects 3
GreatestObjectsNumBits 1
FirstObjectOffset 0
LeastObjectLength 0
Shared Object group 0, Length 0
Shared Object group 1, Length 0
Shared Object group 2, Length 0
Shared Object group 0, SignatureFlag false
Shared Object group 1, SignatureFlag false
Shared Object group 2, SignatureFlag false
Shared Object group 0, NumObjects 1
Shared Object group 1, NumObjects 1
Shared Object group 2, NumObjects 1
-
Hi Andi,
I missed the announcement of 2.99-6, so I went looking for links and found
https://www.os2.org/memberlist.php?mode=viewprofile&u=77 (https://www.os2.org/memberlist.php?mode=viewprofile&u=77)
The error message looks strangely similar. I wonder if the same fix applies?
FWIW, I ran into the dUseCIEColor issue when I decided to install GS 9.18 with ePDF. My solution at the time was to write a gs.exe wrapper that removed the errant command line argument. I'll give 2.99.6 and try and see how it compares.
Steven
-
i'm also using 9.18-version.
With STDIO i get:
Error: /undefined in E&k0G&l1T*t600R&u600D*r0F&l0S&l0O&l26A&l1H&l0M&l0E*c5611x8416Y*p0x120Y*c0T
Operand stack:
...
Do all attempts at printing fail this way with this specific error, or is this just a specific job?
For what it's worth, if you can share the document I can attemp to print to ePDF here and we can compare the results...maybe that gives us more details to go off of?
-
Hi Andi,
I missed the announcement of 2.99-6, so I went looking for links and found
https://www.os2.org/memberlist.php?mode=viewprofile&u=77 (https://www.os2.org/memberlist.php?mode=viewprofile&u=77)
Hello Steve
Did you mean this link? - https://www.os2.org/viewtopic.php?t=2769&hilit=ePDF
FYI. There is also ePDF on hobbes: https://hobbesarchive.com/?search=ePDF_2-99-7
Regards
-
finally i found oput, what the pöroblem was: i assumed
HP Laserjet 4P was a ghostscript driver that should work, but it seems i was wrong.
I tried HP 9000PS and it worked fine.
-
Did you mean this link? - https://www.os2.org/viewtopic.php?t=2769&hilit=ePDF
FYI. There is also ePDF on hobbes: https://hobbesarchive.com/?search=ePDF_2-99-7
Yes, I have no idea how I managed to mess up the link copy/paste.
The ePDF on Hobbes is the same distro. As Frank states the zip file contrains version 2.99-6.
-
as I said I got ePDF working now. But I need to keep ""enable STDIO debug mode" marked. Unmarked i get an error message.