[Scilab-users] How to print GUI window?

P M p.muehlmann at gmail.com
Tue Aug 6 06:11:12 CEST 2019


Hi Ted,

please confirm:
- your screen is: 1920 x 1080
- The GUI position is 125,25
- The GUI size is 1300 x 780...including borders and menu bars
.... so if:
.... f = handle of your figure
.... than:
.... f.position = [125, 25 , 1300, 780]  ??

- The resulting image from gui2bitmap shows the GUI in a false way
(Background is visible at left and top border)?

BR
Philipp




Am Mo., 5. Aug. 2019 um 20:28 Uhr schrieb VTX1801 <sl1800 at rochester.rr.com>:

> Samuel,
> Windows 10 OS.
> The screen resolution of my laptop is set to 1920x1080.
> I still see the problems after atomsUpdate("gui2bitmap").
>
> The GUI is completely inside the screen.
> With about 1/4" gap above and below and about 1 inch on either side.
>
> The GUI appears to grow 1/4 inch only to the right side and down directions
> when gui2bitmap is executed.
> The resulting gui2bitmap look zoomed in and loses 3 inches from the right
> side and an inch or more from the bottom.
>
> Additionally, the area to the left and above the gui2bitmap screen capture
> shows the background of what was behind the GUI.
>
> I executed the following command atomsUpdate("gui2bitmap"), and restarted
> Scilab.
> No difference.
>
> Willing to redesign the GUI. How to make the graph area smaller with the
> same size uicontrols to result in slightly smaller GUI size?
>
> Lastly, tested using Snipping Tool software with mode set for window
> capture.
> Click on the GUI window and the complete GUI window appears in the Snipping
> Tool window with an all white background.
>
> Unfortunately, printing results with image printed on two sheets with
> printer basic preferences orientation set to "landscape" and advanced
> preferences scaling set to "fit to paper size".
> Vertical size fits the paper sheet but additional 2.6 inches on the second
> paper sheet.
>
> Very frustrating.
>
> Please advise,
> Ted
>
>
>
>
>
>
> --
> Sent from:
> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190806/bbac56d6/attachment.htm>


More information about the users mailing list