On 05/07/2015 11:22 AM, Istvan Gabor wrote:
Hello:
I would like to scan some documents and save them as pdf files (1 file/page is OK). I'd like to use xsane copy function for this. xsane has a direct save to pdf option but the resulted pdf files are very big. But for copy function a literal command can be given, and xsane forwards the scanned data to the command. I thought that I could use i gs command which compresses the scanned image and saves it as pdf file, but I don't know how to use gs.
An example gs command that could be used for this would be appreciated.
Have a look at ps2ps. I know it says 'postscript" but 'gs', for which this is a wrapper, seems capable of doing many things including converting back and forth between ps and pdf. I suspect that pdf->ps->pdf will do some optimization. See also ps2pdf, Finally there is pdftk which has so many options ... -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org