FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FastReport How do I set number of copies of a receipt?
Posts: 49
Joined: Thu Dec 22, 2005 12:50 PM
FastReport How do I set number of copies of a receipt?
Posted: Mon Mar 21, 2011 05:42 PM

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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Mar 23, 2011 02:21 PM
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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 205
Joined: Fri Oct 07, 2005 05:07 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Mar 23, 2011 04:33 PM

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
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Mar 23, 2011 07:59 PM

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 & MSVC 2022 & FWH 23.06
Posts: 205
Joined: Fri Oct 07, 2005 05:07 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Mar 23, 2011 08:59 PM

You can use the script pascal
And as you can modify properties at runtime

Saludos/regards

RenOmaS



skype: americo.balboa
Posts: 49
Joined: Thu Dec 22, 2005 12:50 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Sun Mar 27, 2011 12:37 PM

With FastReport, using the command oPrn: SetCopies (2), he is playing 50 copies, I have done everything and nothing.

Kleyton

Fwh906

Brazil
Posts: 49
Joined: Thu Dec 22, 2005 12:50 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Sun Mar 27, 2011 12:44 PM
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
Posts: 49
Joined: Thu Dec 22, 2005 12:50 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Sun Mar 27, 2011 12:53 PM
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
Posts: 205
Joined: Fri Oct 07, 2005 05:07 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Tue Mar 29, 2011 05:24 PM
Vc não tem estas opções no seu frh?

Saludos/regards

RenOmaS



skype: americo.balboa
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Mon Jan 13, 2014 04:17 PM
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 & MSVC 2022 & FWH 23.06
Posts: 731
Joined: Fri Oct 07, 2005 07:42 AM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Jan 15, 2014 10:54 AM

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__)
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Wed Jan 15, 2014 01:25 PM
If I understand you,


Code (fw): Select all Collapse
nCopias := 1

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


João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 205
Joined: Fri Oct 07, 2005 05:07 PM
Re: FastReport How do I set number of copies of a receipt?
Posted: Thu Jan 16, 2014 09:26 PM
Rafa
Diseña tu reporte en A5 [Vertical]
Despues en las opciones pones esto


...
Saludos/regards

RenOmaS



skype: americo.balboa

Continue the discussion