For USB printer, you need to begin installing the driver before you connect the connect the printer, then connect it when you see the message on the screen telling you to connect it & switch it on.
For mobile phone, you need to install Windows software available from the phone manufacturer's website.