This commit is contained in:
parent
49a6d85f39
commit
fbb06a698f
@ -78,9 +78,17 @@ namespace Utils
|
||||
// bar (Print_ChangeBar), the change bar location and its text.
|
||||
tmpsbyte= br.ReadSByte();
|
||||
cfg.Print_ChangeBar = (FolderConfig.PrintChangeBar)((int)tmpsbyte > 2 ? 3 : (int)tmpsbyte);
|
||||
cfg.Print_ChangeBarLoc = (FolderConfig.PrintChangeBarLoc)((tmpsbyte-3)/NUMCBTEXTYPE);
|
||||
int ts = (tmpsbyte-3)%NUMCBTEXTYPE;
|
||||
cfg.Print_ChangeBarText = (FolderConfig.PrintChangeBarText)((tmpsbyte-3)%NUMCBTEXTYPE);
|
||||
if (tmpsbyte > 2)
|
||||
{
|
||||
cfg.Print_ChangeBarLoc = (FolderConfig.PrintChangeBarLoc)((tmpsbyte - 3) / NUMCBTEXTYPE);
|
||||
int ts = (tmpsbyte - 3) % NUMCBTEXTYPE;
|
||||
cfg.Print_ChangeBarText = (FolderConfig.PrintChangeBarText)((tmpsbyte - 3) % NUMCBTEXTYPE);
|
||||
}
|
||||
else
|
||||
{
|
||||
cfg.Print_ChangeBarLoc = FolderConfig.PrintChangeBarLoc.WithText;
|
||||
cfg.Print_ChangeBarText = FolderConfig.PrintChangeBarText.DateChgID;
|
||||
}
|
||||
cfg.Print_NumCopies=br.ReadSByte();
|
||||
cfg.Print_Pagination=(FolderConfig.PrintPagination) br.ReadSByte();
|
||||
tmpstring = ReadTheString(br,4); // DefaultPrinter not used
|
||||
|
Loading…
x
Reference in New Issue
Block a user