Re: PDF widget print quality

2024-02-21 Thread Paul Dupuis via use-livecode
I'm not sure it is possible. Livecode's printing tends to be card based and at card resolution, typically 72 dpi. I recall seeing some efforts on the lists and forums to make an object 4 times bigger (75 dpi x 4 = 300 dpi) so that when it is printed to a 300dpi printer is is a higher resolutio

Re: PDF Widget and JavaScript

2023-12-29 Thread Bob Sneidar via use-livecode
Thanks Ralph I figured as much. It’s actually not difficult to recreate from scratch if the structure, header and footer is known. The trouble is the fields. If I had a list of form controls for a given form, I could create one from scratch easily enough. The fillable forms have to be saved wi

RE: PDF Widget and JavaScript

2023-12-29 Thread Ralph DiMola via use-livecode
The last I knew the JavaScript engine is not implemented in the PDF widget. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sen

Re: PDF Widget No Filled Forms

2023-09-28 Thread Bob Sneidar via use-livecode
Thanks Matthias I’ll look at that. Bob S > On Sep 28, 2023, at 6:38 AM, matthias rebbe via use-livecode > wrote: > > What i forgot to mention. For macOS 10.11 and above please use the following > link > https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setu

Re: PDF Widget No Filled Forms

2023-09-28 Thread Bob Sneidar via use-livecode
No big rush. I can open the form in a web browser if necessary. My idea was to have a Native Document Viewer like the document management app we currently use, but I am not using my app for that yet. I just generate filled forms for service at the moment. I will create a bug report with a sample

Re: PDF Widget No Filled Forms

2023-09-28 Thread matthias rebbe via use-livecode
What i forgot to mention. For macOS 10.11 and above please use the following link https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg > Am 28.09.2023 um 13:09 schrieb matthias rebbe via use-livecode > : > > Bob, > > as a workaround you could create a

Re: PDF Widget No Filled Forms

2023-09-28 Thread matthias rebbe via use-livecode
Bob, as a workaround you could create a temporary pdf file that is then displayed in the pdf widget. You'll need the free tool PDFTK server with its fill-form option for this. PDFTK server runs on macOS, Windows and some Linux versions. PDFTK server is free https://www.pdflabs.com If you nee

Re: PDF Widget No Filled Forms

2023-09-27 Thread Monte Goulding via use-livecode
Hi Bob Hmm… OK, it could be a bit of a project to get your forms rendering then. If it’s something you need soon and you have a budget then contact supp...@livecode.com . Otherwise you can create a bug report and attach the PDF. FYI there is no support for form int

Re: PDF Widget No Filled Forms

2023-09-27 Thread Bob Sneidar via use-livecode
Nope. Not only that, but the autoHilite (Select Text) is not working either. Bob S > On Sep 27, 2023, at 4:51 PM, Monte Goulding via use-livecode > wrote: > > Hi Bob > > Try setting the `drawAnnotations` to true and see if the form data renders > > Cheers > > Monte > >> On 28 Sep 2023, a

Re: PDF Widget No Filled Forms

2023-09-27 Thread Monte Goulding via use-livecode
Hi Bob Try setting the `drawAnnotations` to true and see if the form data renders Cheers Monte > On 28 Sep 2023, at 1:27 am, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have filled forms, and I am just now wanting to display those FILLED forms > in a PDF widget. Only problem i

Re: PDF widget and XPDFviewer

