Inesoft PrintCE SDK EVC++
CPrintAscii::Connect Method

Connect to printer

C++ Syntax: long ret = object.Connect(
                       long
port,
                       LPCTSTR
port_param
);
eVB Syntax:
ret = object.Connect(port, port_param)

Parameters

port

port number, see defines into asciice.h or printce.bas

port_param

parameter string,

if port is ASCII_FILE then port_param defines file path,
if port is ASCII_NET then port_param defines network path,
for all other ports port_param must be set to NULL or empty string

Return Value

ret

1 - if connection established, 0 - in other case



© 2009 Inesoft. All rights reserved.