I'm having problems generating pdf files for documents for which the paper size does not corresond to the default setting on ps printer driver.
In that case, the pop-up screen (Ok, cancel, ignore) appears.
Is there a way to work around this? I can't see where I could pass the ghostscript parameters -dPAPERSIZE=a4 or -dFIXEDMEDIA...
Anybody?
Regards,
F.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FYI, I'm using the command line options for calling ghostword.
I've also tried passing a gws file with the following
GhostDir=C:\gs\gs8.14\bin\gswin32c.exe -sPAPERSIZE=a4 -dFIXEDMEDIA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you read the message in detail it will tell how to rectify it. Mostly people dont read the message box completely... :)
I have modified the printing preferences in printer setting in control pannel to rectify this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The thing is, I want to call the command line from a runtime from within a java service.
It polls for documents that are created, converts them to pdf, and stores them back, so... I don't want pop-up boxes and modify the printer preferences whenever there is a letter paper size doc, but force everything to A4, which is possible with ghostscript.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm having problems generating pdf files for documents for which the paper size does not corresond to the default setting on ps printer driver.
In that case, the pop-up screen (Ok, cancel, ignore) appears.
Is there a way to work around this? I can't see where I could pass the ghostscript parameters -dPAPERSIZE=a4 or -dFIXEDMEDIA...
Anybody?
Regards,
F.
FYI, I'm using the command line options for calling ghostword.
I've also tried passing a gws file with the following
GhostDir=C:\gs\gs8.14\bin\gswin32c.exe -sPAPERSIZE=a4 -dFIXEDMEDIA
If you read the message in detail it will tell how to rectify it. Mostly people dont read the message box completely... :)
I have modified the printing preferences in printer setting in control pannel to rectify this.
I've read the message in detail...
The thing is, I want to call the command line from a runtime from within a java service.
It polls for documents that are created, converts them to pdf, and stores them back, so... I don't want pop-up boxes and modify the printer preferences whenever there is a letter paper size doc, but force everything to A4, which is possible with ghostscript.