Conversation so far:
which components are used to connect a computer to a printer?
Most Common Printer Connections are Serial, Parallel, USB, and Ethernet.
what is ethernet connection for printer?
Ethernet is a wired network printer uses an Ethernet cable instead of a USB connection, and it connects directly to a router instead of an individual computer.
what cable is commonly used to connect a computer to a printer?
Most new printers contain a USB port, making the USB cable the most common way to connect a printer to your PC or Mac.
is connecting from a laptop to a printer possible?
Because most laptops lack a printer port, USB printers are the way to go.

Question: how to connect wirelessly?
Self-contained rewrite: how to connect a computer to a printer wirelessly?