[Scilab-users] How to print GUI window?

P M p.muehlmann at gmail.com
Tue Aug 6 14:52:28 CEST 2019


beside the Images names, both Images are created with exact the same
code....see attachment

Note:
The appearance of the borders in the Win7 Image.

I guess it is the window style setting that leads to the difference.





Am Di., 6. Aug. 2019 um 14:45 Uhr schrieb P M <p.muehlmann at gmail.com>:

> ..forgot a second Image....
>
> Am Di., 6. Aug. 2019 um 14:45 Uhr schrieb P M <p.muehlmann at gmail.com>:
>
>> .... nice, so we getting closer.
>>
>> I would blame win10 for the scaling...
>>
>> This is, because in win7 I do get the correct Image, when executing the
>> code I tested under win10.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Am Di., 6. Aug. 2019 um 14:03 Uhr schrieb VTX1801 <
>> sl1800 at rochester.rr.com>:
>>
>>> Philipp,
>>> Your hint was the answer.
>>> However, there is a slight background image on the left, right and
>>> bottom.
>>> The screen scale was set to 125 percent.
>>> Now with the scale set to 100 percent the GUI prints on one page with
>>> about
>>> 1/4 inch left and right space and about one inch top and bottom space.
>>>
>>> Is the gui2bitmap code trying to extract screen image by pixel size and
>>> position?
>>> Can the gui2bitmap mode be set to capture the window that has focus?
>>>
>>> Best Regards,
>>> 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/90d8109f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_gui2bitmap.sce
Type: application/octet-stream
Size: 359 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20190806/90d8109f/attachment.obj>


More information about the users mailing list