Menu

Paper size options

Help
Fros
2004-12-22
2013-03-26
  • Fros

    Fros - 2004-12-22

    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.

     
    • Fros

      Fros - 2004-12-22

      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

       
    • Mohan Kumar S

      Mohan Kumar S - 2004-12-23

      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.

       
      • Fros

        Fros - 2004-12-23

        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.

         

Log in to post a comment.

MongoDB Logo MongoDB