fixes in HostPrinter
|Assignee:||J. Templ||% Done:|
Two small fixes in HostPrinters are required.
1. dialogCommand uses an undocumented form that has negative side effects on
case sensitive file systems such as on a Novell file server. It opens
the resource file without the proper capitalization and thereby renames the
file and and confuses case sensitive tools such as git or svn.
2. the job's page counter in printing.pnum must be maintained at the
outermost job level, not per document, in order to support nested print
jobs as introduced recently in BB 1.6.
With this change it is then possible to do duplex (two sided) printing
and to start each document on a front side. It also enables one to see
how many pages are printed in total for a nested print job.
A proposal by Josef Templ for fixing these issues in CPC 1.7 rc5 exists.
Reported by Josef Templ, 2013-11-28.
Refers to CPC 1.7 rc5 change list number 54.
fixing dialogCommand and printing.pnum. Refs: #48.
Ad proposed by Josef Templ in CPC 1.7 rc5.
- printing.pnum is incremented globally, i.e. at the outermost print job level.
- dialogCommand now uses the standard form for opening a resource file, which avoids
nasty side effects that occur with the previously used and undocumented form. It used to open the resource file without the proper capitalization of the file name and thereby confused case sensitive tools such as a Novell file server, git and svn.
Signed-off-by: Josef Templ <email@example.com>