bugGNU Octave - Bugs: bug #52838, implement print keyword 'fillpage'


bug #52838: implement print keyword 'fillpage'

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Mon 08 Jan 2018 08:03:13 PM UTC  
Category: Octave FunctionSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: AvinoamOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 09 Jan 2018 08:23:37 PM UTC, comment #5:

This looks really easy to implement if someone wants to try it. Just need to detect the option and then set the PaperPosition property. Should check with Matlab, does using 'bestfit' alter the PaperPosition property or does it save/restore the current value during printing?

Rik <rik5>
Project Administrator
Mon 08 Jan 2018 08:42:49 PM UTC, comment #4:

This seems to be a new Matlab option to print:


Maybe this should also be marked as a feature request to implement this option, as well as "-bestfit".

Rik <rik5>
Project Administrator
Mon 08 Jan 2018 08:40:20 PM UTC, comment #3:

From the help text for print

So for "-fillpage" Octave is trying the handle "illpage" which obviously isn't valid. It seems the print function is behaving as it should.

Rik <rik5>
Project Administrator
Mon 08 Jan 2018 08:31:10 PM UTC, comment #2:

Is '-fillpage' a Matlab option for print? I don't find it in any of the Octave help text

Rik <rik5>
Project Administrator
Mon 08 Jan 2018 08:06:44 PM UTC, comment #1:

sorry, markup problems:

The bug is triggered in line 157 of __print_parse_opts__

a quick and dirty fix is to change line 159 to

and move lines 159-160 before line 157

Avinoam Kalma <avinoam>
Project Member
Mon 08 Jan 2018 08:03:13 PM UTC, original submission:

The bug is triggered in line 157 of __print_parse_opts__

Avinoam Kalma <avinoam>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Jan 2018 04:46:41 AM UTCrik5Severity3 - Normal=>1 - Wish
      Summaryproblem with print keyword 'fillpage'=>implement print keyword 'fillpage'
    Tue 09 Jan 2018 08:23:54 PM UTCrik5Item GroupIncorrect Result=>Matlab Compatibility
    Mon 08 Jan 2018 08:42:49 PM UTCrik5StatusWorks For Me=>Confirmed
    Mon 08 Jan 2018 08:40:20 PM UTCrik5StatusNeed Info=>Works For Me
    Mon 08 Jan 2018 08:31:10 PM UTCrik5StatusNone=>Need Info
    Mon 08 Jan 2018 08:06:59 PM UTCavinoamSummaryproblem with print keyword 'filpage'=>problem with print keyword 'fillpage'

    Back to the top

    Powered by Savane 3.1-cleanup1