I believe I got the explanation to fix this:charlie6 wrote:...The problem is:
A4 format postscript files as even pdf file are not completely displayed = part of the documents header is not displayed; moreover printing a .ps or .pdf file from the postscript viewer do not print the full page: also a part of the header is «lost».....
/usr/bin/gv is a script containing:
Code: Select all
#!/bin/sh
#Panzerkopf: Using a temporary file instead of pipe.
[ ! $1 ] && exit
ps2pdf "$@" /tmp/$$.pdf
epdfview /tmp/$$.pdf
rm -f /tmp/$$.pdf
To get the complete A4 document, change the script code to tell ps2pdf to format output to A4:
Code: Select all
#!/bin/sh
#Panzerkopf: Using a temporary file instead of pipe.
[ ! $1 ] && exit
exec ps2pdf -sPAPERSIZE#a4 "$@" /tmp/$$.pdf
epdfview /tmp/$$.pdf
rm -f /tmp/$$.pdf
Code: Select all
#!/bin/sh
[ ! $1 ] && exit
exec ps2pdf -sPAPERSIZE#a4 "$@" - | epdfview -