tag:blogger.com,1999:blog-8032022811235182759.post8794690337912671285..comments2024-03-23T08:25:23.254-07:00Comments on Linux Commando: Splitting up is easy for a PDF filePeter Leunghttp://www.blogger.com/profile/05589860210899238688noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-8032022811235182759.post-41312043541240320632019-03-13T10:31:08.871-07:002019-03-13T10:31:08.871-07:00please use pdfseparate on linux/ubuntu
pdfinfo
pdf...please use pdfseparate on linux/ubuntu<br />pdfinfo<br />pdfunite and othersAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-65926510749184841662019-03-04T05:26:46.072-08:002019-03-04T05:26:46.072-08:00So helpful thanks..👍So helpful thanks..👍pranjalhttps://www.blogger.com/profile/03506563181443430441noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-77121137088120075912018-12-10T03:27:36.278-08:002018-12-10T03:27:36.278-08:00pdftk seems not be free anymorepdftk seems not be free anymoreAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-89546910327490975602018-02-09T04:37:00.309-08:002018-02-09T04:37:00.309-08:00Thank you - perfect solution!Thank you - perfect solution!Unknownhttps://www.blogger.com/profile/03899780831389920302noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-72433779449065451842017-09-24T11:26:57.407-07:002017-09-24T11:26:57.407-07:00Found one really easy way to split and merge pdfs ...Found one really easy way to split and merge pdfs here, worked for me<br /><br />https://technovechno.com/how-to-split-merge-pdf-documents-using-pdftk-in-ubuntu/<br /><br />Robihttps://www.blogger.com/profile/01235369128243390167noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-37913387765972394772017-04-21T20:19:12.972-07:002017-04-21T20:19:12.972-07:00Im linux not able to find my pdf do i have to past...Im linux not able to find my pdf do i have to paste in at specific placeAnonymoushttps://www.blogger.com/profile/05391723333235405875noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-91788057257629564662017-01-19T12:59:31.177-08:002017-01-19T12:59:31.177-08:00I had to write a script to split the original PDF ...I had to write a script to split the original PDF into pages in order to allow tesseract and imagemagick to handle it without running out of memory, and to overcome the TIFF with alpha channel issues (spp not in set {1,3,4})<br /><br />Script and write-up are here: <a href="http://tech.akom.net/archives/126-OCR-on-a-large-PDF-using-tesseract-and-pdftk.html" rel="nofollow">http://tech.akom.net/archives/126-OCR-on-a-large-PDF-using-tesseract-and-pdftk.html</a><br /><br />Thanks for the starting point!Akomhttps://www.blogger.com/profile/17545416416960483202noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-3461090324518064122016-07-28T20:17:32.596-07:002016-07-28T20:17:32.596-07:00JUST realized that closing the left side pane cont...JUST realized that closing the left side pane containing the thumbnails of each page in the PDF allows for the file to scroll 98-99% smoothly.<br /><br />Stumbled upon the solution as I was printing PDF files with regards to page ranges and chapters in order to split the book up into smaller file sizes, which was working very goooood too by the way. But simply closing the left side thumb-nails is a lot less work :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-13271016881099600572016-07-05T23:29:43.449-07:002016-07-05T23:29:43.449-07:00Here is the link for Split pdf document. Hope this...Here is the link for Split pdf document. Hope this gives you a start for you file pdf program on rasteredge page http://www.rasteredge.com/how-to/csharp-imaging/pdf-split/<br />Anonymoushttps://www.blogger.com/profile/08274616244477091384noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-27559476627359338842016-06-09T05:31:33.702-07:002016-06-09T05:31:33.702-07:00thanks man helped a lot... i owe u atleast a thaks...thanks man helped a lot... i owe u atleast a thaks<br />monarch a sadisthttps://www.blogger.com/profile/16200745299758359217noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-59208115051159321832016-01-11T08:38:33.047-08:002016-01-11T08:38:33.047-08:00very useful for breaking up pdf books, thanks!very useful for breaking up pdf books, thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-47016202000010100672015-10-11T04:33:45.346-07:002015-10-11T04:33:45.346-07:00hi! i'm Jose, from Spain
i have tried the Naz...hi! i'm Jose, from Spain<br /><br />i have tried the Nazim Aghabayov script, but it's like there is a bug...<br />i saved the script as cortar.sh, and this is what is shown<br /><br />cortar.sh: 18: cortar.sh: let: not found<br />cortar.sh: 20: [: -eq: argument expected<br />cortar.sh: 40: cortar.sh: let: not found<br /><br />as far i can know, the message of line 18 is about<br />let modl=$currentp%$ppd <br />and the message of line 20 is indeed about $modl<br /><br />can anybody see where the bug is, if any?<br /><br />thanks a lot, guysJRCPhttps://www.blogger.com/profile/07105412551497109582noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-22873362519849518332015-07-26T19:55:22.537-07:002015-07-26T19:55:22.537-07:00Thank you a lot for sharing this.Besides, I found ...Thank you a lot for sharing this.Besides, I found this <a href="http://www.rasteredge.com/how-to/csharp-imaging/pdf-split/" rel="nofollow">PDF split resource</a>, I'm not sure whether it supports Linux?Anonymoushttps://www.blogger.com/profile/09484782928658531781noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-78300530963074534232015-05-28T06:01:19.965-07:002015-05-28T06:01:19.965-07:00Thank dude! Your reference is really helpful. I sc...Thank dude! Your reference is really helpful. I scripted a small file to split pdf every several pages<br /><br /><br />======================<br />#!/bin/bash<br /><br />#first arg is a file name<br />export file=$1<br /><br />#second argument is pages per file<br />export ppd=$2<br /><br />pagecount=$(pdfinfo -- "$file" 2> /dev/null | awk '$1 == "Pages:" {print $2}')<br /><br />echo document $file has $pagecount pages<br />echo splitting per $ppd pages<br /><br />currentp=1<br />secn=1<br />while [ "$currentp" -le "$pagecount" ]; do<br /><br /> let modl=$currentp%$ppd <br /><br /> if [ 0 -eq $modl ]; then<br /> let pbeginning=$currentp-$ppd+1<br /> let pend=$currentp<br /> echo " $pbeginning $pend"<br /> pdftk $file cat $pbeginning-$pend output "$file"_"$secn".pdf<br /> let last=$currentp<br /> let secn=$secn+1<br /> fi<br /><br /> #last page<br /> if [ $currentp -eq $pagecount ]; then<br /> if [ $last -ne $currentp ]; then<br /> let secn=$secn+1<br /> let pbeginning=$last+1<br /> let pend=$currentp<br /> echo "last: $pbeginning $pend"<br /> pdftk $file cat $pbeginning-$pend output "$file"_"$secn".pdf<br /> fi<br /> fi<br /><br /> let currentp=$currentp+1<br /><br />doneNazim Aghabayovhttps://www.blogger.com/profile/12506374193314444051noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-86605561669730848542015-04-09T10:23:49.868-07:002015-04-09T10:23:49.868-07:00pdftk looks like a pretty neat tool indeed, but if...pdftk looks like a pretty neat tool indeed, but if all you're trying to accomplish is splitting a PDF into separate files per page, then you can just open the PDF in Evince (or your favorite PDF viewer capable of printing) and select File > Print... and tell the print dialog which pages you want then select "Print to file". ChucklingMcArseoffnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-21593722538212337582014-12-02T08:49:39.165-08:002014-12-02T08:49:39.165-08:00what's the difference with print into pdf file...what's the difference with print into pdf file and selecting only the desired pages ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-60997262018568584912014-10-14T06:57:24.697-07:002014-10-14T06:57:24.697-07:00I split bigfile into pages.
It seems that a big wa...I split bigfile into pages.<br />It seems that a big watermark "Sample" shows up in Safari and chrome but not other browsers (mozilla, IE). The watermark is not in bigfile. <br />What switch adds the watermark?Richard Gravoishttps://www.blogger.com/profile/01516838034991420943noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-65800044687245556502014-10-11T06:09:25.010-07:002014-10-11T06:09:25.010-07:00thanks for this blog entry. it has proved very use...thanks for this blog entry. it has proved very useful. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-82679766786003536792014-07-02T16:54:37.861-07:002014-07-02T16:54:37.861-07:00Great tip. Thanks.Great tip. Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-47480155030390082362014-06-08T07:54:06.708-07:002014-06-08T07:54:06.708-07:00Tried to get free pdf split and merge programs for...Tried to get free pdf split and merge programs for windows and got warnings from my antivirus that aborted installation.<br /><br />Linux does it so neatly. Thanks for the excellent post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-20033304093723694422014-06-01T08:18:36.551-07:002014-06-01T08:18:36.551-07:00Thanks! Straight to the point. Viva Linux!Thanks! Straight to the point. Viva Linux!Tarik's Bloghttps://www.blogger.com/profile/04958712152389923707noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-43231817053589867162014-05-07T04:47:34.038-07:002014-05-07T04:47:34.038-07:00Oh man... great tutorial. Thank you. keep posting...Oh man... great tutorial. Thank you. keep posting!!Chillar Anandhttps://www.blogger.com/profile/12063371837841392865noreply@blogger.com