Could you help me look into below: we encountered ps2pdf conversion issue when we started to use gsview ghost script 9.27, before that it works all fine. We tried to convert .ps file to .pdf file but it hit error as this:
-----------------------------------
-****Error: invalid token after startxcref. output maybe incorrect.
****Error: An error occured while reading XREF table.
****The file has been damaged. This may have been caused
****by a problem while converting or transferring the file.
****Ghostscript will attempt to recover the data.
****However, the output maybe incorr ..
.---------------------------------------------------------------
Does it happen just because of gsview version or there's anything wrong with the setup? We did not change configurations just upgrate the software only.
Please help. Thanks!!
Hi! I added some more info for your review:
This is our command: /usr/sfw/bin/ps2pdf/testing/final.ps /testing/final.pdf
When we opened the final.pdf in text the xref and startxref is empty still %ld
<</Producer(GPL Ghostscript 9.27)
/CreationDate(D:20200116161655+08'00')
/ModDate(D:20200116161655+08'00')>>endobj
xref
0 %ld
0000000000 65535 f
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
%ld 00000 n
trailer
<< /Size 22 /Root 1 0 R /Info 2 0 R
/ID [<91C5EFACD76E9956C2349FE99F02E3FA><91C5EFACD76E9956C2349FE99F02E3FA>]
>>
startxref
%ld
%%EOF
Thanks!