If your power supply to your house is so bad that you need a generator to run your reprap then maybe running it off a car battery might be an idea.
Leave the charger perminantly connected and also grab a 500watt inverter to run your PC off (well, it will charge a laptop, printing from an SD card would allow for a headless printer).
You would need an automotive fuse box (blade fuses) too, for safety.