View Issue Details

IDProjectCategoryView StatusLast Update
0000627Other Unix PortBugpublic2020-07-08 09:42
Reporterjjw Assigned Topsmedley  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionwon't fix 
PlatformASUS Z97-KOSeCSOS Version2.2betaII
Summary0000627: Ghostscript 9.14 can't load Ghostscript DLL
DescriptionAttempting to start gvpm with a pdf file results in a popup window which says Can't load Ghostscript dll. If the input is a ps file this message is preceded by a long list of other error messages; the exact content of these error messages vary from one ps file to another.
Steps To ReproduceIssue the command

g:\gs914\gsview2\gvpm.exe filespec
Additional InformationSame result on a T60 widescreen.

I am uploading a file containing the following:
 1. gvpm.ini (minus registation information)
 2. message after attempting to open pdf
 3. message after attempting to open ps

Both the pdf and the ps file open and print correctly using Ghostscript 8.71 which is the last version which works here.
TagsNo tags attached.
Attached Files
ghost.txt (12,392 bytes)   
gvpm.ini

[Options]
RegistrationName=James J. Weinkam
RegistrationReceipt=
RegistrationNumber=
Language=en
HelpCmd=
Origin=140 246
Size=1307 700
Maximized=0
SaveSettings=1
ButtonBar=1
FitWindowToPage=0
Resolution=96 96
ZoomResolution=300 300
Depth=0
TextAlphaBits=4
GraphicsAlphaBits=4
Media=A4
MediaRotate=0
UserSize=480 360
UserSizeWarn=5669 5669
EpsfClip=0
EpsfWarn=0
IgnoreDSC=0
DSCWarn=2
ShowBBox=0
AutoOrientation=1
Orientation=0
SwapLandscape=0
Unit=0
UnitFine=0
PStoText=1
Safer=1
AutoRedisplay=1
AutoBoundingBox=1
SaveLastDir=1
LastDir=E:/therese
DrawMethod=1
ProgressiveUpdate=2
PrinterPort=
PrinterQueue=
PrinterDevice=djet500
PrinterResolution=300
PrintFixedMedia=1
ConvertDevice=pdfwrite
ConvertResolution=600
ConvertFixedMedia=1
PrintGDIDepth=0
PrintGDIFixedMedia=1
PrintToFile=0
PrintMethod=1
PrintReverse=0
SoundOutputPage=
SoundNoPage=beep
SoundNoNumbering=
SoundNotOpen=
SoundError=beep
SoundStart=
SoundExit=
SoundBusy=beep
LastFile1=E:\therese\bugs.ps
LastFile2=G:\music\alleluia.ps
LastFile3=
LastFile4=

[UserMedia]
A0=2380,3368
A1=1684,2380
A2=1190,1684

[Devices]
bj10e=360x360,360x180,180x360,180x180
bj200=360x360,360x180,180x360,180x180
bjc600=360x360,360x180,180x360,180x180
bjc800=360x360,360x180,180x360,180x180
cdeskjet=300x300,150x150,100x100,75x75
cdj550=300x300,150x150,100x100,75x75
cdjcolor=300x300,150x150,100x100,75x75
cdjmono=300x300,150x150,100x100,75x75
declj250=180x180
deskjet=300x300,150x150,100x100,75x75
djet500=300x300,150x150,100x100,75x75
djet500c=300x300,150x150,100x100,75x75
eps9high=240x216,120x216,60x216
eps9mid=240x216,120x216,60x216
epson=360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72
epsonc=360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72
ibmpro=360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72
jetp3852=84x84
laserjet=300x300,150x150,100x100,75x75
lbp8=300x300
lj250=180x180,90x90
ljet2p=300x300,150x150,100x100,75x75
ljet3=300x300,150x150,100x100,75x75
ljet3d=300x300,150x150,100x100,75x75
ljet4=600x600,300x300,150x150,100x100,75x75
ljet4d=600x600,300x300,150x150,100x100,75x75
ljetplus=300x300,150x150,100x100,75x75
m8510=160x144
necp6=360x360,360x180,180x360,180x180
os2prn=
pj=180x180,90x90
pjxl300=300x300
pjxl=180x180,90x90
psmono=72,96,120,300,600
pswrite=72,96,120,300,600
pxlmono=72,96,120,300,600
pxlcolor=72,96,120,300,600
r4081=300x300
st800=360x360,360x180,180x180
stcolor=720x720,360x360,360x180,180x180
t4693d2=100x100
t4693d4=100x100
t4693d8=100x100
tek4696=120x120
uniprint=

