Hello everyone,
I'm not very used to postscript. That's why i come here to ask for help.
I'd like to add an image on all odd page when i print a PDF. I'm using ghostscript to print the PDF. The image is a JPG that i converted to an EPS file with sam2p. I found some useful tips on the forum like this one :
/show_Logo
{
/masauvegarde save def
/showpage {} def
.5 dup scale 50 50 translate
(c:\\appli\\sharedro\\formul\\eis.eps) run
.5 dup scale 100 100 translate
(c:\\appli\\sharedro\\formul\\eid_logo.eps) run
masauvegarde restore
} bind store
The only way i found to show the image is to use the following :
show_Logo showpage
The problem is that the picture is shown on a separate page.
I don't find a way to add it on the PDF page itself.
My ghostscript command line is :
"C:\appli\statro\Impressions\gswin32c.exe" -q -dBATCH -dNOPAUSE -I"C:\appli\statro\Impressions\ghost;C:\appli\statro\Impressions\ghost\fonts" -sstdout="C:\Windows\TEMP\gs_44B6.tmp" -r300x300 -sDEVICE=ljet4 -sOutputFile="%printer%USB0001" -sPAPERSIZE=a4 -dFIXEDMEDIA -f "C:\appli\sharedro\formul\etiquette.ps" "c:\appli\sharedro\formul\_diagnostic.pdf"
Thanks for everyone who may help me with this.
Nicolas
I'm not very used to postscript. That's why i come here to ask for help.
I'd like to add an image on all odd page when i print a PDF. I'm using ghostscript to print the PDF. The image is a JPG that i converted to an EPS file with sam2p. I found some useful tips on the forum like this one :
/show_Logo
{
/masauvegarde save def
/showpage {} def
.5 dup scale 50 50 translate
(c:\\appli\\sharedro\\formul\\eis.eps) run
.5 dup scale 100 100 translate
(c:\\appli\\sharedro\\formul\\eid_logo.eps) run
masauvegarde restore
} bind store
The only way i found to show the image is to use the following :
show_Logo showpage
The problem is that the picture is shown on a separate page.
I don't find a way to add it on the PDF page itself.
My ghostscript command line is :
"C:\appli\statro\Impressions\gswin32c.exe" -q -dBATCH -dNOPAUSE -I"C:\appli\statro\Impressions\ghost;C:\appli\statro\Impressions\ghost\fonts" -sstdout="C:\Windows\TEMP\gs_44B6.tmp" -r300x300 -sDEVICE=ljet4 -sOutputFile="%printer%USB0001" -sPAPERSIZE=a4 -dFIXEDMEDIA -f "C:\appli\sharedro\formul\etiquette.ps" "c:\appli\sharedro\formul\_diagnostic.pdf"
Thanks for everyone who may help me with this.
Nicolas