Search found 45 matches: cport

Return to advanced search

Re: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV

... ? BemaReporteZeta(cFecha,cHora),"REPORTEZ" RETURN .T. FUNCTION ISWINXP() RETURN .T. //Faz abertura do dia // DLL32 FUNCTION LECTURA ( cPort AS LPSTR ) AS LONG PASCAL ; // FROM "IniPuertaStr" LIB oDp:nBemaDLL //DLL32 FUNCTION LECTURA( cPort AS STRING ) AS LONG PASCAL FROM ...
by jnavas
Wed Apr 27, 2022 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV
Replies: 21
Views: 7810

Re: How to read data from a serial port ?

Enrico,
IF you have COM1 in your micro, could you try this code for a COM port that doesn't exist ?
I'm having the problem when I try to do an OpenComm( cPort, 1024, 10 ), for a COM port that doesn't exist in my computer. The function returns -1, but each time I try, CPU use is increased quickly.
by vilian
Wed Jul 28, 2021 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read data from a serial port ?
Replies: 10
Views: 958

Re: Send EMail Within FW Appplication....

... STATIC FUNCTION SENDMAIL( cFrom, cServer, cTo, cSubject, cMessage, aAttach, cSender, cUser, cPassword, aCc, lHtml, cPort, lNotification, lSSL ) LOCAL lOk := .F. LOCAL oCfg, oMsg LOCAL cCc := "" LOCAL i DEFAULT lHtml := "<html" $ LOWER( cMessage ...
by RiazKhan
Tue Jun 08, 2021 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send EMail Within FW Appplication (RESOLVED)
Replies: 18
Views: 3082

Re: Send EMail Within FW Appplication....

... I am passing all parameters to sendmail() SENDMAIL( cFrom, cServer, cTo, cSubject, cMessage, aAttach, cSender, cUser, cPassword, aCc, lHtml, cPort,lNotification , lSSL ) This is the return message : "Unsent message check windows live mail" LOCAL cFrom := "amriazkhan@gmail.com" ...
by RiazKhan
Tue Jun 08, 2021 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send EMail Within FW Appplication (RESOLVED)
Replies: 18
Views: 3082

Re: Busqueda SQL

... Driver};" + ; "server=" + cServer + ; ";database=" + cDatabase + ; ";uid=" + cUser + ; ";port=" + cPort + ; ";pwd=" + cPass ) xRfc:="XAXX010101XXX" If Empty(oCone) MsgAlert(" No se pudo establecer la conexion con la Base ...
by servicomver
Fri Jul 13, 2018 8:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda SQL
Replies: 15
Views: 3080

Re: class tprinter and a dot-matrix printer

... "This goes in line 10, column 20") oPrn:EndPage() // optional oPrn:End() A little description of all the members of this class: DATAs: cPort: Printing port, by default "LPT1" cCompress: String for compressed mode, by default "15" cNormal: String for normal mode, ...
by ukoenig
Sun Mar 26, 2017 3:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: class tprinter and a dot-matrix printer
Replies: 2
Views: 766

Re: Ejemplo TdosPrn

... "This goes in line 10, column 20") oPrn:EndPage() // optional oPrn:End() A little description of all the members of this class: DATA: cPort: Printing port, by default "LPT1" cCompress: String for compressed mode, by default "15" cNormal: String for normal mode, ...
by LuisPonce
Thu Aug 18, 2016 4:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo TdosPrn
Replies: 11
Views: 2753

Re: A tool to send email ?

... cSender, cUser, cPassword ) RETURN NIL FUNCTION SENDMAIL( cFrom, cServer, cTo, cSubject, cMessage, aAttach, cSender, cUser, cPassword, aCc, lHtml, cPort, lNotification ) ... ... maybe something missing or not possible to use it ? or is there maybe another working sample in the meantime because ...
by ukoenig
Mon Jun 13, 2016 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A tool to send email ?
Replies: 25
Views: 9668

Re: TDolphin error al grabar...SQL

... /********************************************************/ static function ConnectTo() /* */ LOCAL oServerIni, cServer, cUser, cPass, cBanco, cPort, nPort, nFlags, oErr Pega_Script('connect.ini', @cServer, @cUser, @cPass, @cBanco, @cPort ) oServerIni := NIL nPort := Val(cPort) nFlags := 0 ...
by MGA
Fri Sep 18, 2015 2:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDolphin error al grabar...SQL
Replies: 5
Views: 922

Re: Test to see if USB Printer is ready

...     8388608#define PRINTER_STATUS_POWER_SAVE        16777216//------------------------FUNCTION Main()Local cPort,aPrn,nStatus,aPrintercPort := PrnGetPort()Msginfo( cPort )cPrinter := GetDefaultPrinter()msginfo( "cPrinter" ...
by Rick Lipkin
Fri May 22, 2015 12:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test to see if USB Printer is ready
Replies: 20
Views: 5802

Re: Instalacion necesaria para conectar a Oracle 11g

... al directorio de tu instalcion de Instant Client. cCmd :="Provider=OraOLEDB.Oracle;Data Source="+alltrim(cServer)+":"+alltrim(cPort)+"/"+alltrim(cSid)+";User ID="+alltrim(cUser)+";Password="+alltrim(cPassword)+";" // ??? cCmd oCn := FW_OpenAdoConnection( ...
by nnicanor
Wed Mar 20, 2013 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Instalacion necesaria para conectar a Oracle 11g
Replies: 15
Views: 5062

Impresion Dos en epson lx-300+ii

... con la misma version de windows. En una aplicacion para imprimir remisiones tipo DOS, tengo ha grandes rasgos esta function: function ImprDos(cPort) local OBJ_PRINT local OBJ_FILE:=NombreTmp('PRN') // nombre de archivo temporal con extencion PRN OBJ_PRINT:=TDosPrn():New(OBJ_FILE) OBJ_PRINT:=Command('27','67','46') ...
by noe aburto
Thu Nov 15, 2012 2:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion Dos en epson lx-300+ii
Replies: 2
Views: 953

Re: Enviando mensajes de WhatsApp

... MANEJO estas funciones y me abre elpuerto como servidor y yo puede manipular todas las operaciones hb_InetInit() Socket := hb_InetServer( val( cPort ) ) ya con esta dos funciones ya puedo recibir la informacion de los clientes y con hbsocket cuales serias las funciones para iniciar como servidor ...
by benjiben143
Tue Aug 14, 2012 3:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviando mensajes de WhatsApp
Replies: 212
Views: 81684

Re: TDOSPRN y XP WINDOWS - SOLUCIONADO

... "This goes in line 10, column 20") oPrn:EndPage() // optional oPrn:End() A little description of all the members of this class: DATA: cPort: Printing port, by default "LPT1" cCompress: String for compressed mode, by default "15" cNormal: String for normal mode, ...
by Armando Picon
Mon Jan 24, 2011 8:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDOSPRN y XP WINDOWS
Replies: 21
Views: 4701

Re: TdosPrn para USB

... #define PF_BUFLEN 2048 //----------------------------------------------------------------------------// CLASS TDosPrn DATA LastError DATA cPort, cCompress, cNormal, cFormFeed, cBuffer // AS STRING DATA hDC, nRow, nCol, nLeftMargin, nTopMargin // AS NUMBER DATA lAnsiToOem // AS LOGICAL ...
by praul
Sun Dec 19, 2010 3:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TdosPrn para USB
Replies: 5
Views: 1258
Next

Return to advanced search