You can draw filled rectangles using the appropriate PCL Rectangular Area Fill escape sequences.
For drawing pie sections, you'd be better off looking at the HP-GL/2 commands (HP-GL/2 is a subset of the PCL5 Page Description Language); this language subset can also be used to draw rectangles.