
Per this issue tracker for Chromium, printing via XDG Portal is needed to handle printing from sandboxed environments. Using XDG Portal also allows for a more native print dialog rather than the default GTK dialog.
With this merge yesterday there is now printing via XDG Portal with PrintDialogLinuxPortal and enabling the kLinuxXdgPrintPortal feature.
Look for this improved printing support in Google Chrome/Chromium 145 due out in February.