2023-06-17 Thread Paul Dupuis via use-livecode
I think the answer is complex. They are not the same thing, but eventually, the widget will replace the external. The current issue is that the widget is lacking some features the external has, so, if, (like us) you PDF work is based on the external, migrating to the widget is not possible (dep

Re: PDF Printing

2022-10-04 Thread Dan Friedman via use-livecode
Mark, Genius! I can't thank you enough... That worked! Make sure that the field that holds the text has a valid font name and isn't inheriting a system-level font. That REALLY ought to be documented in the PDF routines in LC. As long as I have your ear... Whenever I call this, I get a bla

Re: PDF Printing

2022-10-04 Thread Mark Waddingham via use-livecode
On 2022-10-04 16:20, Dan Friedman via use-livecode wrote: Here are examples of the printouts (the PDFs): Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf Any thoughts or ideas? Someone had a simi

Re: PDF Printing

2022-10-04 Thread Marty Knapp via use-livecode
If it was one computer, I’d say there was a good chance but more than one computer I’d say no. Problem must be elsewhere. Marty > On Oct 4, 2022, at 10:15 AM, Dan Friedman via use-livecode > wrote: > > Thank you for your thoughts, but do you really think a font cache is the > issue? I have

RE: PDF Printing

2022-10-04 Thread Ralph DiMola via use-livecode
: How to use LiveCode Cc: Ralph DiMola Subject: Re: PDF Printing Thank you for your thoughts, but do you really think a font cache is the issue? I have two computers in my office having this issue, and about a dozen Macs at my client's location -- that we know of so far! If it were a font

Re: PDF Printing

2022-10-04 Thread Dan Friedman via use-livecode
Thank you for your thoughts, but do you really think a font cache is the issue? I have two computers in my office having this issue, and about a dozen Macs at my client's location -- that we know of so far! If it were a font issue, do you think one print method would be successful, and anoth

RE: PDF Printing

2022-10-04 Thread Ralph DiMola via use-livecode
Dan, How to delete Windows font cache: https://www.tenforums.com/tutorials/54452-rebuild-font-cache-windows-10-a.ht ml Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On

Re: PDF Printing

2022-10-04 Thread Marty Knapp via use-livecode
It could be a corrupted font cache - I’ve found that can cause weird behavior as you’re describing. If you’re on a Mac, do a “safe reboot” (start up with the shift key pressed) and after it boots up, do a normal reboot. That will delete the current font caches and then rebuild them from scratch.

Re: PDF Viewer widget: expected experience from set the currentDestination?

2022-01-05 Thread Keith Clarke via use-livecode
I’m still struggling to find the Rosetta Stone for the PDF widget that connects the page & rect of any currentDestination with its link text on that page of the PDF, to enable recreation with scripting of the links that one sees out-of-the-box in PDF viewers such as Preview or Adobe. I must hav

Re: PDF Viewer widget: expected experience from set the currentDestination?

2021-12-23 Thread Keith Clarke via use-livecode
Thanks Monte - that code sorts the *calling* end of the recipe and the widget changes page to the one containing the currentDestination. However, what about the *receiving* end of the recipe? Nothing seems to be happening upon arrival at the page to get any closer to this particular destination

Re: PDF Viewer widget: expected experience from set the currentDestination?

2021-12-22 Thread Monte Goulding via use-livecode
Hi Keith Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 Here’s a simple exam

Re: PDF Viewer widget - how to enable interaction?

2021-12-09 Thread Keith Clarke via use-livecode
Thanks Monte. I should have been more explicit in that I’d tried that technique to handle the linkClicked message - none of the links in my test PDFs (that work in Preview and Adobe) fire it. Assuming I’ve not missed any widget properties, it looks like there’s a problem with the underlying P

Re: PDF Viewer widget - how to enable interaction?

2021-12-08 Thread Monte Goulding via use-livecode
Hi Keith I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: on linkClicked pAction if pAction[“type”] is “goto” then set the currentDestination of me to pAction end if end linkClicked > On 9 Dec 2021, at 2:01 am, K

Re: PDF Viewer widget - how to enable interaction?

2021-12-08 Thread doc hawk via use-livecode
keith kayaked, > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available > via the old Business Edition or Pro Pack subscription? I had great hopes and excitement. I rearranged my project to use it. All looked great on screen. And then I found that it turns i

Re: PDF in browser on Mac

2021-11-15 Thread Klaus major-k via use-livecode
Hi Henry, > Am 15.11.2021 um 16:02 schrieb HENRY LOWE via use-livecode > : > > Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 > (rc2), if I right click (control + click) anywhere in the displayed PDF > (including white space) I get a pop-up menu showing several options

Re: PDF in browser on Mac

2021-11-15 Thread HENRY LOWE via use-livecode
Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 (rc2), if I right click (control + click) anywhere in the displayed PDF (including white space) I get a pop-up menu showing several options. Selecting any of the PDF’s text and right clicking shows additional options. Henry

Re: PDF Widget

2021-04-25 Thread JeeJeeStudio via use-livecode
hhhmmm, yes, sorry let me refrase that What I did is download the pdf then opened an external browser, and as soon the browser was closed it went back to the app. Don't know exactly anymore why I did not use the browser widget, so I was remembering it wrong. But probably because displayin

RE: PDF Widget

2021-04-24 Thread Ralph DiMola via use-livecode
jor-k Subject: Re: PDF Widget > Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode : > > Aber Klaus, for just displaying a PDF, you could use the browser > widget Maar JeeJee, I wrote: ... directly as a control) in a stack and NOT inside of a browser widget, which is not wo

