Notebook

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

HTML ファイル生成日時: 2025/07/30 08:17:51.269 (台灣標準時)

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/20240819_00.html
  2. Computer___TeX/20231107_00.html
  3. Computer___NetBSD/20240805_03.html
  4. Computer___NetBSD/20250728_00.html
  5. Computer___TeX/20240410_00.html
  6. Misc___Taiwan/20240903_01.html
  7. Misc___Taiwan/20250728_01.html
  8. Computer___NetBSD/20250409_00.html
  9. Misc___Taiwan/20240207_00.html
  10. Computer___NetBSD/20241102_00.html
  11. Computer___NetBSD/20250301_01.html
  12. Computer___TeX/20240414_01.html
  13. Computer___NetBSD/20230119_00.html
  14. Computer___Hardware/20240820_00.html
  15. Computer___Network/20230726_00.html
  16. Food___Taiwan/20230609_12.html
  17. Computer___NetBSD/20240719_00.html
  18. Misc___Japan/20240610_00.html
  19. Computer___NetBSD/20250113_00.html
  20. Computer___Network/20241214_00.html
  21. Computer___Python/20231008_00.html
  22. Food___Taiwan/20220812_5.html
  23. Computer___Python/20250330_00.html
  24. Computer___Network/20220817_6.html
  25. Computer___TeX/20241108_00.html
  26. Misc___Taiwan/20250125_00.html
  27. Computer___Network/20210205_0.html
  28. Computer___Network/20240130_00.html
  29. Computer___Python/20220715_0.html
  30. Misc___Taiwan/20250603_00.html


HTML file generated by Kinoshita Daisuke.