oPrn:SetCopies(n) Problem

oPrn:SetCopies(n) Problem

Postby betoncu » Sat Dec 26, 2009 11:58 am

When I use oPrn:SetCopies(2) the printer prints
page 1
page 2
page 1
page 2

Is it possible to force the printer to print
page 1
page 1
page 2
page 2

Thanks in advance,
Birol Betoncu
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: oPrn:SetCopies(n) Problem (Solved)

Postby betoncu » Fri Jan 01, 2010 6:29 pm

I have modified the Tprinter class.
I have inserted the following lines after setcopies method in line 244 and solved my problem

Code: Select all  Expand view

 METHOD SetCollate( lOnOff ) INLINE ;              
                               ( PrnSetCollate( lOnOff ),;
                                 ::Rebuild()            )        

// in your program, call

SetCollate(.T.)  // or SetCollate(.F.)
 


Birol Betoncu
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: oPrn:SetCopies(n) Problem

Postby Antonio Linares » Sun Jan 03, 2010 7:34 am

Birol,

Thanks for sharing your solution :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests