Issue 114356 - Add "current page" option to printer Dialog
Summary: Add "current page" option to printer Dialog
Alias: None
Product: Writer
Classification: Application
Component: printing (show other issues)
Version: OOO330m6
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-09-06 17:53 UTC by jmpoo
Modified: 2017-05-20 11:17 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---

patch showing how it could work (2.91 KB, patch)
2011-02-11 15:16 UTC, philipp.lohmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description jmpoo 2010-09-06 17:53:33 UTC
As additional option to "all", "Page" and "Selection".

It would be very useful if you could print the actually used page or rather the
selected page in page preview
Comment 1 michael.ruess 2010-09-07 08:43:49 UTC
MRU->PL: in the "old" printer dialog in the option "pages" the current page was
the default setting. This should also be the case in the "new" dialog from
"printerpullpages" CWS. This is IMO better than the current default "Pages 1 -
x" which would mean the same as "Print all".
Comment 2 michael.ruess 2010-09-07 08:44:19 UTC
Adding HI to cc.
Comment 3 philipp.lohmann 2011-02-11 15:16:34 UTC
Created attachment 75818 [details]
patch showing how it could work
Comment 4 philipp.lohmann 2011-02-11 15:20:57 UTC
Currently the PageRange Property (which fills the Edit field in question) gets
filled with the whole range "1-" getRendererCount. If the property is already
set, it shouldn't be overwritten. I fixed that in CWS vcl119.

After that the application needs to fill in the number to display. Attached
patch uses GetPhyPageNum to achieve this; that fails however when the number of
pages printed is different from the number of pages in the document (e.g. print
left pages only). The correct mapping as used in getRendererCount and
getRenderer would need to be used; which is rather writer specific, hence I
forward this issue to the writer team.
Comment 5 jmpoo 2012-05-15 10:32:36 UTC
Any hope that the patch was integrated in AOO?
Comment 6 Marcus 2017-05-20 11:17:42 UTC
Reset assigne to the default "".