[Convert]
bit=72,96
bitcmyk=72,96
bitrgb=72,96
bmp16=72,96,120,300,600
bmp16m=72,96,120,300,600
bmp256=72,96,120,300,600
bmpgray=72,96,120,300,600
bmpmono=72,96,120,300,600
epswrite=72,96,120,300
jpeg=72,300,600
jpeggray=72,300,600
pbm=72,96,300,600
pbmraw=72,96,300,600
pcx16=72,96,120
pcx24b=72,96,120
pcx256=72,96,120
pcxcmyk=72,96,120
pcxgray=72,96,120
pcxmono=72,96,120
pdfwrite=72,300,600,720
pgm=72,96,300,600
pgmraw=72,96,300,600
pgnm=72,96,300,600
pgnmraw=72,96,300,600
png16=72,96,120,300,600
png16m=72,96,120,300,600
png256=72,96,120,300,600
pnggray=72,96,120,300,600
pngmono=72,96,120,300,600
pnm=72,96,300,600
pnmraw=72,96,300,600
ppm=72,96,300,600
ppmraw=72,96,300,600
psmono=72,96,120,300,600
pswrite=72,96,120,300,600
ps2write=72,96,120,300,600
tiff12nc=72,96,204x196,204x98
tiff24nc=72,96,204x196,204x98
tiffcrle=72,96,204x196,204x98
tiffg32d=204x196,204x98
tiffg3=204x196,204x98
tiffg4=204x196,204x98
tifflzw=72,96,204x196,204x98
tiffpack=72,96,204x196,204x98

[epswrite values]
dLanguageLevel=1,1.5,2,3

[pswrite values]
dLanguageLevel=1,1.5,2,3

[jpeg]
dJPEGQ=[Not defined]
dQFactor=[Not defined]

[jpeg values]
dJPEGQ=0,25,50,75,100
dQFactor=0.0,1.0

[os2prn]
dBitsPerPixel=[Not defined]

[os2prn values]
dBitsPerPixel=1,4,8,24

[pdfwrite]
dCompatibilityLevel=1.2
dPDFSETTINGS=[Not defined]
dAutoRotatePages=[Not defined]
dCompressPages=[Not defined]
dASCII85EncodePages=[Not defined]
dUseFlateCompression=[Not defined]
dEmbedAllFonts=[Not defined]
dSubsetFonts=[Not defined]
dMaxSubsetPct=[Not defined]
dConvertCMYKImagesToRGB=[Not defined]
dAutoFilterColorImages=[Not defined]
dColorImageFilter=[Not defined]
dEncodeColorImages=[Not defined]
dDownsampleColorImages=[Not defined]
dColorImageDepth=[Not defined]
dColorImageResolution=[Not defined]
dColorImageDownsampleThreshold=[Not defined]
dColorImageDownsampleType=[Not defined]
dAutoFilterGrayImages=[Not defined]
dGrayImageFilter=[Not defined]
dEncodeGrayImages=[Not defined]
dDownsampleGrayImages=[Not defined]
dGrayImageDownsampleThreshold=[Not defined]
dGrayImageDownsampleType=[Not defined]
dGrayImageDepth=[Not defined]
dGrayImageResolution=[Not defined]
dMonoImageFilter=[Not defined]
dEncodeMonoImages=[Not defined]
dDownsampleMonoImages=[Not defined]
dMonoImageDownsampleThreshold=[Not defined]
dMonoImageDownsampleType=[Not defined]
dMonoImageDepth=[Not defined]
dMonoImageResolution=[Not defined]
dEncryptionR=[Not defined]
dHaveTransparency=[Not defined]
dHaveTrueTypes=[Not defined]
dKeyLength=[Not defined]
dMaxClipPathSize=[Not defined]
dMaxInlineImageSize=[Not defined]
dMaxShadingBitmapSize=[Not defined]
dPatternImagemask=[Not defined]
dPDFX=[Not defined]
dPermissions=[Not defined]
sDocumentUUID=[Not defined]
sInstanceUUID=[Not defined]
sOwnerPassword=[Not defined]
sUserPassword=[Not defined]

