When printing, does Mac handle converting PDFs to rasters, or does the printer do that?

My printer states in its specifications that it supports PostScript 3, PCL 5e/6, PDF, and TIFF. However, several other printers from that manufacturer do not state they support PDF. On the printers that support PDF, does Mac send the PDF file to the printer to be rasterised, and on the non-PDF supporting ones does Mac handle the rasterisation? I am specifically asking about Mac's default print window.


Printers that explicitly support PDF can be sent a stream of PDF data, and the printer will raster it itself.
Printers that support PostScript will be sent a stream of PostScript data.
Printers that support PCL will be sent a stream of PCL data.

The job of printer drivers on your Mac is to tell the Mac which format to use (or in the case of non-native formats like PCL, to convert it).

The MacOS printing system "CUPS" contains programs called things like cgtops and cgtopdf, which convert CoreGraphics (the internal data structures of the graphical environment) to PS or PDF.

One benefit of the DTP revolution was the printer doing the rasterization from PostScript natively. Non-PS printers back in the day would require software RIPs, like Adobe's PressReady, to do the work, tying up the computer's CPU and producing huge files.

CUPS currently uses PostScript as its default file format, but future versions are planned to use PDF.