If you e-filed then your signature was electronic when you entered your 2017 AGI or PIN number. If you want a paper copy that is signed then you use a pen and sign a printed copy. The spot for your signature is on the middle of the page that printed both halves of your Form 1040. It has a black arrow pointing to the words "Sign here."