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
This commit is contained in:
parent
275b2b1659
commit
71f7a90873
@ -879,6 +879,7 @@ TPrinter::~TPrinter ()
|
|||||||
xvt_print_destroy(_print_rcd);
|
xvt_print_destroy(_print_rcd);
|
||||||
_print_rcd = NULL;
|
_print_rcd = NULL;
|
||||||
}
|
}
|
||||||
|
// xvt_print_close();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1539,7 +1540,9 @@ else if (_printertype == winprinter && _txt.lines() > 0L)
|
|||||||
PrintWhat._txt = &_txt;
|
PrintWhat._txt = &_txt;
|
||||||
PrintWhat._graphics = _isgraphics;
|
PrintWhat._graphics = _isgraphics;
|
||||||
PrintWhat._charsize = _ch_size;
|
PrintWhat._charsize = _ch_size;
|
||||||
|
xvt_print_open();
|
||||||
xvt_print_start_thread (start_winprint, (long) (&PrintWhat));
|
xvt_print_start_thread (start_winprint, (long) (&PrintWhat));
|
||||||
|
xvt_print_close();
|
||||||
}
|
}
|
||||||
else if (_printertype == fileprinter)
|
else if (_printertype == fileprinter)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user