[pdfwrite values]
dCompatibilityLevel=1.1,1.2,1.3,1.4,1.5
dPDFSETTINGS=/screen,/ebook,/printer,/prepress,/default
dAutoRotatePages=/None,/All,/PageByPage
dCompressPages=true,false
dASCII85EncodePages=true,false
dUseFlateCompression=true,false
dEmbedAllFonts=true,false
dSubsetFonts=true,false
dMaxSubsetPct=10,35,50
dConvertCMYKImagesToRGB=true,false
dAutoFilterColorImages=true,false
dColorImageFilter=/DCTEncode,/FlateEncode
dEncodeColorImages=true,false
dDownsampleColorImages=true,false
dColorImageDepth=1,2,4,8,-1
dColorImageResolution=72,96,120,300,600,720
dColorImageDownsampleThreshold=1.5,2,4
dColorImageDownsampleType=/Average,/Bicubic,/Subsample
dAutoFilterGrayImages=true,false
dGrayImageFilter=/DCTEncode,/FlateEncode
dEncodeGrayImages=true,false
dDownsampleGrayImages=true,false
dGrayImageDownsampleThreshold=1.5,2,4
dGrayImageDownsampleType=/Average,/Bicubic,/Subsample
dGrayImageDepth=1,2,4,8,-1
dGrayImageResolution=72,96,120,300,600,720
dMonoImageFilter=/CCITTFaxEncode,/FlateEncode,/RunLengthEncode
dEncodeMonoImages=true,false
dDownsampleMonoImages=true,false
dMonoImageDownsampleThreshold=1.5,2,4
dMonoImageDownsampleType=/Average,/Bicubic,/Subsample
dMonoImageDepth=1,-1
dMonoImageResolution=72,96,120,300,600,720
dEncryptionR=2,3
dHaveTransparency=true,false
dHaveTrueTypes=true,false
dKeyLength=40,48,56,64,72,80,88,96,104,112,120,128
dMaxClipPathSize=8192,12000,16384,32768,65536
dMaxInlineImageSize=0,4000
dMaxShadingBitmapSize=65536,131072,256000,262144,524288,1048576
dPatternImagemask=true,false
dPDFX=true,false
dPermissions=-1,0
sDocumentUUID=""
sInstanceUUID=""
sOwnerPassword=""
sUserPassword=""

[ppmraw]
dTextAlphaBits=[Not defined]
dGraphicsAlphaBits=[Not defined]

[ppmraw values]
dTextAlphaBits=1,2,4
dGraphicsAlphaBits=1,2,4

[ps2write]
-dASCII85EncodePages=[Not defined]
-dCompressEntireFile=[Not defined]
-dCompressPages=[Not defined]
-dCompressFonts=[Not defined]
-dMaxViewerMemorySize=[Not defined]
-dPreserveHalftoneInfo=[Not defined]

[ps2write values]
-dASCII85EncodePages=true,false
-dCompressEntireFile=true,false
-dCompressPages=true,false
-dCompressFonts=true,false
-dMaxViewerMemorySize=8000000
-dPreserveHalftoneInfo=true,false

[tiffcrle]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tiffcrle values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[tiffg3]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tiffg3 values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[tiffg32d]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tiffg32d values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[tiffg4]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tiffg4 values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[tifflzw]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tifflzw values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[tiffpack]
dMaxStripSize=[Not defined]
dAdjustWidth=[Not defined]
dFillOrder=[Not defined]

[tiffpack values]
dAdjustWidth=0,1
dFillOrder=1,2
dMaxStripSize=0,1024,2048,4096,8192,16384,32768,65536

[cdj500]
dBitsPerPixel=24 
dBlackCorrect=4
dShingling=2
dDepletion=1 

[cdj500 values]
dBitsPerPixel=1,3,8,16,24 
dBlackCorrect=0,1,2,3,4,5,6,7,8,9
dShingling=0,1,2 
dDepletion=1,2,3 

[cdj550]
dBitsPerPixel=24 
dShingling=2
dDepletion=1 

[cdj550 values]
dBitsPerPixel=1,3,8,16,24,32 
dShingling=0,1,2 
dDepletion=1,2,3 

[cdjcolor]
dBitsPerPixel=24 
dBlackCorrect=4
dShingling=2
dDepletion=1 

[cdjcolor values]
dBitsPerPixel=1,3,8,16,24 
dBlackCorrect=0,1,2,3,4,5,6,7,8,9
dShingling=0,1,2 
dDepletion=1,2,3 

[cdeskjet]
dBitsPerPixel=3 
dShingling=2
dDepletion=1 

[cdeskjet values]
dBitsPerPixel=1,3,8,16,24 
dShingling=0,1,2 
dDepletion=1,2,3 

[cdjmono]
dShingling=0
dDepletion=1 

[cdjmono values]
dShingling=0,1,2 
dDepletion=1,2,3 

[pjxl300]
dBitsPerPixel=24
dPrintQuality=0
dRenderType=0 

[pjxl300 values]
dBitsPerPixel=1,3,8,16,24 
dPrintQuality=-1,0,1
dRenderType=0,1,2,3,4,5,6,7,8,9,10

[pjxl]
dBitsPerPixel=24 
dPrintQuality=0
dRenderType=0 

[pjxl values]
dBitsPerPixel=1,3,8,16,24 
dPrintQuality=-1,0,1
dRenderType=0,1,2,3,4,5,6,7,8,9,10