Re: PDF Widget

2021-04-24 Thread Klaus major-k via use-livecode
> Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode > : > > Aber Klaus, for just displaying a PDF, you could use the browser widget Maar JeeJee, I wrote: ... directly as a control) in a stack and NOT inside of a browser widget, which is not working "out of the box" on Android. Ye

Re: PDF Widget

2021-04-24 Thread JeeJeeStudio via use-livecode
Aber Klaus, for just displaying a PDF, you could use the browser widget Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode: Hi Tore, Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : Not everyone needs it. that was just a little joke. :-) I had the business edition

Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode
Hi Tore, > Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode > : > > Not everyone needs it. that was just a little joke. :-) > I had the business edition for a year and for what it is worth, the > pdf-widget did not offer anything > I needed. I had hoped I could use it for mark up a

Re: PDF Widget

2021-04-23 Thread Tore Nilsen via use-livecode
Not everyone needs it. I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. I do however think that it would be a good thing if it was possible to

Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode
> Am 23.04.2021 um 13:20 schrieb Brian Milby via use-livecode > : > > Either that or everyone that wants it has business edition? EVERYONE needs and wants it, but not everyone has the business edition! :-D > Sent from my iPhone > >> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecod

Re: PDF Widget

2021-04-23 Thread Brian Milby via use-livecode
Either that or everyone that wants it has business edition? Sent from my iPhone > On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode > wrote: > >  > >> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode >> : >> >> Hi all, >> >> as far as I know the "PDF widget" is only

Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode
> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode > : > > Hi all, > > as far as I know the "PDF widget" is only available in the > BUSINESS Version of Livecode. > > I already asked this in the past, but I would like to be > able to buy this widget separately. > > Any idea if

Re: PDF Manipulation was Design Question

2020-11-19 Thread doc hawk via use-livecode
*IF* the pdf files are simple enough, there are some substitutions that you can “just make”. A string literal can be replaced with a string of the same length. It could also be replaced with a shorter string and space-padded for the extra space. You want to put a string that is three character

Re: PDF Manipulation was Design Question

2020-11-19 Thread John McKenzie via use-livecode
Bob S: Thanks for replying to my post. It seems the situation is as I thought although making a GUI with Livecode to activate an external library is easier than using other tools to make a GUI for an external library. When I started this conversation I assumed I would something like that. N

Re: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode
That should have read preconfigured to read the FDF file (stupid spell correct!) Bob S On Nov 18, 2020, at 12:15 PM, Bob Sneidar via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: preconfigured to read the pdf file of course ___ use-live

Re: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode
If you are talking about form data, there IS a way to configure a PDF so that it reads a data file contains just form data and populates with the new data. This works with Mac and Windows, and I assume with Linux, but the caveat is that the PDF has to be configured to do this first. The format

Re: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode
On Nov 18, 2020, at 10:34 AM, John McKenzie via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Comments people were making to William in the Design Question thread have caused me to question some things and I am going to the list here to get an answer. Can Livecode edit existing P

