A student purchased a computer system and a colour printer. If he sold the computer system at 10 loss and the colour printer at 20 gain, he would not lose anything. But if he sells the computer system at 5 gain and the colour printer at 15 loss, he would lose Rs. 800 in the bargain. How much did he pay for the colour printer?