Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

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.