Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
custom form page size
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[Solved] 32 Bit vs 64 Bit...
by
Peter H
[
Today
at 04:28:12 am]
Linux daemon's AccessViol...
by
auRazor
[
Today
at 04:16:19 am]
"PixelFormat:=pf24bit" ca...
by
lijinjie
[
Today
at 04:05:33 am]
WinAPI - examples - post ...
by
Peter H
[
Today
at 03:32:31 am]
While loop and two-dimens...
by
egsuh
[
Today
at 03:01:45 am]
Streaming video to a web ...
by
Jurassic Pork
[
Today
at 02:47:35 am]
WinAPI - examples - INDEX
by
440bx
[
Today
at 02:04:31 am]
Unable to set image backg...
by
Wilko500
[
Today
at 01:38:07 am]
Brook - Beginner trying t...
by
PierceNg
[
Today
at 01:36:05 am]
Zeoslib compile issue
by
auRazor
[
Today
at 01:26:46 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: custom form page size (Read 2595 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.
Logged
howardpc
Hero Member
Posts: 3610
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
Logged
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.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
custom form page size
TinyPortal
© 2005-2018