To print a file on Mandrake 9.x, the following command line is used.
$ /usr/bin/lpr -Pprinter_name filename