If you want to print a text file to a pdf file from within Midnight Commander, select the file and do Command -> User menu -> @ (Do something on the current file) and enter the command 'lpr -P <cups-pdf-printer-name>'.
You may find this little script useful.
Code:
#!/bin/sh
# Script to watch for creation of .pdf files by CUPS-PDF in spool directory
# and move to users directory prepending the creation date and time.
#
# This script should never exit
SPOOL_DIR=/var/spool/cups-pdf/<USERNAME>/
USERS_DIR=/home/<USERNAME>/Desktop/PDF_Files/
inotifywait -mq --timefmt '%Y%m%d %H%M%S' --format '%T %f' \
-e close_write $SPOOL_DIR \
| while read date time file; do
mv $SPOOL_DIR${file} $USERS_DIR${date}${time}_${file}
done