🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.ps2.hardware
Article #1584

Announcing boo2pdf for IBM BookManager files

#1584
From: Kevin Bowling
Date: Tue, 20 Oct 2009 06:28
41 lines
3155 bytes
Please take this for a spin and let me know the results.
http://ps-2.kev009.com:8081/boo2pdf/

About:
This is a beta of boo2pdf, an IBM BookManager to PDF conversion app &
web service.  I'm currently experimenting with the HTML to PDF
backends and would like feedback with book files I haven't tried.
Once the code is cleaned up, I will dump it on my site.

Motivation:
I have a large collection of old IBM machines and documentation.  I
want this documentation indexed by my own search facilities and Google
for easy retrieval.  PDF is widely read, while BookManager requires
proprietary software and no search engines I know of parse it.

This will probably be useful to Mainframers as well.

Technical details:
I am using the JAR files from IBM SoftCopy Reader for Linux.  I've
decompiled these and written my own main class and and a wrapper
script to take care of setting the LD_LIBRARY_PATH, Java classpath,
and other such glue code.  I use SoftCopy Reader's API to output HTML
and images from the BookManager files.  I then pass this to htmldoc
(http://www.htmldoc.org/) for PDF conversion.

Known Limitations:
- Currently, internal hyperlinks and headings are not parsed, indexed,
or otherwise handled.
- The Linux SoftCopy Reader does not convert some of the older
embedded image formats.  Possible formats are:  GIF, PNG. JPG, MET,
GDF, WMF.  I'm guessing it is one of the later that does not have a
Linux filter.  You will know an image did not convert by red text
indicating such in your PDF.  I've seen this in a few .boo files from
the early to mid '90s.

The whole app as it stands now is an exercise in inefficiency.  I
think I have enough data to bitbang a clean C implementation but would
need a lot of help in doing so.

Documentation, help, or words of encouragement welcome.  This has been
a fun and interesting project this weekend.
Technical Details
Message-ID: <c6acc287-cbf2-4438-bb9e-86ae354b68ee@d34g2000vbm.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!d34g2000vbm.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 78814bee4e,655745cc2f3a69c9,start
X-Google-Attributes: gid78814bee4e,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!d34g2000vbm.googlegroups.com!not-for-mail
From: Kevin Bowling <kevin.bowling@gmail.com>
Newsgroups: comp.sys.ibm.ps2.hardware,comp.unix.aix,comp.sys.ibm.as400.misc,comp.os.os2.misc,bit.listserv.ibm-main
Subject: Announcing boo2pdf for IBM BookManager files
Date: Mon, 19 Oct 2009 23:28:02 -0700 (PDT)
Organization: http://groups.google.com
Lines: 41
Message-ID: <c6acc287-cbf2-4438-bb9e-86ae354b68ee@d34g2000vbm.googlegroups.com>
NNTP-Posting-Host: 155.225.121.96
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1256020083 5060 127.0.0.1 (20 Oct 2009 06:28:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 Oct 2009 06:28:03 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d34g2000vbm.googlegroups.com; posting-host=155.225.121.96; 
 posting-account=0zU1LAoAAACliovqhve0lYP6NBe3k7-s
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) 
 Gecko/20091007 Firefox/3.5.4 GTB5,gzip(gfe),gzip(gfe)