The R6 is to avoid the AMS1117 of handling the power dissipation. I was suggested to use it because it is an LDO. If it was a buck converter, then it wouldn't be a problem. But as it is an LDO, then the resistor is a good help for the AMS1117.Then you don't need R6 and the +12v would be on pin1 of J1., no +12L
The +12L was because Kicad was complaining about AMS1117 pin being an input pin and not being able to see the power input!