Was it a network printer by chance? CUPS has probably just detected the printer automatically. IIRC, it will show up in /etc/cups/printers.conf, along with the existing configuration.
It is the CUPS backends that are responsible for this dynamic detection