40T driver. This meshes with 38T, which is keyed to 20T, both on 'first' stud. The 20T wheel lies outboard of the 38T wheel. The 20T meshes with a 50T 'idler' on the 'second' stud, which in turn meshes with 50T on the leadscrew. My chart suggests a 50T idler. You have a 55T idler, which seems OK, if it fits – obviously, the number of teeth is unimportant. The first stud is on the higher slot on the banjo, the 'second' stud on the lower slot. So your setup looks nearly there, the driver seems to be where it should be, so it's just a matter of getting the 20T and 55T into mesh.
Meshing adjustment. Slacken the banjo clamp nuts, and swing the banjo downwards, to give you 'wriggle room'. Get the mesh of the idler 55T and leadscrew 50T wheels correct, then the mesh of the 20T wheel on the 'first' stud with the idler, then swing the banjo up to get the mesh of the 38T correct with the driver and clamp the banjo. To align with the idler, the leadscrew gear will have to be spaced outboard with a spacer or small dia. gearwheel acting as a spacer (you seem to have done this).
Don't mesh the gears 'tightly', but allow a little backlash. Some advocate a strip of thin paper between gears when setting up, to ensure some clearance. Lubricate the gears. Slideway oil is good – it doesn't get flung off as readily. Lubricate the studs too.
Hope this works – working from charts and memory, and haven't checked the maths (it's getting late). I have the luxury of a gearbox, so haven't done this very much since the gearbox arrived…
Edited By Kiwi Bloke on 25/07/2019 11:25:51
Edited By Kiwi Bloke on 25/07/2019 11:27:30
Edited By Kiwi Bloke on 25/07/2019 11:31:19 (I said it was getting late…)
Edited By Kiwi Bloke on 25/07/2019 11:38:37