Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2025/08/19 19:16:06.895 (台灣標準時)

PS ファイルから PDF ファイルへの変換に於いての問題

ps2pdfwr コマンドを使って PS ファイルを PDF ファイルに変換しようとする と問題が起きて困っているでござる。


% /usr/pkg/bin/ps2pdfwr -sPAPERSIZE=a4 -dALLOWPSTRANSPARENCY -dNOSAFER -dShowAnnots=false ai_202309_s07.ps
Error: /undefined in 6dcd3f70ce4070d6446cd3426dd3426dd6446cd9466add4968cd3f70cb3e71ca3e72bb3877b8
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1974   1   3   %oparray_pop   1973   1   3   %oparray_pop   1961   1   3   %oparray_pop   1817   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:1/20(G)--   --dict:115/200(L)--   --dict:205/300(L)--   --dict:205/300(L)--   --dict:25/40(L)--   --dict:109/200(L)--   --dict:12/21(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 932888219
GPL Ghostscript 10.01.2: Unrecoverable error, exit code 1
GPL Ghostscript 10.01.2: Page object was reserved for an Annotation destination, but no such page was drawn, annotation in output will be invalid.
GPL Ghostscript 10.01.2: ERROR: A pdfmark destination page 95 points beyond the last page 94.

Ghostscript 9.0.6 でも、似たような状況でござる。


% ps2pdfwr -sPAPERSIZE=a4 -dALLOWPSTRANSPARENCY -dNOSAFER -dShowAnnots=false ai_202309_s07.ps
Error: /undefined in 6dcd3f70ce4070d6446cd3426dd3426dd6446cd9466add4968cd3f70cb3e71ca3e72bb3877b8
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1167/1684(ro)(G)--   --dict:1/20(G)--   --dict:116/200(L)--   --dict:205/300(L)--   --dict:205/300(L)--   --dict:25/40(L)--   --dict:109/200(L)--   --dict:12/21(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 932888219
GPL Ghostscript 9.06: Unrecoverable error, exit code 1
GPL Ghostscript 9.06: ERROR: A pdfmark destination page 95 points beyond the last page 94.



Frequently accessed files

  1. Misc___Taiwan/20240207_00.html
  2. Misc___Taiwan/20240819_00.html
  3. Computer___Network/20240130_00.html
  4. Computer___NetBSD/20230119_00.html
  5. Computer___TeX/20231107_00.html
  6. Computer___Network/20230516_00.html
  7. Computer___Network/20241214_00.html
  8. Misc___Taiwan/20240903_01.html
  9. Computer___NetBSD/20250301_01.html
  10. Computer___Network/20230726_00.html
  11. Computer___NetBSD/20240805_03.html
  12. Computer___TeX/20230726_01.html
  13. Computer___Python/20250330_00.html
  14. Misc___Japan/20240610_00.html
  15. Misc___Taiwan/20250728_01.html
  16. Computer___WWW/20230522_02.html
  17. Computer___Hardware/20240820_00.html
  18. Computer___TeX/20240414_00.html
  19. Food___Taiwan/20230609_06.html
  20. Computer___FreeBSD/20220621_0.html
  21. Computer___TeX/20240414_01.html
  22. Computer___TeX/20240411_00.html
  23. Computer___Python/20240101_00.html
  24. Computer___NetBSD/20250307_00.html
  25. Computer___NetBSD/20250409_00.html
  26. Computer___NetBSD/20241102_00.html
  27. Food___Taiwan/20230608_04.html
  28. Computer___NetBSD/20240810_00.html
  29. Computer___TeX/20240410_00.html
  30. Food___Taiwan/20230711_15.html


HTML file generated by Kinoshita Daisuke.