[pj]
dBitsPerPixel=24 

[pj values]
dBitsPerPixel=1,3,8,16,24 

[declj250]
dBitsPerPixel=24 

[declj250 values]
dBitsPerPixel=1,3,8,16,24 

[stcolor]
dUnidirectional=[Not defined]
dMicroweave=[Not defined]
dSoftweave=[Not defined]
dnoWeave=[Not defined]
sDithering=[Not defined]
dBitsPerPixel=[Not defined]
sModel=[Not defined]

[stcolor values]
dUnidirectional=true
dMicroweave=true
dSoftweave=true
dnoWeave=true
sDithering=gscmyk,gsmono,gsrgb,fsmono,fsrgb,fsx4,fscmyk,hscmyk,fs2
dBitsPerPixel=1,3,8,16,24,32
sModel=st800

[GSview-4.9]
Version=4.9
GSversion=914
Configured=1
GhostscriptDLL=G:\gs914\gs9.14\bin\gsdll2.dll
GhostscriptEXE=G:\gs914\gs7.04\bin\gsos2.exe
GhostscriptInclude=G:\gs914\gs9.14\resource\init;G:\gs914\gs9.14\lib;G:\gs914\gs9.14\Resource\font;G:\gs914\fonts;D:\psfonts;
GhostscriptOther=-dNOPLATFONTS -sFONTPATH="d:\psfonts"

[Measure]
XX=1
XY=0
YX=0
YY=1
TX=0
TY=0
Unit=0
TranslateX=0
TranslateY=0
Rotate=0
ScaleX=1
ScaleY=1


Messages after attempting to open pdf:

GSview 4.9 2007-11-18
Can't load Ghostscript DLL


Messages after attempting to open pdf:

GSview 4.9 2007-11-18
Unknown in Comments section at line 5:
  %%DocumentProcSets: PM_1.2

Unknown in Comments section at line 6:
  %%DocumentSuppliedProcSets: PM_1.2

Unknown in Comments section at line 7:
  %%PrinterName: HP9500PS

Unknown in Comments section at line 8:
  %%PrinterRect: 12 12 598 778

Unknown in Page section at line 1380:
  %%VMusage: 120000 150000

DSC Information
At line 1402:
  a1d6d02b8937de195ee7ac8982eb2d8b0810a4ef164f32a7ee723429bc8a3ed75e42886f7219a157a9e0db9048354ad626f8a31a163bda6d23264657b2991a4bfebfeac65b6bc1ac8b45bc7bf3899ad50c0e893a7e8f798b03307e6a4836656c3c769c0e037656876df7e30d28a5e14ed7dfa7217e8cfb78a720cd401658991
Lines in DSC documents must be shorter than 255 characters.
Unknown in Page section at line 2624:
  %%VMusage: 120000 150000
Unknown in Trailer section at line 4123:
  %%DocumentSuppliedResources:

Unknown in Trailer section at line 4124:
  %%+ font Times New Roman Bold

Unknown in Trailer section at line 4125:
  %%+ font Times New Roman

Can't load Ghostscript DLL

ghost.txt (12,392 bytes)   
gsdll2.txt (5,061 bytes)   
Loading DLL 'libc065' --> D:\ECS\DLL\LIBC065.DLL.
  File is not a valid OS/2 .EXE or .DLL file
