You need to be photographed and fingerprinted for your residence permit card. You must do this even if you have had a Swedish residence permit before, because this information is not saved. You can do this at one of the Swedish Migration Agency’s service centres.