# Change the page margins on print

**URL:** <https://forum.xojo.com/t/change-the-page-margins-on-print/19606>\
**Category:** General\
**Created:** [October 3, 2014, 7:45am UTC](https://forum.xojo.com/t/change-the-page-margins-on-print/19606 "2014-10-03T07:45:49Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [October 5, 2014, 11:25am UTC](https://forum.xojo.com/t/change-the-page-margins-on-print/19606/21 "2014-10-05T11:25:28Z")

</div>

What quality DrawInto produce (beside colours) ?

Does it “prints” the whole ListBox contents or just the current onscreen data ?

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [October 5, 2014, 11:44am UTC](https://forum.xojo.com/t/change-the-page-margins-on-print/19606/22 "2014-10-05T11:44:04Z")

</div>

[quote=133605:@Emile Schwarz]What quality DrawInto produce (beside colours) ?

Does it “prints” the whole ListBox contents or just the current onscreen data ?[/quote]

The quality is that of the screen : 72 dpi, and it draws exactly what is visible on the screen. The trick is to use a copy of the listbox on a hidden window where you make the listbox the size you want. For instance, for a HP2420 the g obkject reports 578x768 pixels for A4. You create a copy of your listbox that size, then drawinto g, and use the lisbox scroll position to print the whole content page after page.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:26pm UTC](https://forum.xojo.com/t/change-the-page-margins-on-print/19606/23 "2020-10-29T17:26:25Z")

</div>



[Previous page](https://forum.xojo.com/t/change-the-page-margins-on-print/19606.md?page=1)
