All scanners work best in universal mode (that's the triple-loop icon in the lower-left popup of the HUD. Then, you can detect player ships up to 10K, and space objects up to 13k. None of these will be visible in your field of view, but they can be selected for navigation from the target list...