Problem in refreshing a text editor (gedit) for scanned pdf
Dear Friends,
I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF
1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see a blank file
eventhough it came in real file...
2. For Normal PDF (searcable one) -- it works fine
I add my code for your reference ... please advise what I do to avoid this issue..
Just because you had a real file doesn't mean it had real contents. If it's a scanned PDF, something has to do optical character recogntion, and pdf2text does not. Hence the PDF's you get are empty.
Is there a way to covert te attached text file to a pdf?
I have tried:
enscript-p output.ps article.txt
PRE.cjk { font-family: "WenQuanYi Micro Hei",monospace; }PRE.ctl { font-family: "Lohit Hindi",monospace; }P { margin-bottom: 0.08in; } awk '{ A=$2; next} END { for (i in A) print... (7 Replies)
Is there a way using the pdf to text utility to convert all the pdf in a given directory?
So instead of one at a time:
pdftotext pdftotext hp-manual.pdf hp-manual.txt
a directory of 50 pdf files would be converted:
pdftotext /home/dnascopev/Desktop/PDF.pdf /home/dnascopev/Desktop/PDF.txt
... (6 Replies)
Can someone please tell me why this is not working? I have created numerous pdf's from text files by following these instructions and this time it is not working.
Convert jpeg files to PDF under Linux | bitPrison.net
convert /home/liveuser/Documents/hw7 /home/liveuser/Documents/hw7.pdf... (5 Replies)
Hi,
I am having a wierd problem in one of the Solaris server.
root@ussd # uname -a
SunOS ussd 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-280R
The problem is that terminal is not refreshing when we run commands like
prstat, tail -f "some log file", sar -u 1 10
Also, sleep... (3 Replies)
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
how to open a text file using some tool such as gedit under gtk
I list some text file names in a GtkCList . I want to open the file on when users click on the row.
How to implement this ?
Thanks (0 Replies)