"Is there not a code for the bank 1 HO2S?"
P1132 is Bank 1 Upper Sensor (a.k.a. HO2S11) code.
"How many miles do you have to drive before the car is ready for an emissions test?"
It is not miles. It is the OBD II cycle you have to go through.
This will describe the Inspection/Maintenance monitors and the OBD II drive cycle.
http://www.obdii.com/drivecycleford.html