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

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

Postby Kleyton » Mon Mar 21, 2011 5: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
Kleyton
 
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Postby James Bott » Wed Mar 23, 2011 2: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

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

Postby RenOmaS » Wed Mar 23, 2011 4: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
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?

Postby Horizon » Wed Mar 23, 2011 7: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

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

Postby RenOmaS » Wed Mar 23, 2011 8:59 pm

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

skype: americo.balboa
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?

Postby Kleyton » 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
Kleyton
 
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Postby Kleyton » 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
Kleyton
 
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Postby Kleyton » 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
Kleyton
 
Posts: 49
Joined: Thu Dec 22, 2005 12:50 pm

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

Postby RenOmaS » Tue Mar 29, 2011 5:24 pm

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

Image
Saludos/regards
RenOmaS

skype: americo.balboa
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?

Postby Horizon » Mon Jan 13, 2014 4: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

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

Postby thefull » 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__)
User avatar
thefull
 
Posts: 731
Joined: Fri Oct 07, 2005 7:42 am
Location: Barcelona

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

Postby karinha » Wed Jan 15, 2014 1:25 pm

If I understand you,


Code: Select all  Expand view  RUN

nCopias := 1

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


João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7831
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?

Postby RenOmaS » Thu Jan 16, 2014 9:26 pm

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

...
Saludos/regards
RenOmaS

skype: americo.balboa
User avatar
RenOmaS
 
Posts: 205
Joined: Fri Oct 07, 2005 5:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests