MATLAB: How to get 2 pages per sheet when printing file from Matlab Editor

MATLABprint

I am using Matlab version 9.5.0.944444 (R2018b) and a Canon MG 7150 printer. The latter has an option to print 2 pages per sheet and this feature works fine with other editors and word processors. However, when I select this printer driver option from within the Matlab Editor print command I am always presented with output of 1 page per sheet.
Any ideas about where I am going wrong – or does the Matlab Editor override the printer-driver options?
As an aside, probably not relevant, the Matlab Editor correctly permits 2-sided printing if selected in the printer driver, but ignores the request to preview the printer output before printing – most odd!

Best Answer

Hi Peter
The default Page setup of MATLAB editor do not provide any options to change the number of pages to be printed in a single page.
However one possible workaround for the issue is to use “Publish option” of MATLAB Editor.You may follow below steps for the same.
  1. Click on “Publish” tab
  2. Click on “Edit Publish Configuration”
  3. In the Output Settings select Output file format as “doc”
  4. Click on Publish
Now the code along with plots will be opened in Microsoft word where in you can select “2 Pages per sheet” in Print. Please refer below image for more info:
publishsettings.png
wordprint.png
Hope this helps.