From 71f7a90873253799ca5f30a5cee1056203c6ab95 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 10 May 1995 08:56:27 +0000 Subject: [PATCH] Aperta e chiusa la stampate solo per il tempo necessario git-svn-id: svn://10.65.10.50/trunk@1336 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/printer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/printer.cpp b/include/printer.cpp index 57ce49c28..d048cbb64 100755 --- a/include/printer.cpp +++ b/include/printer.cpp @@ -879,6 +879,7 @@ TPrinter::~TPrinter () xvt_print_destroy(_print_rcd); _print_rcd = NULL; } + // xvt_print_close(); #endif } @@ -1539,7 +1540,9 @@ else if (_printertype == winprinter && _txt.lines() > 0L) PrintWhat._txt = &_txt; PrintWhat._graphics = _isgraphics; PrintWhat._charsize = _ch_size; + xvt_print_open(); xvt_print_start_thread (start_winprint, (long) (&PrintWhat)); + xvt_print_close(); } else if (_printertype == fileprinter) {