Re: [gs-devel] Croping PDF files
"MN" <[email protected]> Tue, 27 Jan 2004 17:48:56 +0530
| Newsgroups | gmane.comp.printing.ghostscript.text-api,gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <029101c3e4cf$be967340$42006b83@vivek> |
hi, i tried this syntax gswin32 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=test1.pdf -c 0 0 200 200 rectclip -f test.pdf , now file is been genrated with test1.pdf but it is entire original pdf file and the only difference is that the new one is around 60kb less in size and while viewing the difference i found is that a protion on the pdf has its back ground color changed to pale yellow(earlier white). even if i change the co-ordinates the same location has its background color changed.......The location is has its color chages is a graphic section in the pdf regards, MN ----- Original Message ----- From: "Igor V. Melichev" <[email protected]> To: "MN" <[email protected]>; <[email protected]> Cc: <[email protected]> Sent: Tuesday, January 27, 2004 5:21 PM Subject: Re: [gs-devel] Croping PDF files > > I'm sorry. Try : > gswin32 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=test1.pdf -c 0 0 > 500 500 rectclip -f test.pdf > > Igor. > > ----- Original Message ----- > From: "MN" <[email protected]> > To: "Igor V. Melichev" <[email protected]>; > <[email protected]> > Cc: <[email protected]> > Sent: Tuesday, January 27, 2004 2:43 PM > Subject: Re: [gs-devel] Croping PDF files > > > > Hi, > > > > I have tried out the below........... > > > > gswin32 -dNOPAUSE -dBATCH -c 0 0 500 500 rectclip -f test.pdf > > -sDEVICE=pdfwrite -sOutputFile=test1.pdf > > > > but no file is generated with the test1.pdf, i get few font missing > problem > > and gs does substitute with > > another font........ when i try to run the above command with out the > first > > two parameter > > the entire pdf is show on the ghostscript image window....... > > > > any idea on what could be the reason...... > > > > regards, > > MN > > ----- Original Message ----- > > From: "Igor V. Melichev" <[email protected]> > > To: "MN" <[email protected]>; <[email protected]> > > Cc: <[email protected]> > > Sent: Tuesday, January 27, 2004 4:41 PM > > Subject: Re: [gs-devel] Croping PDF files > > > > > > > Hi MN, > > > > > > > From: "MN" <[email protected]> > > > > To: "Igor V. Melichev" <[email protected]>; > > > <[email protected]> > > > > Cc: <[email protected]> > > > > Sent: Tuesday, January 27, 2004 1:38 PM > > > > Subject: Re: [gs-devel] Croping PDF files > > > > > > > > > > Hi Igor, > > > > > > > > How to save this cropped part as pdf file > > > > > > gs -dNOPAUSE -dBATCH -c 0 0 500 500 rectclip -f > > > input.pdf -sDEVICE=pdfwrite -sOutputFile=out.pdf > > > > > > > > > > and any link for working with > > > > gs and pdf will helpful to know more about gs. > > > > > > gs/doc/Use.htm > > > http://partners.adobe.com/asn/developer/PDFS/TN/PLRM.pdf > > > > > > Igor. > > > > > > > >