Character to value works:
$ printf "%d\n" \'A
65
$
I have two questions, the first one is most important:
One line
printf "\x$(printf %x 65)"
Two lines
set $(printf %x 65)
printf "\x$1"
Here is one if you do not mind using awk
awk 'BEGIN{printf "%c", 65}'