Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ghostscript to print a PDF by command line arguments. But it shows the printed document's name as Ghostscript output in printer spooler. I want to change it to a custom name (as input file name).

share|improve this question

man gs

-sOutputFile=filename
    Selects an alternate output file (or pipe) for the initial output device,
    as described above.
share|improve this answer
    
i mean to say when i print a pdf using Ghostscript then that file goes in printer spooler with name "ghostscript output" . that thing i want to change – golf89 Sep 11 '12 at 7:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.