FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help for UnderWood
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Help for UnderWood
Posted: Wed Aug 20, 2008 11:30 AM

Someone know how link a fwh prg to ECR UNDERWOOD?
I must open the cash and print a ticket on this ecr.
I don't know if it is compatible with a standard.
Dear Antonio, need to us a run fiscal class compatible with olivetti, sarema and others (we can create a standard base class) this can be very importabt for us.

Best Regards, Saludos



Falconi Silvio
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Help for UnderWood
Posted: Wed Aug 20, 2008 01:07 PM
Regards,
Otto


  if GetPvProfString( "Kassenlade", "UEBERDRUCKER" , "N", ".\INI\TOUCH.INI" ) ="J"
                    oPrnDOS := TDosPrn():New("LPT1")
                    *oPrnDOS:write(chr(27)+chr(112)+chr(15)+chr(15))
                    oPrnDOS:write(chr(27)+chr(112)+chr(0)+chr(10)+chr(100))
                    oPrnDOS:cFormFeed:="0"
                    oPrnDOS:EndPage()           // optional
                    oPrnDOS:End()

                else

                    oPrn   := PrintBegin("DRUCKER", .f., .f.,cPrnName )
                    PAGE
                    DEFINE FONT oFntNormal NAME "ARIAL" SIZE 16,40
                    oPrn:Say( 0,5 ,   (chr(27)+chr(112)+chr(0)+chr(10)+chr(100))           , oFntNormal  )
                    ENDPAGE
                    ENDPRINT
                    RELEASE FONT oFntNormal

                ENDIF
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Help for UnderWood
Posted: Wed Aug 20, 2008 08:11 PM

perhaps U don't understande me
I must send data to the cash and print the ticket and save the ticket on this fiscal cash

http://www.olivettitecnost.it/site/publ ... 7iid=666#

&

Best Regards, Saludos



Falconi Silvio
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Help for UnderWood
Posted: Thu Aug 21, 2008 06:20 AM

Hello Silvio,

Now I understand. How is the Nettuna 400 connected to the PC: USB or COM or LAN. Do you have a protocol how the communication is established.

Regards,
Otto

Continue the discussion