r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[PDF-Maker] discuss Gabriele's pdf-maker

DaveC
31-May-2007
[515]
:-)
Gabriele
31-May-2007
[516]
should be the latest 1.x version so you're fine.
DaveC
31-May-2007
[517]
ok.
Gabriele
31-May-2007
[518x4]
5th argument to render-pages is a function that is called to make 
the scheleton of each page.
also, since the result is a block of pages, you can modify the result 
and add anything after the layout process.
btw, version 2 is at http://www.colellachiara.com/soft/PDFM2/pdf-maker.html
still looking for someone volunteering to write the user docs... 
:)
DaveC
31-May-2007
[522x3]
I can see that in the code. I'm just getting a feel for the basics 
at the moment. Ok, version 2 I'll get that.
Let me see how I get on. I'd be happy to volunteer to write the user 
docs - I'm a bit under pressure at work right now, but I would really 
like to contribute something back to you.
Can't see a link on that page to download the code.
Gabriele
31-May-2007
[525x2]
note, v2 is quite different from v1. it hasn't been tested as extensively 
as v1 either (v1 is being used on a daily basis in many applications).
http://www.colellachiara.com/soft/PDFM2/
DaveC
31-May-2007
[527]
Got it thanks. Maybe I should stick the V1 for now then.
Gabriele
31-May-2007
[528]
unless you need the advanced features in v2, yes.
DaveC
31-May-2007
[529x2]
Umm. If I use this;

page size 297 211
textbox ["This is a test"]

the texbox does not render. If I comment out page size, it does.
The page does flip to landscape though.
Gabriele
31-May-2007
[531x2]
textbox default size is not dynamic, but static, so if you set a 
different page size you'll want to set a custom textbox size too
basically the above will render This is a test out of the visible 
area.
DaveC
31-May-2007
[533]
Thanks, that makes sense to me now. I'll have a bit more time tomorrow 
to think things through a bit more.
Joe
2-Jun-2007
[534]
Gabriele, it would be nice to have a smaller PDF doc for v2, like 
you had for v1. Any chance ?
Gabriele
2-Jun-2007
[535]
i don't have the time to write it at this moment... also, i'm sure 
someone other than me would have a more user-centric perspective. 
ie some of the stuff in v2 that seems trivial for me might not be 
so for other users.
DaveC
7-Jun-2007
[536x3]
Busy converting HTML template reports into PDF using PDF-Maker. Getting 
the hang of it now.  The function which calculates the textbox height 
is providing most of the work. I'm calculating page space as text 
boxes are generated. As I think in point size, I've transposed mm2pt 
to give me a pt2mm function.
Haven't had change to look at V2 yet.
change = chance.
btiffin
25-Jun-2007
[539]
Before I look into it, I thought I'd just ask.  We (the graphic desgner 
actually) got sent a logo graphic inside a PDF (and that is all that's 
in the PDF).  Is there an easy way of extracting the image?  I'm 
not a huge fan of selecting and cut'n'paste as it may lose sizing 
etc...  More curious than worried.
Graham
25-Jun-2007
[540x2]
text editor
:)
btiffin
25-Jun-2007
[542]
It's a binary, but I've extracted it.  Thanks for the hint.
Chris
25-Jun-2007
[543x2]
Depends -- do you want to retain vector artwork?  If not, you could 
rasterise it in Photoshop, GIMP, Seashore or other bitmap editors.
Ah, you got it...
btiffin
25-Jun-2007
[545]
Well, I hacked it...and have no clue if what I did would work the 
next time :)
Graham
25-Jun-2007
[546x2]
postscript and pdf are similar formats and store images as either 
binary or as text.
unless it's one of those compressed pdf formats
Rondon
6-Mar-2008
[548]
Folks, I'm having a problem. How can I extract just the web links 
inside a pdf ?
Anton
26-Mar-2008
[549]
There are tools (which I know of) in linux such as pdftotext.  I 
presume the web links would appear in the output text, then you can 
use rebol parse to extract the links from that.
amacleod
18-Apr-2008
[550]
Is there any way to go from pdf to makedoc format?
Graham
19-Apr-2008
[551]
no
amacleod
19-Apr-2008
[552]
Is a pdf file compressed or encrypted. Is there anyway to parse it?
Reichart
19-Apr-2008
[553x2]
Depends on the PDF editor and how it was saved.
Yes, it can be compressed.  Yes, it can be protected (encrypted).
It can also be just PostScript at its core.
Also, keep in mind, PDF can contain all sorts of junk...

Go here http://en.wikipedia.org/wiki/Portable_Document_Format
Jump to PostScript....
Pavel
24-Apr-2008
[555]
Reichart PDF was created in the way no executable postript code could 
be possible (no if no jumps no execute AND no write to disc) That 
is main advatage of PDF. Anyway it is possible to PDF contains tons 
of shit never would be imaged on page (old versions of documents 
for example).
Alan
14-Sep-2008
[556]
.
amacleod
8-Dec-2008
[557]
How tuff would it be to parse out the image data from a pdf file...or 
for that matter, the text. Formating not important...
Or does anyone know of a good lib or dll that does this?
Graham
8-Dec-2008
[558x4]
You can't
unless the text is embedded in the pdf ... in which case there are 
utilties to pull it out.
if it's all grahphic ... eg. a scanned pdf .. then you need to ocr 
it.
I ocr pdfs all the time .... because my scanner produces PDFs
Robert
9-Dec-2008
[562]
Can PDF-Maker be used to create PDF-Forms that can be filled out 
by users with Acrobat Reader?
Graham
9-Dec-2008
[563]
don't think so ...
Gabriele
10-Dec-2008
[564]
Robert, I don't have any support for forms yet.