Corretta stampa su file in UNIX
git-svn-id: svn://10.65.10.50/trunk@952 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8bfa8cf6ed
commit
f18be2f45d
@ -1125,11 +1125,15 @@ bool TPrinter::open()
|
||||
_vf->open_modal ();
|
||||
}
|
||||
else if (_printertype == winprinter || _printertype == export
|
||||
|| _printertype == fileprinter)
|
||||
#if XVT_OS != XVT_OS_SCOUNIX
|
||||
|| _printertype == fileprinter
|
||||
#endif
|
||||
)
|
||||
{
|
||||
// prepare text object for new text
|
||||
_txt.destroy();
|
||||
}
|
||||
#if XVT_OS==XVT_OS_SCOUNIX
|
||||
else
|
||||
{
|
||||
const PrinterDef & def = get_description (_curprn);
|
||||
@ -1150,6 +1154,7 @@ bool TPrinter::open()
|
||||
fputs (esc ((char *) s), _fp);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
_currentrow = 1;
|
||||
_currentpage = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user