Recovering a PBN File from a PDF File
Sometimes a PBN file is lost but a PDF version of it (such as a hand-record file) is available.
Following are several ways to possibly recover the PBN from the PDF:
Method 1. Extracting an Embedded PBN File
In BridgeComposer 5.105 (released 2023-12-06) and later, the PBN is automatically embedded in the PDF as an attached file
(unless this has been disabled in Edit→Options, Advanced tab).
To extract an attached file from a PDF document, you may use one of the following apps:
Method 2. Using the PDFtoPBN.js Script
PDFtoPBN.js in the
online scripting library may work (depending on the PDF).
Currently, it is designed to work for hand record PDFs created by BridgeComposer
and ACBL (live.acbl.org).
- Setup (one-time only):
- Quit BridgeComposer if it is running.
- Install BCExtractText from
https://bridgecomposer.com/BonusSoftware.htm.
- Download and run
https://bridgecomposer.com/Download/BCScriptInstaller.exe.
When prompted for the scripts to install, check PDFtoPBN.js.
- Start BridgeComposer and select PDFtoPBN from the Script menu.
- When the File→Open panel appears, select the PDF file for input.
Method 3. Using "Bridge Solver"
You can convert BridgeComposer hand records from PDF to PBN using "Bridge Solver":
http://bridgesolver.co.uk.
As of 2022-09-02:
- Extraction from PDF is supported only in the "Windows desktop" version of Bridge Solver.
- Requires the Java runtime.
- May require additions to your system "Path"
environment variable:
- C:\Program files (x86)\Bridge Solver\lib
- C:\Program Files (x86)\Bridge Solver\libs\x86