Author Topic: ePDF  (Read 715 times)

andreas

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +5/-0
    • View Profile
ePDF
« 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?
« Last Edit: February 04, 2025, 07:34:21 pm by andreas »

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +27/-0
    • View Profile
Re: ePDF
« Reply #1 on: February 05, 2025, 04:51:49 am »
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.

andreas

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +5/-0
    • View Profile
Re: ePDF
« Reply #2 on: February 07, 2025, 08:34:11 pm »
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
« Last Edit: February 07, 2025, 09:01:57 pm by andreas »

Steven Levine

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +11/-0
    • View Profile
Re: ePDF
« Reply #3 on: February 13, 2025, 08:26:33 pm »
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

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

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +27/-0
    • View Profile
Re: ePDF
« Reply #4 on: February 14, 2025, 05:29:21 am »
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?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5134
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: ePDF
« Reply #5 on: February 14, 2025, 01:52:44 pm »
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

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
Martin Iturbide
OS2World NewsMaster
... just share the dream.