I have a Pixel 2 XL, which should be the same as your Pixel 3. Both within email and in Google's PDF viewer, I can go to the menu in the top right (3 vertical dots) and select the print option. My network printer appears on the list and I can select to print to that. This assumes the printer and phone are on your network.