I hope I'm not completely wrong:
Found some links about IPP and AirPrint. AirPrint just provides service that can print different fileformats and use DNS-SD (Avahi, Bonjou etc. -service). Even older IPP printers seems to be way of find printer/service and communication protocol.
How to setup CUPS printing server which provides IPP/AirPrintCUPS implement IPP everywhereHow to Use the Internet Printing Protocol explains how IPP works.
To understand what IPP can provide I tested with Avahi tools what DNS-SD tells about devices:
avahi-browser --all -r prints:
Pretty old Samsung network printer:
Code:
= enp1s0 IPv4 Samsung CLP-320 Series (samppa) Internet Printer local
hostname = [SEC0015997412EE.local]
address = [192.168.1.99]
port = [631]
txt = ["Punch=0" "Staple=F" "Sort=F" "Collate=F" "Bind=F" "PaperCustom=T" "Duplex=F" "Copies=F" "Color=T" "Binary=T" "Transparent=T" "MDL=CLP-320 Series" "CMD=SPL,PCL5E,PCL6,FWV,EXT,WSP,SCR,CMP,CMS,EWU" "MFG=Samsung" "adminurl=http://192.168.1.99" "product=(Samsung CLP-320 Series)" "ty=Samsung CLP-320 Series" "priority=51" "qtotal=1" "note=Olohuone" "txtvers=1"]
CUPS "AirPrint" Avahi service:
Code:
= enp1s0 IPv4 AirPrint Samsung-CLP-320N @ mustanaamio Internet Printer local
hostname = [mustanaamio.local]
address = [192.168.1.1]
port = [631]
txt = ["pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-pdf" "printer-type=0x2900c" "printer-state=3" "product=(GPL Ghostscript)" "note=Samsung CLP-320N" "rp=printers/Samsung-CLP-320N" "URF=none" "Transparent=T" "qtotal=1" "txtvers=1"]
Looks quite different when compared to each other. Printer provides information about low level things and CUPS what fileformats it supports like PDF, PS, TXT. Printer still needs drivers/filters to convert printable data to right format. Both are advertised as "Internet Printer", but command
avahi-browse _universal._sub._ipp._tcp prints only CUPS/Avahi services.
I have not tested CUPS AirPrint yet. Real Printers IPP with Android-phone.