(1) Bash pitfall number one. Use
for i in *.pdf; …. (2) Quote right. (3) Do not use data as a format in printf; the format gets interpreted. Use printf '%s\n' "$i" if you really need to. In Bash it's easier to use a here string.