Re: making PDFs workable

2012-09-12 Thread JD Austin
Haven't tried this but you can probably use cuneiform, and exactimage to
create text searchable PDFs from image only PDFs and Tiffs; you can do it
via a live cd:
http://www.watchocr.com/

On Tue, Sep 11, 2012 at 6:22 PM, Joseph Sinclair
wrote:

> As noted earlier, none of this helps if the PDF is just a big image.
>
> The PDF referenced below is an image exported from Xara Xtreme Pro
> (graphics software for Windows), and every test I can run on it indicates
> is a big image file; no native text to copy.
>
> I don't run Adobe reader, it may have some added specialization (e.g. OCR)
> to allow text to be copied.
>
>
>
> On 09/11/2012 04:33 PM, Brian Cluff wrote:
> > I think I remember that you were running KDE..  If so, the Okular PDF
> viewer will allow you to copy and paste, you just need to be in selection
> mode (Don't polute your KDE install with evince).  Just click the
> "selection" icon or pick "tools -> selection" from the menu (ctrl-3 will do
> it too).
> >
> > You can also load the "libreoffice-pdfimport" package and load PDFs
> directly into openoffice.
> >
> > Also inkscape can do a VERY good to percfect job of loading a PDF, the
> quality being mostly dependent on if you have all the fonts installed that
> the PDF is using, but it can only handle a single page at a time.
> >
> > If you have been doing any of that with no luck, you might have a PDF
> where the text is actually a graphics and nothing will allow you to copy
> and paste text in it.  You best bet for those is to extract the graphics
> out of the PDF and see if one of the OCR software packages can turn it into
> text for you.
> >
> > Brian Cluff
> >
> > On 09/11/2012 02:20 PM, Michael Havens wrote:
> >> Well, the reason seems to be that 'document viewer is the default. I
> >> jusat d/l evince and can't seem to make it the default PDGF viewer. I
> >> right click on a pdf>open with>evince but it keeps opening with Document
> >> Viewer!
> >> :-)~MIKE~(-:
> >>
> >>
> >> On Tue, Sep 11, 2012 at 1:18 PM, Matt Graham  >> > wrote:
> >>
> >>  > Michael Havens wrote:
> >>  >> HOw can I make it so I can copy-n-paste the text from
> >>  >> a pdf into a oo document?
> >> From: Mark Jarvis mailto:m.jar...@cox.net>>
> >>  > The Foxitpro PDF reader allows text to be marked and copied.
> >>  > Unfortunately, it's only available for Windows. I don't know if
> >>  > there's a Linux PDF reader that has that capability.
> >>
> >> AFAICT, evince (the PDF reader that's standard for GNOME-based
> >> distros) will
> >> allow you to copy and paste text from PDFs as well.  Also remember
> >> that some
> >> PDF readers have multiple tools available, and the default tool
> might be
> >> "scroll/drag pages" not "select text".
> >>
> >> Also also remember that if the PDF doesn't actually contain text,
> >> but is a
> >> pile of images, then there will be no text to select.  The PDF that
> >> you're
> >> trying to look at doesn't have that problem, but for some reason,
> >> evince won't
> >> let you copy the text.  Acrobrat Reader will.  No, I don't know why
> >> either
> >>
> >> --
> >> Matt G / Dances With Crows
> >> The Crow202 Blog: http://crow202.org/wordpress/
> >> There is no Darkness in Eternity/But only Light too dim for us to
> see
> >>
> >> ---
> >> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> >> 
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >>
> >>
> >>
> >>
> >> ---
> >> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >>
> >
> > ---
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: making PDFs workable

2012-09-12 Thread James Crawford

As noted earlier, none of this helps if the PDF is just a big image.

The PDF referenced below is an image exported from Xara Xtreme Pro (graphics 
software for Windows), and every test I can run on it indicates is a big image 
file; >no native text to copy.



I don't run Adobe reader, it may have some added specialization (e.g. OCR) to 
allow text to be copied.


I have some instructions on a work system that will take a pdf image, convert 
it to tiff then ocr the result to a txt file.
We had a large number of documents that they wanted as text.

I'll try to remember to post the steps and script I used on Thursday.

James C.

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Helping a Japanese Ftiend

2012-09-12 Thread Dazed_75
Helping a Japanese friend trying to play a DVD her brother in Japan made.
It plays in someone else’s all region DVD player   We bought her one too
and today we tried it with no success.  I brought the DVD home with me
thinking I might be able to learn something with my Kinux machine.  When I
put it in I got this:



and dmesg shows

larry@hammerhead:~$ dmesg | tail
[   50.798300] [UFW BLOCK] IN=virbr0 OUT=
MAC=01:00:5e:00:00:01:da:48:0c:9b:27:c4:08:00 SRC=0.0.0.0 DST=224.0.0.1
LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[  132.090169] UDF-fs: error (device sr0): __udf_read_inode: (ino 1989838)
failed !bh
[  132.091448] UDF-fs: error (device sr0): __udf_read_inode: (ino 1989837)
failed !bh
[  132.092650] UDF-fs: error (device sr0): __udf_read_inode: (ino 1989836)
failed !bh
[  132.093885] UDF-fs: error (device sr0): __udf_read_inode: (ino 1989835)
failed !bh
[  132.093893] UDF-fs: Failed to read VAT inode from the last recorded
block (1989838), retrying with the last block of the device (1989839).
[  132.095153] UDF-fs: Filesystem marked read-only because writing to
pseudooverwrite partition is not implemented
[  132.095180] UDF-fs: error (device sr0): udf_read_tagged: read failed,
block=2394887184, location=0
[  132.095185] UDF-fs: warning (device sr0): udf_fill_super: No fileset
found
[  175.959696] [UFW BLOCK] IN=virbr0 OUT=
MAC=01:00:5e:00:00:01:da:48:0c:9b:27:c4:08:00 SRC=0.0.0.0 DST=224.0.0.1
LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
larry@hammerhead:~$

Does anyone know if that DF PROTO means region 2 which includes Japan?  Any
other ideas I might try to learn what is going on?

-- 
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, always use the BCC: (Blind carbon copy) and not To: or
CC:. Remove all addresses from the message body before sending a Forwarded
message. This can prevent spy programs capturing addresses from the
recipient list and message body.
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Helping a Japanese Ftiend

2012-09-12 Thread Brian Cluff
These appear to be the errors that are keeping you from mounting the 
DVD. It looks like that drive thinks the DVD is broken.


Brian Cluff

On 09/12/2012 05:37 PM, Dazed_75 wrote:

[  132.095180] UDF-fs: error (device sr0): udf_read_tagged: read failed,
block=2394887184, location=0
[  132.095185] UDF-fs: warning (device sr0): udf_fill_super: No fileset
found


---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Helping a Japanese Ftiend

2012-09-12 Thread Matt Graham
From: Dazed_75
> Helping a Japanese friend trying to play a DVD her brother in Japan made.
> It plays in someone else’s all region DVD player 

So it's a regular DVD with MPEG-2 video on it?  

> UDF-fs: error (sr0): __udf_read_inode: (ino 1989838) failed
> UDF-fs: Failed to read VAT inode from the last recorded
> block (1989838), retrying 

This probably doesn't have a UDF filesystem on it.  Try mounting it with -t
iso9660 .  You may have to turn your automounter off temporarily.  Region
codes may be another factor.  If you have regionset installed, run "regionset
/dev/scd0" with a DVD in the drive, see what that tells you.  Mine says "drive
plays discs from region(s):, mask=0xFF" which makes me think it's region-free,
but I don't know for sure since all I have are region 1 DVDs.

> IN=virbr0 OUT=MAC=01:00:5e:00:00:01:da:48:0c:9b:27:c4:08:00
> DF PROTO=2
> 
> Does anyone know if that DF PROTO means region 2 which includes Japan?

That's a networking message, as the network interface name virbr0 and the MAC
and the IP address should've told you.  PROTO 2 is IGMP, which is really not
relevant to your DVD problem.  You may want to take your firewall and tell it
to be less verbose.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Linode Sys Admins

2012-09-12 Thread Vimal Shah
> Hello,
>
> We are looking for a Linode VPS Sys Admin for hire to test our
> infrastructure for scaling. We have a load balancer in place with two
> webservers and a database server behind it. We want to thoroughly test it's
> capabilities before going live.
>
> Please forward to anyone you think might be interested.
>
> --
> Vimal
> www.sokikom.com
>
>


-- 
Vimal (rhymes with Kimmel) Shah
VP of Engineering
Sokikom
Mobile: (480) 752-9269
Email:   vim...@sokikom.com
Web:www.sokikom.com

Follow us: twitter.com/sokikom 
Like us: facebook.com/sokikom 
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Helping a Japanese Ftiend

2012-09-12 Thread Dazed_75
Thanks for the replies folks!

Derek, this DVD has been tried in 5 players and on 2 computers.  The only
on that will play it is a 5 year old all region player belonging to the
lady's friend somewhere across town.

Matt, I do not know what the video encoding is.

larry@hammerhead:~$ regionset /dev/sr0
regionset version 0.1 -- reads/sets region code on DVD drives
Current Region Code settings:
RPC Phase: II
type: NONE
vendor resets available: 4
user controlled changes resets available: 5
drive plays discs from region(s):, mask=0xFF

Would you like to change the region setting of your drive? [y/n]:y
Enter the new region number for your drive [1..8]:2
New mask: 0xFFFD, correct? [y/n]:y
Region code set successfully!
larry@hammerhead:~$ man mount
larry@hammerhead:~$ mount -t iso9660 /dev/sr0 /media/dvd/
mount: only root can do that
larry@hammerhead:~$ sudo mount -t iso9660 /dev/sr0 /media/dvd/
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

So I think you are right that yours was not set for any region as was mine
and now I have set it back to region 1 (saw no way to UNset 2).


On Wed, Sep 12, 2012 at 6:13 PM, Matt Graham wrote:

> From: Dazed_75
> > Helping a Japanese friend trying to play a DVD her brother in Japan made.
> > It plays in someone else’s all region DVD player
>
> So it's a regular DVD with MPEG-2 video on it?
>
> > UDF-fs: error (sr0): __udf_read_inode: (ino 1989838) failed
> > UDF-fs: Failed to read VAT inode from the last recorded
> > block (1989838), retrying
>
> This probably doesn't have a UDF filesystem on it.  Try mounting it with -t
> iso9660 .  You may have to turn your automounter off temporarily.  Region
> codes may be another factor.  If you have regionset installed, run
> "regionset
> /dev/scd0" with a DVD in the drive, see what that tells you.  Mine says
> "drive
> plays discs from region(s):, mask=0xFF" which makes me think it's
> region-free,
> but I don't know for sure since all I have are region 1 DVDs.
>
> > IN=virbr0 OUT=MAC=01:00:5e:00:00:01:da:48:0c:9b:27:c4:08:00
> > DF PROTO=2
> >
> > Does anyone know if that DF PROTO means region 2 which includes Japan?
>
> That's a networking message, as the network interface name virbr0 and the
> MAC
> and the IP address should've told you.  PROTO 2 is IGMP, which is really
> not
> relevant to your DVD problem.  You may want to take your firewall and tell
> it
> to be less verbose.
>
> --
> Matt G / Dances With Crows
> The Crow202 Blog:  http://crow202.org/wordpress/
> There is no Darkness in Eternity/But only Light too dim for us to see
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, always use the BCC: (Blind carbon copy) and not To: or
CC:. Remove all addresses from the message body before sending a Forwarded
message. This can prevent spy programs capturing addresses from the
recipient list and message body.
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss