Help for UnderWood

Help for UnderWood

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Otto » Wed Aug 20, 2008 1:07 pm

Regards,
Otto


Code: Select all  Expand view  RUN
  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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Silvio » Wed Aug 20, 2008 8: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 ... 7&iid=666#
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Otto » Thu Aug 21, 2008 6: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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Natter and 73 guests