This is fine assuming that it is written on a purpose printed cheque as issued by banks but did you know
that you can legally write a cheque on almost anything, I remember some years ago a tv news item about
somebody writing a cheque out on the white side of a large flat fish as a protest against his bank the bank of
course refused to accept it, the case went to court and the bloke won the day because payment was offered
and refused by the bank making it the banks fault that payment was not received, look at his article I have just
coppied and pasted from the GUARDIAN newspaper.
As long as you have the bank details, account details, your signature, and the amount to be transferred, you can legally use anything as a cheque, providing that object is in itself legal. Cheque books are a service provided by the bank to save you the bother of writing out everything