To print from the command line, use the hebtxt filter. The lp printing command is lp -T hebtxt -d printer_name.