Loading DLL 'pmspl' --> D:\OS2\DLL\PMSPL.DLL.
  Loading DLL 'SPL1B' --> D:\OS2\DLL\SPL1B.DLL.
    Loading DLL 'PMSPL' --> D:\OS2\DLL\PMSPL.DLL.
    Loading DLL 'DOSCALLS' --> loaded.
    All DLL's used by 'D:\OS2\DLL\SPL1B.DLL' could be loaded.
  Loading DLL 'DOSCALLS' --> loaded.
  Loading DLL 'PMGRE' --> D:\OS2\DLL\PMGRE.DLL.
    Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
      Loading DLL 'PMGPI' --> D:\OS2\DLL\PMGPI.DLL.
        Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        Loading DLL 'PMGRE' --> D:\OS2\DLL\PMGRE.DLL.
        Loading DLL 'PMWIN' --> D:\OS2\DLL\PMWIN.DLL.
          Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
          All DLL's used by 'D:\OS2\DLL\PMWIN.DLL' could be loaded.
        Loading DLL 'VIOCALLS' --> D:\OS2\DLL\VIOCALLS.DLL.
          Loading DLL 'DOSCALLS' --> loaded.
          All DLL's used by 'D:\OS2\DLL\VIOCALLS.DLL' could be loaded.
        Loading DLL 'PMSHAPI' --> D:\OS2\DLL\PMSHAPI.DLL.
          Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
          All DLL's used by 'D:\OS2\DLL\PMSHAPI.DLL' could be loaded.
        Loading DLL 'PMSPL' --> D:\OS2\DLL\PMSPL.DLL.
        Loading DLL 'MSG' --> D:\OS2\DLL\MSG.DLL.
          Loading DLL 'DOSCALLS' --> loaded.
          All DLL's used by 'D:\OS2\DLL\MSG.DLL' could be loaded.
        All DLL's used by 'D:\OS2\DLL\PMGPI.DLL' could be loaded.
      Loading DLL 'PMVIOP' --> D:\OS2\DLL\PMVIOP.DLL.
        Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        Loading DLL 'PMGPI' --> D:\OS2\DLL\PMGPI.DLL.
        Loading DLL 'PMSHLTKT' --> D:\OS2\DLL\PMSHLTKT.DLL.
          Loading DLL 'DOSCALLS' --> loaded.
          Loading DLL 'PMWIN' --> D:\OS2\DLL\PMWIN.DLL.
          Loading DLL 'NLS' --> D:\OS2\DLL\NLS.DLL.
            Loading DLL 'DOSCALLS' --> loaded.
            All DLL's used by 'D:\OS2\DLL\NLS.DLL' could be loaded.
          Loading DLL 'MSG' --> D:\OS2\DLL\MSG.DLL.
          Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
          All DLL's used by 'D:\OS2\DLL\PMSHLTKT.DLL' could be loaded.
        All DLL's used by 'D:\OS2\DLL\PMVIOP.DLL' could be loaded.
      Loading DLL 'DOSCALLS' --> loaded.
      Loading DLL 'SOFTDRAW' --> D:\OS2\DLL\SOFTDRAW.DLL.
        Loading DLL 'PMMERGE' --> D:\OS2\DLL\PMMERGE.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        Loading DLL 'PMGRE' --> D:\OS2\DLL\PMGRE.DLL.
        All DLL's used by 'D:\OS2\DLL\SOFTDRAW.DLL' could be loaded.
      Loading DLL 'FFST' --> D:\OS2\DLL\FFST.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        Loading DLL 'NLS' --> D:\OS2\DLL\NLS.DLL.
        Loading DLL 'MSG' --> D:\OS2\DLL\MSG.DLL.
        All DLL's used by 'D:\OS2\DLL\FFST.DLL' could be loaded.
      Loading DLL 'PMGRE' --> D:\OS2\DLL\PMGRE.DLL.
      Loading DLL 'PMWIN' --> D:\OS2\DLL\PMWIN.DLL.
      Loading DLL 'MOUCALLS' --> D:\OS2\DLL\MOUCALLS.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        All DLL's used by 'D:\OS2\DLL\MOUCALLS.DLL' could be loaded.
      Loading DLL 'VIOCALLS' --> D:\OS2\DLL\VIOCALLS.DLL.
      Loading DLL 'NLS' --> D:\OS2\DLL\NLS.DLL.
      Loading DLL 'PMSHAPI' --> D:\OS2\DLL\PMSHAPI.DLL.
      Loading DLL 'SESMGR' --> D:\OS2\DLL\SESMGR.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        All DLL's used by 'D:\OS2\DLL\SESMGR.DLL' could be loaded.
      Loading DLL 'QUECALLS' --> D:\OS2\DLL\QUECALLS.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        All DLL's used by 'D:\OS2\DLL\QUECALLS.DLL' could be loaded.
      Loading DLL 'UCONV' --> D:\OS2\DLL\UCONV.DLL.
        Loading DLL 'DOSCALLS' --> loaded.
        All DLL's used by 'D:\OS2\DLL\UCONV.DLL' could be loaded.
      Loading DLL 'MSG' --> D:\OS2\DLL\MSG.DLL.
      All DLL's used by 'D:\OS2\DLL\PMMERGE.DLL' could be loaded.
    Loading DLL 'SOFTDRAW' --> D:\OS2\DLL\SOFTDRAW.DLL.
    All DLL's used by 'D:\OS2\DLL\PMGRE.DLL' could be loaded.
  Loading DLL 'PMGPI' --> D:\OS2\DLL\PMGPI.DLL.
  Loading DLL 'PMWIN' --> D:\OS2\DLL\PMWIN.DLL.
  Loading DLL 'KBDCALLS' --> D:\OS2\DLL\KBDCALLS.DLL.
    Loading DLL 'DOSCALLS' --> loaded.
    All DLL's used by 'D:\OS2\DLL\KBDCALLS.DLL' could be loaded.
  Loading DLL 'VIOCALLS' --> D:\OS2\DLL\VIOCALLS.DLL.
  Loading DLL 'NLS' --> D:\OS2\DLL\NLS.DLL.
  Loading DLL 'PMSHAPI' --> D:\OS2\DLL\PMSHAPI.DLL.
  Loading DLL 'SESMGR' --> D:\OS2\DLL\SESMGR.DLL.
  Loading DLL 'MSG' --> D:\OS2\DLL\MSG.DLL.
  All DLL's used by 'D:\OS2\DLL\PMSPL.DLL' could be loaded.
