Overlay two postscript files (command line approach)?

前端 未结 3 2074
闹比i
闹比i 2020-12-31 21:05

I\'m aware that similar questions have been answered here before:

  • postscript - overlay one pdf or ps file on top of another - Stack Overflow
  • overlay -
3条回答
  •  鱼传尺愫
    2020-12-31 21:40

    A similar approach to KenS's would be to put the "composition" code in a single file and call the component files with the run operator. It amounts to the same thing but with a little less shell-work. A limitation is that the -dSAFER option (which is ON by default in most Distiller installations) disables the run operator.

    combo.ps:

    /Oldshowpage /showpage load def
    /showpage {} def
    gsave
        (tmp-Front.ps) run
    grestore
        %additional scaling and translation to place the graphic?
        (logo.ps) run
    Oldshowpage
    

提交回复
热议问题