1 Compositors set type on a stick, flipped letters appeared in mirror image, and the expression 'mind your P's and Q's' originated from this practice
“when printed whatever on the compositing sic would appear in mirror image on the page so the letters were flipped so in the case the left hands are all back to front a P looks like a Q so you have to be really careful and that's where we get the expression mind your P's and Q's from”