Re: PDF-Tools

2019-10-26 Thread hh via use-livecode
PDF-Tools_v110 (Merge/Mix/Split, add header/footer/pageNum/svgIcon) Using LC 9.0.5 it runs on Mac/Win/linux(ubuntu1604). More exactly: • Using LC 8.1.10/9.0.5/9.5.0 it runs on MacOS >=10.12.6. • Using LC 8.1.10/9.0.5 it runs on Win7. • Using LC 9.0.5 it runs on Win10 and linux(ubuntu1604). [Thi

Re: PDF-Tools

2019-10-24 Thread Lagi Pittas via use-livecode
Hi Hermann You are a one man Livecode extension factory doing the whole community a great favour by adding missing elements with one arm tied behind your back and blindfolded. I hope LCHQ is reading this and might find some time to make your life easier by fixing the deficiencies in the brows

Re: PDF-Tools

2019-10-23 Thread hh via use-livecode
PDF-Tools_v109, updated to v110 (Mac only) [Tested to run with LC 8.1.10/9.0.5/9.5.0 on MacOS 10.12.6/10.13.6/ 10.14.6/10.15.] Download PDF-Tools v110 from SampleStacks or http://livecodeshare.runrev.com/stack/951/ Added option to use a SVG Icon on the output pages. You can set width (resizes p

Re: PDF Widget

2019-07-03 Thread Dr. Hawkins via use-livecode
On Jun 24, 2019, at 3:33 PM, Monte Goulding via use-livecode wrote: > > In order to resolve the report we need to add a way for a widget to draw > something different into a printing context than it does normally. I’ve just uploaded some files with the core of a solution. Having never gone i

Re: PDF Widget

2019-06-24 Thread Dr. Hawkins via use-livecode
> Paul provided, > The same issue exists in the external OR in any printing based on printing > cards in LiveCode. If you want someone at higher than screen resolution (like > 2x or 4x, you sort of need to size the image or pDF at 2x or 4x off screen > (or locked screen) and take a export of th

Re: PDF Widget

2019-06-24 Thread Monte Goulding via use-livecode
There’s a report open for this here to which I suggested the same workaround Paul has https://quality.livecode.com/show_bug.cgi?id=22134 In order to resolve the report we need to add a way for a widget to draw something different into a print

Re: PDF Widget

2019-06-24 Thread Tom Glod via use-livecode
nope thats the way. makes sense that it works that way. On Mon, Jun 24, 2019 at 4:26 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > On 6/24/2019 4:05 PM, Marty Knapp via use-livecode wrote: > > I was just playing with the new PDF widget in LC 9.5. You can insert a > PDF

Re: PDF Widget

2019-06-24 Thread Paul Dupuis via use-livecode
On 6/24/2019 4:05 PM, Marty Knapp via use-livecode wrote: I was just playing with the new PDF widget in LC 9.5. You can insert a PDF and overlay other LC objects (very cool) and then print the card but the PDF portion prints at low resolution - or did I miss something? The same issue exist

Re: pdf widget initial thangers

2019-06-10 Thread Paul Dupuis via use-livecode
On 6/10/2019 1:58 PM, Mike Kerner via use-livecode wrote: Paul, Have you reworked the xpdf example stack to use the widget? Are there any api additions/deletions between xpdf and the widget? Not yet, but it is on my to do list, probably starting next week? Perhaps the week after. I have some o

Re: pdf widget initial thangers

2019-06-10 Thread Mike Kerner via use-livecode
Paul, Have you reworked the xpdf example stack to use the widget? Are there any api additions/deletions between xpdf and the widget? On Mon, Jun 10, 2019 at 12:49 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > I have used it extensively. The widget works on all platfo

RE: pdf widget initial thangers

2019-06-10 Thread Ralph DiMola via use-livecode
I have used it extensively. The widget works on all platforms and has many more options. I think I should have done a talk about it at the conference. If you have any questions about any properties/messages shoot me an email. Ralph DiMola IT Director Evergreen Information Services rdim...@evergre

Re: pdf widget initial thangers

2019-06-10 Thread Paul Dupuis via use-livecode
On 6/10/2019 12:02 PM, Mike Kerner via use-livecode wrote: anyone messing with the pdf widget, yet? Any thoughts about using it vs. xpdf? the xpdf external is Google PDFium wrapped as an External. the LC950 pdf widget is Google PDFium wrapped as a FFI widget. Expect that effectively the widg

Re: PDF

2018-05-15 Thread Mark Waddingham via use-livecode
On 2018-05-14 20:50, Richard Gaskin via use-livecode wrote: They are indeed for very different purposes, and we've been using PDF for so long that it's become the hammer that makes everything look like a nail, applied to so much while it's only truly best for a much smaller subset. Of course th

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
Actually, I can only tell Acrobat on a Mac to export the form data to a file, and only because Acrobat responds to Applescript, and Applescript can tell Acrobat to run a javascript. I researched a while back on how I could do this with Windows, and the upshot is you cannot without compiling some

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
I was thinking about the statement that we rarely kill trees to read anymore, but I think that we do. Decent paper cannot be recycled paper, at least from the perspective of copiers and other printers in general. Pushing recycled paper through a copier can cause all kinds of problems from excess

Re: PDF

2018-05-14 Thread Alan via use-livecode
Enjoying the discussion and your well thought out views Richard! FWIW, I'm pretty sure a friend of mine made a system for conversion of existing pubs to EPubs a few years back. And I think it was all (mostly?) done in LC. The system is described here (unfortunately only in German currently): ht

Re: PDF

2018-05-14 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > PDF and ePub serve two entirely different purposes so I'm not sure > the comparison is particularly helpful apart from perhaps making > the point that you should choose the right tool for the job you > are undertaking! > > The important thing to remember about PDF (and Po

Re: PDF

2018-05-14 Thread Mark Waddingham via use-livecode
On 2018-05-14 18:34, Richard Gaskin via use-livecode wrote: Ralph DiMola wrote: Richard I agree. I have customers that we are nudging toward EPubs for the reasons you've enumerated but when they see the amount of work involved they fall back to the "Well our employees are using MSWord and just

Re: PDF

2018-05-14 Thread Mark Waddingham via use-livecode
On 2018-05-13 05:38, Richard Gaskin via use-livecode wrote: Alex Tweedly wrote: So I think we're a few years away from being able to replace PDF with ePub :-( As I said, long-term. Hehe - I'd actually vouch for 'never' - PDF and ePub serve two entirely different purposes so I'm not sure the

Re: PDF

2018-05-14 Thread Richard Gaskin via use-livecode
Ralph DiMola wrote: > Richard I agree. I have customers that we are nudging toward EPubs for > the reasons you've enumerated but when they see the amount of work > involved they fall back to the "Well our employees are using MSWord > and just PDF them. Yes, updating tooling is key for adoption.

Re: PDF

2018-05-14 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > If the table data is *actually* a table, as in a fillable form object, > I export the data in an FDF file. This is a document containing all > the form objects and their values. I have a handler which converts > this data to an array. Would that help? I think that would be q

Re: PDF

2018-05-14 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On May 12, 2018, at 13:08 , Richard Gaskin wrote: >> >> But times have changed. We rarely kill trees just to read anymore, >> so the bounds of a printed page are approaching meaninglessness. > > https://www.quora.com/How-much-trees-are-cut-down-for-paper > > You may need to

Re: PDF

2018-05-14 Thread Mark Talluto via use-livecode
That is pretty funny. But, most of our clients in the K12 market fax their POs to us. Luckily, eFax solutions are bountiful. My guess is that they are sending the fax from a software package as well. Why not just use email is the transmission technology? Some are getting there. Others have not

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
If the table data is *actually* a table, as in a fillable form object, I export the data in an FDF file. This is a document containing all the form objects and their values. I have a handler which converts this data to an array. Would that help? Bob S > On May 13, 2018, at 10:38 , R.H. via us

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
Document Management systems use PDFs almost exclusively. I think PDF is here to stay. Bob S > On May 13, 2018, at 08:05 , Mike Bonner via use-livecode > wrote: > > I ended up using pdftotext, it worked like a charm. (Though I had to look > up how to send it a file list using find.. Too lon

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
I downloaded the tools for Mac OS and followed the instructions in the README file. This does not work. The tools are not accessible from the terminal. The man and etc folders did not exist yet so I created them, but it leads me to believe that Apple has once again moved where it keeps such thin

Re: PDF

2018-05-14 Thread Bob Sneidar via use-livecode
https://www.quora.com/How-much-trees-are-cut-down-for-paper You may need to think again. Bob S > On May 12, 2018, at 13:08 , Richard Gaskin via use-livecode > wrote: > > But times have changed. We rarely kill trees just to read anymore, so the > bounds of a printed page are approaching me

RE: PDF

2018-05-13 Thread Ralph DiMola via use-livecode
Richard I agree. I have customers that we are nudging toward EPubs for the reasons you've enumerated but when they see the amount of work involved they fall back to the "Well our employees are using MSWord and just PDF them. Tagging them is just too much work". The only ones we're having success wi

Re: PDF

2018-05-13 Thread Richard Gaskin via use-livecode
R.H. wrote: > Thank you, Richard, for your enlightening discussion on the ePub > format and that we should start thinking that direction. > > > Given PDF's role as a delivery vehicle, it's most commonly an > > extra step added to the end of a publishing process. > > > > Have you asked that d

Re: PDF

2018-05-13 Thread Richard Gaskin via use-livecode
R.H. wrote: > To extract text from a PDF document, I am using a command line tool on > Windows which is available also for Linux based systems called Xpdf. > > It was working well, using shell() on LiveCode Community 8x, but > tested only in the IDE on Windows. A good tool. Thanks. > I needed

Re: PDF

2018-05-13 Thread Mike Bonner via use-livecode
I ended up using pdftotext, it worked like a charm. (Though I had to look up how to send it a file list using find.. Too long away from the shell.) I now have a little app that can do a word search for matching files and show either the extracted text, or the original pdf using the browser widget.

Re: PDF

2018-05-13 Thread R.H. via use-livecode
To extract text from a PDF document, I am using a command line tool on Windows which is available also for Linux based systems called Xpdf. It was working well, using shell() on LiveCode Community 8x, but tested only in the IDE on Windows. It should work with Linux and Mac as well. If PDFs just

Re: PDF

2018-05-12 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: So I think we're a few years away from being able to replace PDF with ePub :-( No doubt. There's also an post from me in the archives around 2002 suggesting Mac should switch to Intel. Sometimes I'm a bit early. ;) As I said, long-term. General market inertia coupled w

Re: PDF

2018-05-12 Thread Alex Tweedly via use-livecode
On 12/05/2018 21:08, Richard Gaskin via use-livecode wrote: Per Postel's Law, reduce the stockpile of PDFs littering humanity's infosphere by generating none except in the increasingly rare cases where no other format is a better choice. Good advice to improve the world :-). But unfortunat

Re: PDF

2018-05-12 Thread Dr. Hawkins via use-livecode
the utilities pdf2txt and pdftotxt (or do they spell out text?) On Sat, May 12, 2018 at 9:58 AM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > I haven't needed to do this before, but is there a (relatively) easy way to > extract the text from a bunch of pdf files? I'm h

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
Thanks Richard. This helps cut my search down considerably. I had already set up an ubuntu vm on my unraid server, so I should be able to get something going. Much appreciated. On Sat, May 12, 2018 at 2:08 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike Bonner

Re: PDF

2018-05-12 Thread Richard Gaskin via use-livecode
Mike Bonner wrote: > I haven't needed to do this before, but is there a (relatively) easy > way to extract the text from a bunch of pdf files? I'm hoping I can > build some indexes for the boatload of files I want to go through > (THough, I guess I could bipass LC and just grep my heart out) > >

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
That is pretty darn easy. Sure makes me wish! On Sat, May 12, 2018 at 1:36 PM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > I hear you. Too bad though because with XPDF, the function to fetch all > the text from a PDF is just: > > function pdfText pFile > local tUnico

Re: PDF

2018-05-12 Thread Paul Dupuis via use-livecode
I hear you. Too bad though because with XPDF, the function to fetch all the text from a PDF is just: function pdfText pFile   local tUnicodePageText, tUnicodeDocumentText   create inv group "pdfViewer" in this card   XPDFViewer_Open "pdfViewer",the windowID of this stack   XPDFViewer_Set "pdfViewe

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
Ty Paul. Unfortunately, a business license is way outside my level of affordability. Looking into alternative methods to generate the index now, though I'd still love to find an lc way to do it. On Sat, May 12, 2018 at 11:30 AM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote

Re: PDF

2018-05-12 Thread Paul Dupuis via use-livecode
If you have a Business License, you can use the XPDF external available with those editions for doing that. On 5/12/2018 12:58 PM, Mike Bonner via use-livecode wrote: > I haven't needed to do this before, but is there a (relatively) easy way to > extract the text from a bunch of pdf files? I'm ho

RE: PDF on Android

2017-05-12 Thread Ralph DiMola via use-livecode
Al, Thanks for the heads up to the forum thread!!! Worked like a charm out-of-the-box. I was shocked. Have a good one... Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com

Re: PDF text extraction?

2016-04-02 Thread RM
On 2.04.2016 20:03, Dr. Hawkins wrote: On Sat, Apr 2, 2016 at 8:55 AM, RM wrote: I know that Supercard has been around for donkey's ages (recall playing with it [and finding it rather awkward compared with Hypercard 2.4.1] about 20 years ago), I switched my projects from Hypercard 1 to Sup

Re: PDF text extraction?

2016-04-02 Thread Dr. Hawkins
On Sat, Apr 2, 2016 at 8:55 AM, RM wrote: > I know that Supercard has been around for donkey's ages (recall playing > with it [and finding it > rather awkward compared with Hypercard 2.4.1] about 20 years ago), > I switched my projects from Hypercard 1 to Supercard 1.5 long ago, for no other rea

Re: PDF text extraction?

2016-04-02 Thread RM
On 2.04.2016 19:17, Richard Gaskin wrote: Richmond wrote: > On 2.04.2016 18:38, Richard Gaskin wrote: >> Thanks. Yes, Mark Lucas has been doing some outstanding work on >> SuperCard 4.8. > > Well, outstanding is as outstanding does, I really wonder how > Supercard keeps going in the face of co

Re: PDF text extraction?

2016-04-02 Thread Richard Gaskin
Richmond wrote: > On 2.04.2016 18:38, Richard Gaskin wrote: >> Thanks. Yes, Mark Lucas has been doing some outstanding work on >> SuperCard 4.8. > > Well, outstanding is as outstanding does, I really wonder how > Supercard keeps going in the face of competition of Livecode. > I know that Supercar

Re: PDF text extraction?

2016-04-02 Thread RM
On 2.04.2016 18:38, Richard Gaskin wrote: Richmond wrote: I see that Supercard, in their 4.8 Beta have introduced these: rtfToText - extracts text from an RTF or RTFD file pdfToText - extracts text from a PDF file docToText - extracts text from a Microsoft Word file docxToText - extracts tex

Re: PDF text extraction?

2016-04-02 Thread Richard Gaskin
Richmond wrote: I see that Supercard, in their 4.8 Beta have introduced these: rtfToText - extracts text from an RTF or RTFD file pdfToText - extracts text from a PDF file docToText - extracts text from a Microsoft Word file docxToText - extracts text from a Microsoft Word XML file htmlToText -

Re: PDF text extraction?

2016-04-02 Thread RM
I see that Supercard, in their 4.8 Beta have introduced these: rtfToText - extracts text from an RTF or RTFD file pdfToText - extracts text from a PDF file docToText - extracts text from a Microsoft Word file docxToText - extracts text from a Microsoft Word XML file htmlToText - extracts text

Re: PDF text extraction?

2016-04-02 Thread RM
Well: every a sucker for repeating mistakes as many times as possible, I opened my sample PDF in Inkscape and then saved it as an EPS file, then tried to import it into Metacard 2.4; which promptly crashed. Of course this, even were it to work, would be useless in terms of batch processing ton

Re: PDF text extraction?

2016-04-02 Thread RM
http://use-livecode.runrev.narkive.com/1agaImsm/in-search-of-the-lonesome-yodel-pdf Another old chestnut . . . Richmond. On 1.04.2016 03:47, Richard Gaskin wrote: I may need to extract text from a fair number of PDFs (hundreds). I can find all sorts of third-party tools to do that, many of th

Re: PDF text extraction?

2016-04-01 Thread Dr. Hawkins
On Fri, Apr 1, 2016 at 10:55 AM, Richard Gaskin wrote: > -hh wrote: > > My first choice for that is 'ghostscript'. >> > > Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. > > From the command line, there are also pdf2txt and pdftotxt (these are separate programs -- Dr.

Re: PDF text extraction?

2016-04-01 Thread Richard Gaskin
-hh wrote: My first choice for that is 'ghostscript'. Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web __

Re: PDF text extraction?

2016-04-01 Thread Richard Gaskin
Alejandro Tejada wrote: > Hi Richard, > > Could you use command line tools like pdftk or qpdf? > > Check this: > http://stackoverflow.com/questions/15058207/pdftk-will-not-decompress-data-streams > > and this: > > https://books.google.com.do/books?id=ozWeSBkPQW4C&pg=PA205&lpg=PA205&dq=uncompre

Re: PDF text extraction?

2016-04-01 Thread -hh
My first choice for that is 'ghostscript'. Richard Gaskin wrote > I may need to extract text from a fair number of PDFs (hundreds). I can > find all sorts of third-party tools to do that, many of them free and > easy to use, but I'd prefer to integrate this step into some other > things I need

Re: PDF text extraction?

2016-03-31 Thread Alejandro Tejada
Hi Richard, Could you use command line tools like pdftk or qpdf? Check this: http://stackoverflow.com/questions/15058207/pdftk-will-not-decompress-data-streams and this: https://books.google.com.do/books?id=ozWeSBkPQW4C&pg=PA205&lpg=PA205&dq=uncompress+and+save+pdf+streams&source=bl&ots=9LyTX9e

Re: PDF generated on the fly and Safari on Yosemite

2015-06-29 Thread Bob Sneidar
The usual. Check disk. Repair permissions. Try again. I am having difficulty under 10.10.2 with another app. The developer tells me that the new patch is not compatible with 10.10. However, many I know are using it in 10.10.x. It’s probably something to do with moving a file from temporary sto

RE: PDF Results Not As Expected

2014-10-14 Thread Ralph DiMola
Make sure its not the reader. Try zooming in and out and see if things change. PDFs are not pixel accurate due to rounding and precision errors.  Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Original message From: Dan Friedman Date:10/14

Re: PDF Files - Is there a way to read them in LiveCode?

2014-09-18 Thread Jonathan Scott
Thanks for the response. I should have seen that. > Message: 28 > Date: Thu, 18 Sep 2014 14:11:47 +0800 > From: Kay C Lan > To: How to use LiveCode > Subject: Re: PDF Files - Is there a way to read them in LiveCode? > Message-ID: > > Content-Type: t

Re: PDF Files - Is there a way to read them in LiveCode?

2014-09-18 Thread Alejandro Tejada
Jonathan Scott-3 wrote > I have some PDF files that I'd like to create a search stack for. I > looked on the net and found a way to display them in LiveCode, but is > there actually a way to read the OCR text that's in each file? If not, > there should be. Hi Jonathan, If you could use revBrows

  1   2   >