The following diagram hows the pins on the camera's female mini DIN serial connector, along with information showing how to connect to a PC serial port DB-9 (or DB-25) connector:
Note: The above diagram shows the relative pin positions when looking at the female DIN connector on the camera (i.e., this is what the camera cable plugs into). Alternatively, one could view this as a diagram of the back-side of the cable's male DIN connector.
Maxim reports that it is not necessary to use all the ground pins and shield. The ground pins are interconnected inside the camera. Use any blue pin shown in the diagram if you are too lazy to solder multiple ground wires. Maxim reports that he has tested both two-meter shielded and unshielded cables, and that 115200 baud worked fine with both. He tested the cable with Agfa's PhotoWise software.
An alternative description of the pinouts for the Agfa Ephoto 307 digital camera's serial cable came from one of Stephen Taylforth's Web pages.