Loading DLL 'doscalls' --> loaded.
Loading DLL 'pmgpi' --> D:\OS2\DLL\PMGPI.DLL.
Loading DLL 'pmwin' --> D:\OS2\DLL\PMWIN.DLL.
Loading DLL 'cups17' --> NOT loaded!
Unable to load DLL 'cups17'.  DosLoadModule returned: 2
OS/2 reports 'GCC473' contributed to the failure.
Loading DLL 'tcpip32' --> D:\MPTN\DLL\TCPIP32.DLL.
  File is not a valid OS/2 .EXE or .DLL file
gsdll2.txt (5,061 bytes)   
pswrite.zip (15,000 bytes)

Activities

psmedley

2014-10-09 20:45

administrator   ~0002854

looks like it needs cups17.dll - can you install it and confirm?

http://smedley.id.au/tmp/cups17.zip

jjw

2014-10-09 22:48

reporter   ~0002855

I extracted cups17.dll from the zip and placed it both in g:\gs914\gsview2 (the directory where the gvpm execuatble is located) and in d:\os2\dll (a directory on LIBPATH.

I still get the same result.

psmedley

2014-10-09 22:53

administrator   ~0002856

can you run chkdsk32 against gsdll2.dll and confirm you have all DLL requirements on your system?

jjw

2014-10-10 00:01

reporter   ~0002857

Surely you meant something like pmdll! Here is the output:

DLL tree - G:\GS914\GS9.14\BIN\GSDLL2.DLL Page 1
--------------------------------------------------------------------------------

GSDLL2.DLL?
          ?LIBC065.DLL??
          ? ?DOSCALL1.DLL
          ? ?NLS.DLL
          ? ?KBDCALLS.DLL
          ? ?VIOCALLS.DLL
          ?PMSPL.DLL
          ?DOSCALL1.DLL
          ?PMGPI.DLL
          ?PMWIN.DLL
          ?CUPS17.DLL
          ?TCPIP32.DLL??
                       ?DOSCALL1.DLL
                       ?MSG.DLL
DLL tree - G:\GS914\GS9.14\BIN\GSDLL2.DLL Page 2
--------------------------------------------------------------------------------

Module : LIBC065.DLL
Loaded from : D:\ECS\DLL\LIBC065.DLL
File size : 1,353,208 bytes
File date/time: 03-23-12 04:32:50 am

Module : TCPIP32.DLL
Loaded from : D:\MPTN\DLL\TCPIP32.DLL
File size : 87,504 bytes
File date/time: 08-16-11 06:01:00 am


Nevertheless the dll fails to load on both the desktop and the T60.

psmedley

2014-10-10 00:18

administrator   ~0002858

Phillip and chkdll32 do the same thing. Can you run pull on cups17.dll

jjw

2014-10-10 00:35

reporter   ~0002859

Not familiar with pull. Google didn't help. Can you give me a URL where I can get it?

jjw

2014-10-10 00:48

reporter   ~0002860

Added thought for what it's worth:

All of my printers use native OS/2 drivers. CUPS is not installed on any of my systems. I don't understand why cups17.dll is required. None of the earlier versions of Ghostscript needed it.

jjw

2014-10-10 02:16

reporter   ~0002861

Meanwhile, I checked my download directory and found that I do have a copy of chkdll32.exe. Its output is much more voluminous that that of pmdll. Moreover it gets a different result. I shall upload the output of

chkdll32.exe -!-l g:\gs914\gs9.14\bin\gsdll2.dll >gsdll2.txt 2>&1

psmedley

2014-10-10 08:07

administrator   ~0002862

you're missing gcc473.dll. I'll try rebuild ghostscript tomorrow without the cups17.dll dependency.

psmedley

2014-10-10 09:58

administrator   ~0002863

I built 9.15 - will give you a link in the morning once I test

psmedley

2014-10-10 19:49

administrator   ~0002865

http://smedley.id.au/tmp/ghostscript-9.15-os2-20141011.zip

If you confirm it's OK, I'll add it to my site.

In terms of the cups requirement, it was unintentional to depend on the dll, I normally link the cups stuff statically. Please understand though, that if CUPS didn't need ghostscript, I would have probably never worked on updating ghostscript. The fact that the updates to add cups support helped others using gsview with a side bonus :)

jjw

2014-10-11 02:20

reporter   ~0002866

Ghostscript 9.15 opens correctly for all files I have tries. The ljet4 and ljet4d devices work correctly but are only black and white.

As Ghostscript configures itself, it offers the pswrite device but any attempt to use results in the message Unknown device pswrite.

There are some references to ps2write in gvpm.ini but there is no ps2write entry in the device list. I tried fixing up gvpm.ini to get ps2write to work but so far no success. It does seem to recognize the device but is unable actually to use it.

I am uploading a zip containing the following:

gvpm0.ini gvpm.ini immediately after install
gvpm1.ini after opening a pdf with 0 and trying to use pswrite
gvpm2.ini after editing 0 to try to get ps2write working
gvpm3.ini after opening a pdf with 3 and trying to use ps2write
gvpm4.ini ofter opening a pdf with 3 and printing using ljet4.

The ps printing attempts use the OS/2 printer object CP2025PS which uses the Postscript driver. The ljet4 attempt uses the printer object CP2025PC which uses the LASERJET driver. Both printer objects refer to the same physical printer which is connected via USB. The ljet4 attempt printed correctly once I changed MEDIA from A4 to LETTER.

I am unable to capture the messages from the ljet4 printout since the fly by too fast even to read them before the window closes.

os2darcio

2014-10-11 02:33

reporter   ~0002867

jjw: I just ran into the same 9.14 error you reported, was about to log a BUG for Paul but it sounds like the 9.15 release fixes this...I will try it next.

Regarding the print problem...I previously had this issue with 9.10...logged a BUG (see 594 - GhostView with Ghostscript 9.10 fails to print all
documents) but even with the suggested changes to the gvpmi.ini file (found in \OS2) I wasn't able to get it to work. The last version that works here with both GView 5.00 and 4.9 is GhostScript 9.04, this is what I keep on using due to the print problem.

os2darcio

2014-10-11 02:45

reporter   ~0002868

UPDATE re: 9.15 and print
=========================
9.15 release works great for viewing files, but print is still broken, getting the following error message:

=== START ===
Unknown device: pswrite
Unrecoverable error: syntaxerror in --nostringval--
Operand stack:
    defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
    defaultdevice
gsapi_exit returns 0
DosFreeModule returns 12
=== END ===

psmedley

2014-10-11 03:34

administrator   ~0002869

pswrite was removed in Ghostscript 9.x. gvpm needs to be modified to use ps2write

See http://mantis.smedley.id.au/view.php?id=594 for details on what to change in x:\os2\gvpm.ini

jjw

2014-10-11 04:08

reporter   ~0002870

I made that change. Here are the error messages from trying to print to device ps2write:

GPL Ghostscript 9.15 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GPL Ghostscript 9.15: **** Could not open the file \\spool\CP2025PS .
**** Unable to open the initial device, quitting.
GPL Ghostscript 9.15: **** Could not open the file \\spool\CP2025PS .
Unrecoverable error: ioerror in setpagedevice
Operand stack:
    true --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
gsapi_exit returns 0
DosFreeModule returns 12

(The messages about being unable to open the SPOOL file are always there and don't cause problems)

The full gvpm.ini files are in the zip I uploaded earlier.

os2darcio

2014-10-11 13:08

reporter   ~0002871

Paul: the instructions you provided in my old ticket (594) did not work for me...I could never get ps2write device to be recognized...the error message would ONLY reference pswrite. No amount of tweaking the internals of gvpm.ini and somehow translating pswrite=>ps2write helped.

jjw

2014-10-11 22:31

reporter   ~0002879

My experience is different:

If I do not modify gvpm.ini, ps2write does not appear in the list of available devices in the Print menu but pswrite does; but if I select pswrite and try to print, I get the following:

Unknown device: pswrite
Unrecoverable error: syntaxerror in --nostringval--
Operand stack:
    defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
    defaultdevice
gsapi_exit returns 0
DosFreeModule returns 12

On the other hand, if I modify gvpm.ini then the ps2device is listed in the Print menu, and if I select ps2write and try to print I get:

GPL Ghostscript 9.15: **** Could not open the file \\spool\CP2025PS .
**** Unable to open the initial device, quitting.
GPL Ghostscript 9.15: **** Could not open the file \\spool\CP2025PS .
Unrecoverable error: ioerror in setpagedevice
Operand stack:
    true --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
gsapi_exit returns 0
DosFreeModule returns 12

So it appears that there is a ps2write device there but it doesn't work.

psmedley

2014-10-11 23:03

administrator   ~0002880

Last edited: 2014-10-11 23:05

you may need to make the changes to printer.ini in the gvpm directory as well. Note i've only tested print to file here.

Print to file works for me with gs 9.15 and ps2write

jjw

2014-10-12 03:57

reporter   ~0002882

Aha!

Print to file works correctly here using ps2write in version 9.15. The resulting .ps file prints correctly when copied to the postscript printer.

The fact that ps2write produces a correct postscript byte stream and can write it to a file suggests to me that whatever problem is preventing it from sending the same byte stream directly to the printer is probably fairly trivial.

One further note:

I used pswrite with 8.71 and ps2write with 9.15 to print the same .pdf to files. The two files produced identical results when copied to the printer. The file sizes were 59,281 and 226,897 respectively.

Thanks for all your efforts.

jjw

2014-10-12 19:56

reporter   ~0002883

This morning I received a pdf that loaded and displayed correctly in both 8.71 and 9.15. Neither 8.71 nor Lucide could print the file either directly to the printer or to a file. The .ps file produced by 9.15 printed correctly. Definitely a step forward.

David McKenna

2014-10-13 02:08

reporter   ~0002884

Which settings need to be changed in gvpm.ini and how? Maybe someone can upload a working example....?

os2darcio

2014-10-13 17:19

reporter   ~0002885

Great question David...I've tried just about all the combos I could think off...what I can tell you for sure is that for a particular gvpm.ini file:

1) GS 9.04 works
2) GS anything > 9.04 does NOT work

