Hi Uttam!

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Uttam Kumar Kotdiya

As continuous stationary in dot matrix is slightly bigger then A4 size
as we print pages on dot matrix printer the pages moves up slight. Is
there any solution for this?
>>>>>>>>>>>>>>>>>>

QR can handle custom paper sizes.  Select Custom size and put in the
Height and width you need.  You may need to use this setting to fool QR
into printing the pages correctly on a dot matrix printer.
>>>>>>>>>>>>>>>>>>

 My application requires being able to print
on both A4 size and continuous stationary.
>>>>>>>>>>>>>>>>>>

The key is to set each report as an independent unit and not try to tie
them together using the QRComposite report component.  The Composite
report stitches together the different raw print files created and does
not allow for any paper changes once the printing starts.
>>>>>>>>>>>>>>>>>>

 Also I require printing the page in Landscape. 
>>>>>>>>>>>>>>>>>>>>

Printing in landscape is also possible.  Look at the Settings property
in the QuickRep component or rightclick the Quickrep object on the form
and select settings.

>>>>>>>>>>>>>>>>>>>>

Is it is possible to adjust the page size in Quick
report dynamically as per the printers default paper size.

>>>>>>>>>>>>>>>>>>>

You can't adjust the paper size within a report.  Treat each paper
change as a separate report and call each one in a group.

For example:

procedure TForm2.Button3Click(Sender: TObject);
Var
  ReptForm1: TForm1;
  ReptForm2: TForm2;
  ReptForm3: TForm3;
begin
 Try
  Windowstate := wsMinimized;
  ReptForm1:= TForm1.Create(Self);
  ReptForm1.QuickRep1.Print;
  ReptForm1.Release;

  ReptForm2:= TForm1.Create(Self);
  ReptForm2.QuickRep1.Print;
  ReptForm2.Release;

  ReptForm3:= TForm1.Create(Self);
  ReptForm3.QuickRep1.Print;
  ReptForm3.Release;
   finally
  Windowstate := wsNormal;
 end;
end;

Hope this helps!

Tom Nesler
Live long!...   Code Well!...   and Prosper!...   V

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to