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

Post Reply
Kleyton
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Post 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
Kleyton
Fwh906
Brazil
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

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

Post 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
User avatar
RenOmaS
Posts: 205
Joined: Fri Oct 07, 2005 5:07 pm

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

Post 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
Saludos/regards
RenOmaS

skype: americo.balboa
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

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

Post 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
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
RenOmaS
Posts: 205
Joined: Fri Oct 07, 2005 5:07 pm

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

Post by RenOmaS »

You can use the script pascal
And as you can modify properties at runtime
Saludos/regards
RenOmaS

skype: americo.balboa
Kleyton
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Post by Kleyton »

With FastReport, using the command oPrn: SetCopies (2), he is playing 50 copies, I have done everything and nothing.
Kleyton
Fwh906
Brazil
Kleyton
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Post 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.
Kleyton
Fwh906
Brazil
Kleyton
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Post 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
Kleyton
Fwh906
Brazil
User avatar
RenOmaS
Posts: 205
Joined: Fri Oct 07, 2005 5:07 pm

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

Post by RenOmaS »

Vc não tem estas opções no seu frh?

Image
Saludos/regards
RenOmaS

skype: americo.balboa
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

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

Post 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.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
thefull
Posts: 720
Joined: Fri Oct 07, 2005 7:42 am
Location: Barcelona
Contact:

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

Post 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
Saludos
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Post by karinha »

If I understand you,

Code: Select all

nCopias := 1

      // Numero de copias - Number of Copies.
      oFrPrn:PrintOptions:SetCopies( nCopias )
 
João Santos - São Paulo - Brasil
User avatar
RenOmaS
Posts: 205
Joined: Fri Oct 07, 2005 5:07 pm

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

Post by RenOmaS »

Rafa
Diseña tu reporte en A5 [Vertical]
Despues en las opciones pones esto
Image

...
Saludos/regards
RenOmaS

skype: americo.balboa
Post Reply