Just a couple of points till Bill gets back to you, are you sure the printer port will be able to drive the SSR? check the specs, as they usually require about 8~20ma, also is the 70S2 a DC output type? The ones I have come across are AC output.
Also the diode needs to be corrected, leave the end connected to the Solenoid and connect the other end to common, then connect directly from SSR out to Solenoid. ( diode + and SSR out connected to Solenoid ).
The diode will then be in parallel to the Solenoid.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.