How do I set the background color for my pdf doc

 I have a printable that gets called via 

public int print(Graphics g2, PageFormat pageFormat, int pageIndex)  throws PrinterException ...

I have tried g2.setBackground(Color.BLACK) but that does not work. 

PageFormat and RequestAttributes do not seem to have anything for me and PrinterJob doesn't either.