SED - Print - Print section of file based on a range of line numbers

For printing only lines 8-12, inclusive.

sed -n '8,12p'               # method 1
sed '8,12!d'                 # method 2