Code-paper coding