|
Question : Create PDF in black and white, using Ghostscript
|
|
I didn't think this would be a difficult question, but I seem to be having some difficulty figuring this out.
Is it possible to send a color document to the PDF driver and end up with a black and white document? This is what I want to happen, but I can't seem to figure out how to make the PDF end up in black and white. The reason I need the PDF's in black and white is because I am sending them via internet-based faxing, and when I send a color PDF document to my internet fax service provider, the resulting fax on the other end comes out too light. If I send it in black and white, everything is fine.
This is the code that I am currently using to create the PDF:
Public Function GhostscriptIt(OutputPath) Dim gsdir As String, gsscript As String gsdir = "Z:\General\gs\gs8.51\" gsscript = gsdir & "bin\gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=" & _ Chr$(34) & OutputPath & Chr$(34) & " Z:\General\gs\output\TempFile.ps" ShellRun (gsscript) End Function
This code takes the input file (Z:\General\gs\output\TempFile.ps) and then converts it to a color PDF. I want to create a B&W PDF. Hoping someone has some ideas for me. Thanks.
|
|
Answer : Create PDF in black and white, using Ghostscript
|
|
Hi Daniel, either Change your PS printer from Color to another B&W PS printer, or Don't add colors to your Report.
I don't know if you could control the Color Printer driver, and instruct it to print B&W instead of Color.
jaffer
|
|
|
|