Parsing a configuration Test tile

Team I need help parsing a text file that meet the layout below:

high:850:856:214:855:810
med:852:304:310
low:315:240:323:310

I need to read each line and if for example a line start with high in in that same line there is a 850 or any other number then I wan to print it. The same ohld true for any other line.

Thank you
edpdgr

lp -dprinter_name $(grep "high" file)

or

grep "high" file > file
lp -dprinter_name file

you can try....

This will not work

grep ^high filename | grep "[0-9]" | lpr

Thank you very much this was so simple.