Thanks for the question. You are correct. The iPad needs to be connected to the same Wi-Fi network as your AirPrint Printer:
A Wi-Fi capable AirPrint printer must be connected to the same home Wi-Fi network as the iOS device or Mac. See this article for an overview on connecting a Wi-Fi capable printer to your Wi-Fi network.