patch 9.1.0907: printoptions:portrait does not change postscript Orientation
Problem: printoptions:portrait does not change postscript Orientation Solution: Set Orientation depending on portrait suboption. fixes: #16156 closes: #16174 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -2742,7 +2742,7 @@ mch_print_begin(prt_settings_T *psettings)
|
||||
|
||||
prt_dsc_textline("CreationDate", get_ctime(time(NULL), FALSE));
|
||||
prt_dsc_textline("DocumentData", "Clean8Bit");
|
||||
prt_dsc_textline("Orientation", "Portrait");
|
||||
prt_dsc_textline("Orientation", prt_portrait ? "Portrait" : "Landscape");
|
||||
prt_dsc_atend("Pages");
|
||||
prt_dsc_textline("PageOrder", "Ascend");
|
||||
// The bbox does not change with orientation - it is always in the default
|
||||
|
||||
Reference in New Issue
Block a user