All printers can be connected, by USB cable, to a computer and will work without internet access. There is a trend for "Airprint" printers that can be registered and used to print from iPads, tablets & smartphones. For this to work there must be an internet connection. A printer, connected to a computer, can be used by any computer on the local network by being "Shared". Exact details of how to do this depend on which flavour of Windows you are using.
Samsung Galaxy S8 review