Page 1 of 1

FastReport How do I set number of copies of a receipt?

Posted: Mon Mar 21, 2011 5:42 pm
by Kleyton
Good evening friends
I'm needing to issue a receipt, giving me two options discussed below:
1 - Print two copies of the receipt and a sheet of A4 paper;
2 - Print two copies of the receipt fanfold paper, perforated card in half.

Here I set the page size: Width: 21cm and Height: 17cm, but prints only one way, then if we print on a laser printer and / or ink-jet, half sheet forfeited.

If anyone can give me this tip, I am grateful.

Thanks

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Mar 23, 2011 2:21 pm
by James Bott
Kleyton,

I am not sure I understand your question, but maybe this old message helps.

Regards,
James
2/13/2009

>somebody is using oPrn:SetCopies(2), it does not work to me

I tried it long ago but found it doesn't work with ALL the printer drivers.
In my tests I noticed that some other programs (Thunderbird for example) couldn't print multiple copies of the same document too (on those printers), so I gave up and choose to print the same job twice (in a loop).

Davide

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Mar 23, 2011 4:33 pm
by RenOmaS
You can test
1 - Print two copies of the receipt and a sheet of A4 paper;

Design the report in an A5 (Landscape)
After the property Report (TFrxReport)
-PrintOptions:
Collate: = True
Copies: = 2
PrintOnSheet: = A4
PrintMode: = pmJoin

In the visualization of the report is only one sheet, when printing is to print two A5 -> A4

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Mar 23, 2011 7:59 pm
by Horizon
Hi RenOmaS,

I have also problem like this. I have forms sometime fully filled a4 sometimes filled a5. when it is fully a4, it should be print two page as a a4.
but it is fully a5, it should be print just one a4.

I can not detect it?. Is it possible?

thanks

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Mar 23, 2011 8:59 pm
by RenOmaS
You can use the script pascal
And as you can modify properties at runtime

Re: FastReport How do I set number of copies of a receipt?

Posted: Sun Mar 27, 2011 12:37 pm
by Kleyton
With FastReport, using the command oPrn: SetCopies (2), he is playing 50 copies, I have done everything and nothing.

Re: FastReport How do I set number of copies of a receipt?

Posted: Sun Mar 27, 2011 12:44 pm
by Kleyton
RenOmaS wrote:You can test
1 - Print two copies of the receipt and a sheet of A4 paper;

Design the report in an A5 (Landscape)
After the property Report (TFrxReport)
-PrintOptions:
Collate: = True
Copies: = 2
PrintOnSheet: = A4
PrintMode: = pmJoin

In the visualization of the report is only one sheet, when printing is to print two A5 -> A4

FastReport's version is 4.8.33, and could not find the properties mentioned above.

Re: FastReport How do I set number of copies of a receipt?

Posted: Sun Mar 27, 2011 12:53 pm
by Kleyton
RenOmas, found in the menu "REPORTS / OPTIONS", since it did not work directly in setting up system fonts, set up the FR3.

Thanks
RenOmaS wrote:You can test
1 - Print two copies of the receipt and a sheet of A4 paper;

Design the report in an A5 (Landscape)
After the property Report (TFrxReport)
-PrintOptions:
Collate: = True
Copies: = 2
PrintOnSheet: = A4
PrintMode: = pmJoin

In the visualization of the report is only one sheet, when printing is to print two A5 -> A4

Re: FastReport How do I set number of copies of a receipt?

Posted: Tue Mar 29, 2011 5:24 pm
by RenOmaS
Vc não tem estas opções no seu frh?

Image

Re: FastReport How do I set number of copies of a receipt?

Posted: Mon Jan 13, 2014 4:17 pm
by Horizon
RenOmaS wrote:You can test
1 - Print two copies of the receipt and a sheet of A4 paper;

Design the report in an A5 (Landscape)
After the property Report (TFrxReport)
-PrintOptions:
Collate: = True
Copies: = 2
PrintOnSheet: = A4
PrintMode: = pmJoin

In the visualization of the report is only one sheet, when printing is to print two A5 -> A4
Thank you very much.

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Jan 15, 2014 10:54 am
by thefull
hi , ReOmaS

I have una page A4 Portail, but i need print 2 copies A5 vertical in paper A4 LandScape.

Simular to;
[
A4 ---> A4[A5|A5]
]

If possible ?

Regards

Re: FastReport How do I set number of copies of a receipt?

Posted: Wed Jan 15, 2014 1:25 pm
by karinha
If I understand you,

Code: Select all

nCopias := 1

      // Numero de copias - Number of Copies.
      oFrPrn:PrintOptions:SetCopies( nCopias )
 

Re: FastReport How do I set number of copies of a receipt?

Posted: Thu Jan 16, 2014 9:26 pm
by RenOmaS
Rafa
Diseña tu reporte en A5 [Vertical]
Despues en las opciones pones esto
Image

...