...therefore, I can only conclude there are some internal GS changes that are causing this.

FYI, I currently have 2 versions of GhostView installed, 4.9 and 5.0, both exhibit the same behaviour.

jjw

2014-10-13 19:47

reporter   ~0002886

For best results, delete gvpm.ini from B:\OS2, where B is your boot drive, before installing a new version. Otherwise, gvpm.ini will be "polluted" with leftover information from the previous version.

After installation, registration, and configuration, open gvpm.ini in a text editor. Find the [Devices] section and look for the line beginning 'pswrite=...'. Change 'pswrite' to 'ps2write'.

I also delete the other lines relating to pswrite, but I don't think that is really necessary.

Bear in mind that this only partly fixes the problem. To use the ps2write device, you have to check the print to file box and manually copy the resulting .ps file to your postscript printer.

psmedley

2020-07-08 09:42

administrator   ~0003474

I no longer maintain ghostscript

Issue History

Date Modified Username Field Change
2014-10-08 21:54 jjw New Issue
2014-10-08 21:54 jjw File Added: ghost.txt
2014-10-09 20:45 psmedley Note Added: 0002854
2014-10-09 20:45 psmedley Assigned To => psmedley
2014-10-09 20:45 psmedley Status new => feedback
2014-10-09 22:48 jjw Note Added: 0002855
2014-10-09 22:48 jjw Status feedback => assigned
2014-10-09 22:53 psmedley Note Added: 0002856
2014-10-10 00:01 jjw Note Added: 0002857
2014-10-10 00:18 psmedley Note Added: 0002858
2014-10-10 00:35 jjw Note Added: 0002859
2014-10-10 00:48 jjw Note Added: 0002860
2014-10-10 02:16 jjw Note Added: 0002861
2014-10-10 02:17 jjw File Added: gsdll2.txt
2014-10-10 08:07 psmedley Note Added: 0002862
2014-10-10 09:58 psmedley Note Added: 0002863
2014-10-10 19:49 psmedley Note Added: 0002865
2014-10-11 02:20 jjw Note Added: 0002866
2014-10-11 02:21 jjw File Added: pswrite.zip
2014-10-11 02:33 os2darcio Note Added: 0002867
2014-10-11 02:45 os2darcio Note Added: 0002868
2014-10-11 03:34 psmedley Note Added: 0002869
2014-10-11 04:08 jjw Note Added: 0002870
2014-10-11 13:08 os2darcio Note Added: 0002871
2014-10-11 22:31 jjw Note Added: 0002879
2014-10-11 23:01 psmedley Summary Ghpostscript 9.14 can't load Ghostscript DLL => Ghostscript 9.14 can't load Ghostscript DLL
2014-10-11 23:03 psmedley Note Added: 0002880
2014-10-11 23:05 psmedley Note Edited: 0002880
2014-10-12 03:57 jjw Note Added: 0002882
2014-10-12 19:56 jjw Note Added: 0002883
2014-10-13 02:08 David McKenna Note Added: 0002884
2014-10-13 17:19 os2darcio Note Added: 0002885
2014-10-13 19:47 jjw Note Added: 0002886
2020-07-08 09:42 psmedley Status assigned => closed
2020-07-08 09:42 psmedley Resolution open => won't fix
2020-07-08 09:42 psmedley Note Added: 0003474