summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index f9bd48773..ed7e08c00 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3811,8 +3811,9 @@ struct prt_ps_resource_S
*
* VIM Prolog
* 6.2 1.3
+ * 7.0 1.4
*/
-#define PRT_PROLOG_VERSION ((char_u *)"1.3")
+#define PRT_PROLOG_VERSION ((char_u *)"1.4")
/* String versions of PS resource types - indexed by constants above so don't
* re-order!
@@ -5116,6 +5117,10 @@ mch_print_end(psettings)
prt_dsc_noarg("EOF");
+ /* Write CTRL-D to close serial communication link if used.
+ * NOTHING MUST BE WRITTEN AFTER THIS! */
+ prt_write_file(IF_EB("\004", "\067"));
+
if (!prt_file_error && psettings->outfile == NULL
&& !got_int && !psettings->user_abort)
{