Recent

Author Topic: custom form page size  (Read 2500 times)

tshumak

  • New Member
  • *
  • Posts: 36
custom form page size
« on: December 10, 2013, 09:52:19 am »
Is there a way to create a custom form page size? I.E. 8.5"w x 3.5"h.  This form is to be used as a tear off form with a continuous feed dot matrix printer.  Also I would like to suppress form feed except for the last page. 

Thanks to all.

howardpc

  • Hero Member
  • *****
  • Posts: 3484
Re: custom form page size
« Reply #1 on: December 10, 2013, 12:34:21 pm »
Use the properties of the printer instance, which is predeclared in Lazarus if you include
Code: [Select]
uses printers;

Some properties relevant for you might be:
  Canvas, Orientation, PageHeight, PageWidth, PaperSize, XDPI, YDPI

tshumak

  • New Member
  • *
  • Posts: 36
Re: custom form page size
« Reply #2 on: December 11, 2013, 08:14:08 am »
Hi Howard,  Thanks for the reply.  I'm actually looking for a solution from inside of lazreport.  I'm hoping to get all code for this report to execute inside of the report, however when I give up on this I'll look at your suggestion as an alternative, thanks again.

 

TinyPortal © 2005-2018