diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2019-03-29 20:34:32 +0100 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2019-03-29 20:34:32 +0100 |
commit | 1bd7a82536895d5f1955603630615fb49a07a0b7 (patch) | |
tree | 0a12400e3d812ceb6ca74cb3b42463af2a69f59d /src/cmd/page/gs.c | |
parent | 892efcdacf40182a99cf7e8f65e9208b7f39ba2c (diff) | |
parent | 047fd921744f39a82a86d9370e03f7af511e6e84 (diff) | |
download | plan9port-1bd7a82536895d5f1955603630615fb49a07a0b7.tar.gz plan9port-1bd7a82536895d5f1955603630615fb49a07a0b7.tar.bz2 plan9port-1bd7a82536895d5f1955603630615fb49a07a0b7.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/page/gs.c')
-rw-r--r-- | src/cmd/page/gs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/page/gs.c b/src/cmd/page/gs.c index 7179429a..5c493b35 100644 --- a/src/cmd/page/gs.c +++ b/src/cmd/page/gs.c @@ -186,6 +186,10 @@ spawngs(GSInfo *g, char *safer) Binit(&g->gsrd, stdoutp[0], OREAD); + gscmd(g, "/PAGEDIDSHOWPAGE false def\n"); + gscmd(g, "/showpage { /PAGEDIDSHOWPAGE true def showpage } bind def\n"); + gscmd(g, "/PAGEFLUSH { PAGEDIDSHOWPAGE not {showpage} if /PAGEDIDSHOWPAGE false def } def\n"); + gscmd(g, "/PAGEOUT (/dev/fd/4) (w) file def\n"); if(!strcmp(safer, "-dSAFER")) gscmd(g, ".setsafe\n"); |