Tn5250PrintSessionSYNOPSIS
Tn5250PrintSession *ps = tn5250_print_session_new (); tn5250_print_session_set_stream(ps,stream); tn5250_print_session_set_output_command(ps,"scs2ascii | lpr"); tn5250_print_session_main_loop(ps); tn5250_print_session_destroy(ps);DESCRIPTION
Manages a 5250e printer session and parses the data records.