목차 1. 매뉴얼안내 지원 OS 및인터페이스 운영체제 지원장치및인터페이스 개발환경 환경설정 Android 장치연결 Bluetooth Ne

Size: px
Start display at page:

Download "목차 1. 매뉴얼안내 지원 OS 및인터페이스 운영체제 지원장치및인터페이스 개발환경 환경설정 Android 장치연결 Bluetooth Ne"

Transcription

1 API 레퍼런스가이드 BXL SDK for UPOS Compliant Android Rev SPP-R210 SPP- R220 / R200II / R200III SPP-R300 / R310 SPP-R400 / R410 / R418 SRP-275III SRP-330II / 332II SRP-340II / 342II SRP-350III / 352III / 350plusIII / 352plusIII SRP-380 / 382 SRP-F310II / F312II / F313II SRP-S300 SRP-Q300 / Q302 SRP-QE300 / QE302 SRP-E300 / E302 STP-103III

2 목차 1. 매뉴얼안내 지원 OS 및인터페이스 운영체제 지원장치및인터페이스 개발환경 환경설정 Android 장치연결 Bluetooth Network Wi-Fi Direct USB Android 장치개발자옵션설정 패키지콘텐츠 매뉴얼 라이브러리 샘플소스코드 상수값 (Defines) JposException Event StatusUpdate Event Error Event OutputComplete Event Data Event EscapeSequence Transaction Print Alignment 바코드타입 바코드텍스트위치 장치모델명 페이지모드인쇄방향 MSR 암호화 SCR 모드 Character Set 각클래스별기능정리 BXLConfigLoader Class openfile() newfile() getentries() adden() removeen() savefile() POSPrinter Class open() claim() setdeviceenabled() release() close() checkhealth() setasyncmode() Rev

3 6-2-8 setcharacterset() setcharacterencoding() cutpaper() printbarcode() printbitmap() printbitmap() printnormal() printpdf() printpdf() setpagemodeprintarea() setpagemodeprintdirection() pagemodeprint() setpagemodehorizontalposition() setpagemodeverticalposition() transactionprint() displaystring() cleanscreen() storeimagefile() displayimage() clearimage() MSR Class open() claim() setdeviceenabled() release() close() setautodisable() setdataeventenabled() setdataencryptionalgorithm() gettrack1data() gettrack2data() gettrack1data() SmartCardRW Class open() claim() setdeviceenabled() release() close() setscslot() setisoemvmode() readdata() CashDrawer Class open() claim() setdeviceenabled() release() close() opendrawer() getdraweropened() 사용예제 텍스트인쇄 이미지인쇄 PDF 파일인쇄 Page mode 인쇄 Rev

4 1. 매뉴얼안내 이 SDK 매뉴얼에는 Android 용응용프로그램개발에필요한 Library 에대한내용이기술되어있습니다. SDK 의사용방법, 사양, 제약에대해설명합니다. 2. 지원 OS 및인터페이스 2-1 운영체제 이소프트웨어는아래운영체제를지원합니다. Android 4.0 (Ice Cream Sandwich) 이상 2-2 지원장치및인터페이스 Models SPP-R200II SPP-R200III SPP-R210 SPP-R220 SPP-R300 SPP-R310 SPP-R400 SPP-R410 SPP-R418 SRP-350plusIII SRP-352plusIII SRP-350III SRP-352III SRP-F310II SRP-F312II SRP-F313II SRP-380 SRP-382 SRP-330II SRP-332II SRP-S300 SRP-340II SRP-342II STP-103III SRP-275III SRP-Q300 SRP-Q302 SRP-QE300 SRP-QE302 SRP-E300 SRP-E302 BLE: Bluetooth Low Energy Interface Bluetooth / WLAN / USB Bluetooth / WLAN / USB Bluetooth / WLAN / USB Bluetooth / BLE / WLAN / USB Bluetooth / WLAN / USB Bluetooth / WLAN / USB Bluetooth / WLAN / USB Bluetooth / BLE / WLAN / USB Bluetooth / BLE / WLAN / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Ethernet / USB Ethernet / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Ethernet / USB Ethernet / USB Bluetooth / WLAN / Ethernet / USB Ethernet / USB Ethernet / USB USB Ethernet / USB Bluetooth / WLAN / Ethernet / USB Bluetooth / WLAN / Ethernet / USB Ethernet / USB Ethernet / USB Ethernet / USB Ethernet / USB Rev

5 3. 개발환경 3-1 환경설정 Java Development Kit (JDK) 7 Eclipse Android SDK Tools 참고 : Android 장치연결 아래스크린샷은 Nexus 5 에서캡쳐한것입니다. 스크린샷과항목이름은 Android 운영체제또는장치에따라다를수있습니다 Bluetooth 1. Settings 를선택합니다. 2. 반드시 Bluetooth 가켜져있고, 프린터의전원이켜져있어야합니다. 3. 설정을위해 Bluetooth 를선택합니다. 4. Scan 을선택합니다. 연결하기위한프린터를검색하고페어링합니다. 5. PIN code 를입력합니다. 빅솔론의초기 PIN code 는 0000 입니다. Rev

6 3-2-2 Network 1. 프린터를네트워크 AP(Access Point) 에연결하고 IP 주소를할당하거나 DHCP 로설정합니다. 빅솔론의프린터는초기에 Ad-hoc 으로설정되어있기때문에, 당사 Net Configuration Tool 로최초한번은설정을해야됩니다. Net Configuration Tool 은 빅솔론의웹사이트에서다운로드가능합니다. ( 설정과관련된자세한사항은 Net Configuration Tool 매뉴얼참고 ) 2. Settings 를선택합니다. 3. Wi-Fi 가켜져있어야합니다. 4. 빅솔론의프린터가연결되어있는네트워크와동일한네트워크에연결합니다. 5. 안드로이드장치를프린터의 TCP/IP 포트에연결하기위해추가설정은필요하지않습니다. Rev

7 3-2-3 Wi-Fi Direct 1. 안드로이드장치는 OS 버전 4.0 이상부터 Wi-Fi Direct 로주변장치연결이가능합니다. 2. 안드로이드장치에 빅솔론의특정드라이버나프린터소프트웨어가설치되어있을필요는없습니다. 3. Settings 를선택합니다. 4. Wi-Fi 가켜져있어야합니다. 5. Wi-Fi Direct 를선택합니다. 6. 검색된프린터를선택해서연결합니다. Wi-Fi Direct 초기 PIN 번호는 입니다. Rev

8 3-2-4 USB 1. 안드로이드장치는 OS 버전 3.1 이상부터 USB 주변장치연결이가능합니다. 2. 안드로이드장치에 빅솔론의특정드라이버나프린터소프트웨어가설치되어있을필요는없습니다. 3. 필요한 USB 케이블은안드로이드장치에따라달라질수있습니다. 사용하려는안드로이드장치가 USB 연결을지원하는지확인후알맞은케이블을사용하시기바랍니다. 4. 빅솔론의프린터를처음연결하는경우, 안드로이드장치에따라서아래와같은메시지가나타날수있습니다. Rev

9 5. USB 주변장치를연결하기위해서는아래코드를 AndroidManifest.xml 과 Sample 로제공되는 BXLTest 내 res/xml/device_filter.xml 에입력해야합니다. [AndroidManifest.xml] <uses-feature android:name="android.hardware.usb.host" /> <intent-filter> <action /> </intent-filter> android:name="android.hardware.usb.action.usb_device_attached" <meta-data android:name="android.hardware.usb.action.usb_device_attached" /> Rev

10 [device_filter.xml] <?xml version="1.0" encoding="utf-8"?> <resources> <!-- SPP-R200II --> <usb-device product-id="40" vendor-id="5380" /> <!-- SPP-R200III --> <usb-device product-id="91" vendor-id="5380" /> <!-- SPP-R210 --> <usb-device product-id="81" vendor-id="5380" /> <!-- SPP-R220 --> <usb-device product-id="106" vendor-id="5380" /> <!-- SPP-R300 --> <usb-device product-id="33" vendor-id="5380" /> <!-- SPP-R310 --> <usb-device product-id="92" vendor-id="5380" /> <!-- SPP-R400 --> <usb-device product-id="41" vendor-id="5380" /> <!-- SPP-R410 --> <usb-device product-id="75" vendor-id="5380" /> <!-- SPP-R418 --> <usb-device product-id="93" vendor-id="5380" /> <!-- SRP-350plusIII --> <usb-device product-id="61" vendor-id="5380" /> <!-- SRP-352plusIII --> <usb-device product-id="62" vendor-id="5380" /> <!-- SRP-350III --> <usb-device product-id="43" vendor-id="5380" /> <!-- SRP-352III --> <usb-device product-id="60" vendor-id="5380" /> <!-- SRP-F310II --> <usb-device product-id="87" vendor-id="5380" /> <!-- SRP-F312II --> <usb-device product-id="88" vendor-id="5380" /> <!-- SRP-F313II --> <usb-device product-id="90" vendor-id="5380" /> Rev

11 <!-- SRP > <usb-device product-id="96" vendor-id="5380" /> <!-- SRP > <usb-device product-id="97" vendor-id="5380" /> <!-- SRP-330II --> <usb-device product-id="110" vendor-id="5380" /> <!-- SRP-332II--> <usb-device product-id="111" vendor-id="5380" /> <!-- SRP-S300--> <usb-device product-id="82" vendor-id="5380" /> <!-- SRP-340II --> <usb-device product-id="114" vendor-id="5380" /> <!-- SRP-342II --> <usb-device product-id="115" vendor-id="5380" /> <!-- STP-103III --> <usb-device product-id="83" vendor-id="5380" /> <!-- SRP-275III --> <usb-device product-id="89" vendor-id="5380" /> <!-- SRP-Q300 --> <usb-device product-id="86" vendor-id="5380" /> <!-- SRP-Q302 --> <usb-device product-id="89" vendor-id="5380" /> <!-- SRP-QE300 --> <usb-device product-id="153" vendor-id="5380" /> <!-- SRP-QE302 --> <usb-device product-id="154" vendor-id="5380" /> <!-- SRP-E300 --> <usb-device product-id="152" vendor-id="5380" /> <!-- SRP-E302 --> <usb-device product-id="156" vendor-id="5380" /> </resources> Rev

12 3-2-5 Android 장치개발자옵션설정 1. Settings를선택합니다. 2. Developer options를선택합니다. 3. USB debugging을활성화합니다. Rev

13 4. 패키지콘텐츠 4-1 매뉴얼 매뉴얼위치 / 이름 docs/manual_bxl SDK for Android_UPOS compliant API Reference Guide_english_Rev_x_xx docs/manual_bxl SDK for Android_UPOS compliant API Reference Guide_japan_Rev_x_xx docs/manual_bxl SDK for Android_UPOS compliant API Reference Guide_korean_Rev_x_xx docs/manual_bxl SDK for Android_UPOS compliant API Reference Guide_chinese_Rev_x_xx 설명영문매뉴얼일본어매뉴얼한글매뉴얼중국어매뉴얼 4-2 라이브러리 라이브러리위치 / 이름 libs/bixolon_printer_vxxx.jar libs/jpos11x-controls.jar libs/xerces.jar libs/icu4j-58_1.jar libs/pdf/bixolon_pdf.jar libs/pdf/cpu type/libbxlpdf.so libs/image/opencv jar libs/image/cpu type/libopencv_java.so 설명 JavaPOS 서비스컴포넌트계층의구현. 프린터설정라이브러리 JavaPOS 장치컨트롤과서비스인터페이스 apache.org XML 서비스구현 (JavaPOS device control에서필요 ) 아랍어 / 페르시아어문자를인쇄하기위해사용되는라이브러리 PDF 인쇄를위한라이브러리 PDF 인쇄를위한 native 라이브러리 Image 인쇄를위한라이브러리 Image 인쇄를위한 native 라이브러리 Rev

14 4-3 샘플소스코드 샘플위치 / 이름 samples/bitmaptest samples/bxlcustomerdisplay samples/bxltest samples/eventtest samples/farsitest samples/pdftest samples/textdatatest 설명비트맵인쇄샘플애플리케이션 BCD-3000 텍스트, 이미지출력샘플애플리케이션 (SRP-Q300/Q302 Display port에연결된장치에한함 ) 프린터설정, 프린터연결, 텍스트, 바코드, 비트맵인쇄, 페이지모드설정샘플애플리케이션 Status/Error/OutputComplete Event 샘플애플리케이션아랍어및페르시아어인쇄샘플애플리케이션 PDF 인쇄샘플애플리케이션텍스트인쇄옵션설정샘플애플리케이션 Rev

15 5 상수값 (Defines) 5-1 JposException Method 에서특정기능수행중에러발생시 JposException 예외를발생시킵니다. 예외발생시 printstacktrace 함수를통해에러내용을확인할수있습니다. import jpos.jposconst; // Error Rev

16 5-2 Event 각 Event 는 JposConst, POSPrinterConst 클래스에정의되어있습니다 StatusUpdate Event 프린터상태가변경될때마다 StatusUpdate 이벤트가발생합니다. 상수명 값 설명 JPOS_SUE_POWER_ONLINE 2001 Printer Power on JPOS_SUE_POWER_OFF_OFFLINE 2004 Printer Power off PTR_SUE_COVER_OPEN 11 Cover Open PTR_SUE_COVER_OK 12 Cover OK PTR_SUE_REC_EMPTY 24 Receipt Paper Empty PTR_SUE_REC_NEAREMPTY 25 Receipt Paper Near Empty PTR_SUE_REC_PAPEROK 26 Receipt Paper OK PTR_SUE_IDLE 1001 Printer Idle PTR_SUE_OFF_LINE 53 Printer off-line PTR_SUE_ON_LINE 54 Printer on-line PTR_SUE_BAT_OK 55 Printer battery normal PTR_SUE_BAT_LOW 56 Printer battery low Error Event 상수명 값 설명 JPOS_EPTR_COVER_OPEN 201 Cover Open JPOS_EPTR_REC_EMPTY 203 Paper Empty JPOS_EPTR_OFF_LINE 217 Printer off-line OutputComplete Event 인쇄완료이벤트를발생시킵니다. 단, Async 모드로사용해야합니다 Data Event Direct I/O 의응답및 MSR Track 정보등의데이터를수신합니다. SDK for Android UPOS Rev

17 [Event Example] POSPrinter posprinter = new POSPrinter(this); MSR msr = new MSR(); posprinter.adderrorlistener(this); posprinter.addstatusupdatelistener(this); posprinter.addoutputcompletelistener(this); msr.adddatalistener(this); posprinter.setasyncmode(true); // public void outputcompleteoccurred(final OutputCompleteEvent e) runonuithread(new public void run() Toast.makeText(MainActivity.this, "complete print", Toast.LENGTH_SHORT).show(); public void dataoccurred(dataevent arg0) // TODO Auto-generated method stub runonuithread(new public void run() String strdata = new String(msr.getTrack1Data()); strdata += new String(msr.getTrack2Data()); strdata += new String(msr.getTrack3Data()); Toast.makeText(MainActivity.this, strdata, Toast.LENGTH_SHORT).show(); Toast.makeText(MainActivity.this, e.getmessage(), Toast.LENGTH_SHORT).show(); ); Rev

18 @Override public void erroroccurred(final ErrorEvent arg0) // TODO Auto-generated method stub runonuithread(new public void run() switch (arg0.geterrorcodeextended()) case POSPrinterConst.JPOS_EPTR_COVER_OPEN: return "Cover open"; case POSPrinterConst.JPOS_EPTR_REC_EMPTY: return "Paper empty"; case JposConst.JPOS_SUE_POWER_OFF_OFFLINE: return "Power off"; default: return "Unknown"; public void statusupdateoccurred(final StatusUpdateEvent arg0) // TODO Auto-generated method stub runonuithread(new public void run() switch (arg0.getstatus()) case JposConst.JPOS_SUE_POWER_ONLINE: return "Power on"; case JposConst.JPOS_SUE_POWER_OFF_OFFLINE: return "Power off"; case POSPrinterConst.PTR_SUE_COVER_OPEN: return "Cover Open"; case POSPrinterConst.PTR_SUE_COVER_OK: return "Cover OK"; case POSPrinterConst.PTR_SUE_REC_EMPTY: return "Receipt Paper Empty"; case POSPrinterConst.PTR_SUE_REC_NEAREMPTY: return "Receipt Paper Near Empty"; case POSPrinterConst.PTR_SUE_REC_PAPEROK: return "Receipt Paper OK"; case POSPrinterConst.PTR_SUE_IDLE: return "Printer Idle"; case POSPrinterConst.PTR_SUE_BAT_LOW: return "Battery-Low"; case POSPrinterConst.PTR_SUE_BAT_OK: return "Battery-OK"; default: return "Unknown"; ); Rev

19 5-3 EscapeSequence 인쇄할텍스트에폰트, 굵기등의옵션을지정하기위한값입니다. 문자열형식이며인쇄데이터앞에추가하여사용합니다. SDK for Android UPOS 정의 String ESCAPE_CHARACTERS = new String(new byte[] 0x1b, 0x7c) ESCAPE_CHARACTERS + "N" ESCAPE_CHARACTERS + "am" ESCAPE_CHARACTERS + "bm" ESCAPE_CHARACTERS + "cm" ESCAPE_CHARACTERS + "la" ESCAPE_CHARACTERS + "ca" ESCAPE_CHARACTERS + "ra" ESCAPE_CHARACTERS + "bc" ESCAPE_CHARACTERS + "!bc" ESCAPE_CHARACTERS + "uc" ESCAPE_CHARACTERS + "!uc" ESCAPE_CHARACTERS + "rvc" ESCAPE_CHARACTERS + "!rvc" ESCAPE_CHARACTERS + "1C" ESCAPE_CHARACTERS + "2C" ESCAPE_CHARACTERS + "3C" ESCAPE_CHARACTERS + "4C" ESCAPE_CHARACTERS + "1hC" ESCAPE_CHARACTERS + "2hC" ESCAPE_CHARACTERS + "3hC" ESCAPE_CHARACTERS + "4hC" ESCAPE_CHARACTERS + "5hC" ESCAPE_CHARACTERS + "6hC" ESCAPE_CHARACTERS + "7hC" ESCAPE_CHARACTERS + "8hC" ESCAPE_CHARACTERS + "1vC" ESCAPE_CHARACTERS + "2vC" ESCAPE_CHARACTERS + "3vC" ESCAPE_CHARACTERS + "4vC" ESCAPE_CHARACTERS + "5vC" ESCAPE_CHARACTERS + "6vC" ESCAPE_CHARACTERS + "7vC" ESCAPE_CHARACTERS + "8vC" 설명 Escape Characters Normal Font A (12x24) Font B (9x17) Font C (9x24) Left justify Center Right justify Bold Disabled bold Underline Disabled underline Reverse video Disabled reverse video Single high and wide Double wide Double high Double high and wide Scale 1 time horizontally Scale 2 times horizontally Scale 3 times horizontally Scale 4 times horizontally Scale 5 times horizontally Scale 6 times horizontally Scale 7 times horizontally Scale 8 times horizontally Scale 1 time vertically Scale 2 times vertically Scale 3 times vertically Scale 4 times vertically Scale 5 times vertically Scale 6 times vertically Scale 7 times vertically Scale 8 times vertically Rev

20 POSPrinter posprinter = new POSPrinter(this); posprinter.open(logicaldevicename); posprinter.claim(0); posprinter.setdeviceenabled(true) String ESCAPE_CHARACTERS = new String(new byte[] 0x1b, 0x7c) // 진하게 String data = ESCAPE_SEQUENCE + "bc" + Bixolon\n posprinter.printnormal(posprinterconst.ptr_s_receipt, data); // 진하게해제 String data = ESCAPE_SEQUENCE + "!bc" + Bixolon\n posprinter.printnormal(posprinterconst.ptr_s_receipt, data); // Error 5-4 Transaction Print Transaction mode 설정시사용할수있는값에대한정의입니다. 상수명 값 설명 PTR_TP_TRANSACTION 11 Buffer를비어있는상태로초기화하고 Transaction Mode 를시작합니다 PTR_TP_NORMAL 12 Transaction mode 를종료하고, Buffer에쌓여있는 Data 를출력합니다. Rev

21 5-5 Alignment 정렬을지정할때필요한값에대한정의입니다. [For Barcode] 상수명 값 설명 PTR_BC_LEFT -1 좌측정렬 PTR_BC_CENTER -2 중앙정렬 PTR_BC_RIGHT -3 우측정렬 [For Image] 상수명 값 설명 PTR_BM_LEFT -1 좌측정렬 PTR_BM_CENTER -2 중앙정렬 PTR_BM_RIGHT -3 우측정렬 [For PDF] 상수명 값 설명 PTR_PDF_LEFT -1 좌측정렬 PTR_PDF_CENTER -2 중앙정렬 PTR_PDF_RIGHT -3 우측정렬 Rev

22 5-6 바코드타입 바코드출력시바코드지정에필요한값에대한정의입니다. 상수명 값 설명 PTR_BCS_UPCA 101 UPCA PTR_BCS_UPCE 102 UPCE PTR_BCS_JAN8 103 JAN8 PTR_BCS_EAN8 103 EAN8 PTR_BCS_JAN JAN13 PTR_BCS_EAN EAN13 PTR_BCS_TF 105 Standard(ordiscrete) 2 of 5 PTR_BCS_ITF 106 Interleaved 2 of 5 PTR_BCS_Codabar 107 Codabar PTR_BCS_Code Code39 PTR_BCS_Code Code93 PTR_BCS_Code SDK for Android UPOS Code 128 Code128 의 Special Character Special Charaters Ascii Represntation Code A A Code B B Code C C PTR_BCS_UPCA_S 111 UPC-A with supplemental barocde PTR_BCS_UPCE_S 112 UPC-E with supplemental barcode PTR_BCS_UPCD1 113 UPC-D1 PTR_BCS_UPCD2 114 UPC-D2 PTR_BCS_UPCD3 115 UPC-D3 PTR_BCS_UPCD4 116 UPC-D4 PTR_BCS_UPCD5 117 UPC-D5 PTR_BCS_EAN8_S 118 EAN8 with supplemental barocde PTR_BCS_EAN13_S 119 EAN13 with supplemental barocde PTR_BCS_EAN EAN128 PTR_BCS_OCRA 121 OCR A PTR_BCS_OCRB 122 OCR B PTR_BCS_Code128_Parsed 123 Code 128 with parsing PTR_BCS_GS1DATABAR 131 GS1 DataBar Omnidirectional PTR_BCS_GS1DATABAR_E 132 GS1 DataBar Stacked Omnidirectional PTR_BCS_GS1DATABAR_S 133 GS1 DataBar Expanded PTR_BCS_GS1DATABAR_E_S 134 GS1 DataBar Expanded Stacked PTR_BCS_PDF PDF 417 PTR_BCS_MAXICODE 202 MAXI Code PTR_BCS_DATAMATRIX 203 Data Matrix PTR_BCS_QRCODE 204 QR Code PTR_BCS_UQRCODE 205 Micro QR Code PTR_BCS_AZTEC 206 Aztec PTR_BCS_UPDF Micro PDF 417 Rev

23 5-7 바코드텍스트위치 텍스트출력을지원하는바코드일경우, 바코드텍스트의출력여부또는위치를지정합니다. 상수명 값 설명 PTR_BC_TEXT_NONE -11 Text 를출력하지않습니다. 바코드만출력합니다. PTR_BC_TEXT_ABOVE -12 Text 를바코드의상단에출력합니다. PTR_BC_TEXT_BELOW -13 Text 를바코드의하단에출력합니다. 5-8 장치모델명 상수명 PRODUCT_NAME_SPP_R210 PRODUCT_NAME_SPP_R220 PRODUCT_NAME_SPP_R200II PRODUCT_NAME_SPP_R200III PRODUCT_NAME_SPP_R300 PRODUCT_NAME_SPP_R310 PRODUCT_NAME_SPP_R400 PRODUCT_NAME_SPP_R410 PRODUCT_NAME_SPP_R418 PRODUCT_NAME_SRP_350III PRODUCT_NAME_SRP_352III PRODUCT_NAME_SRP_330II PRODUCT_NAME_SRP_332II PRODUCT_NAME_SRP_340II PRODUCT_NAME_SRP_342II PRODUCT_NAME_SRP_350PLUSIII PRODUCT_NAME_SRP_352PLUSIII PRODUCT_NAME_SRP_380 PRODUCT_NAME_SRP_382 PRODUCT_NAME_SRP_S300 PRODUCT_NAME_SRP_Q300 PRODUCT_NAME_SRP_Q302 PRODUCT_NAME_SRP_F310II PRODUCT_NAME_SRP_F312II PRODUCT_NAME_SRP_F313II PRODUCT_NAME_STP_103III PRODUCT_NAME_SRP_275III PRODUCT_NAME_SRP_QE300 PRODUCT_NAME_SRP_QE302 PRODUCT_NAME_SRP_E300 PRODUCT_NAME_SRP_E302 설명 SPP-R210 SPP-R220 SPP-R200II SPP-R200III SPP-R300 SPP-R310 SPP-R400 SPP-R410 SPP-R418 SRP-350III SRP-352III SRP-330II SRP-332II SRP-340II SRP-342II SRP-350PLUSIII SRP-352PLUSIII SRP-380 SRP-382 SRP-S300 SRP-Q300 SRP-Q302 SRP-F310II SRP-F312II SRP-F313II STP-103III SRP-275III SRP-QE300 SRP-QE302 SRP-E300 SRP-E302 Rev

24 5-9 페이지모드인쇄방향 상수명 값 설명 PTR_PD_LEFT_TO_RIGHT 1 왼쪽에서오른쪽으로인쇄 PTR_PD_BOTTOM_TO_TOP 2 아래에서위로인쇄 PTR_PD_RIGHT_TO_LEFT 3 오른쪽에서왼쪽으로인쇄 PTR_PD_TOP_TO_BOTTOM 4 위에서아래로인쇄 5-10 MSR 암호화 상수명 값 설명 MSR_DE_NONE 1 데이터암호화알고리즘사용안함 MSR_DE_3DEA_DUKPT 2 데이터암호화알고리즘사용 5-11 SCR 모드 상수명 값 설명 SC_CMODE_ISO 1 ISO 모드 SC_CMODE_EMV 2 EMV 모드 Rev

25 5-12 Character Set 상수명 값 설명 CS_437_USA_STANDARD_EUROPE 437 PC437 CS_737_GREEK 737 PC737 CS_775_BALTIC 775 PC775 CS_850_MULTILINGUAL 850 PC850 CS_852_LATIN2 852 PC852 CS_855_CYRILLIC 855 PC855 CS_857_TURKISH 857 PC857 CS_858_EURO 858 PC858 CS_860_PORTUGUESE 860 PC860 CS_862_HEBREW_DOS_CODE 862 PC862 CS_863_CANADIAN_FRENCH 863 PC863 CS_864_ARABIC 864 PC864 CS_865_NORDIC 865 PC865 CS_866_CYRILLIC2 866 PC866 CS_928_GREEK 928 PC928 CS_1250_CZECH 1250 WPC1250 CS_1251_CYRILLIC 1251 WPC1251 CS_1252_LATIN WPC1252 CS_1253_GREEK 1253 WPC1253 CS_1254_TURKISH 1254 WPC1254 CS_1255_HEBREW_NEW_CODE 1255 WPC1255 CS_1256_ARABIC 1256 WPC1256 CS_1257_BALTIC 1257 WPC1257 CS_1258_VIETNAM 1258 WPC1258 CS_FARSI 7065 FARSI CS_KATAKANA 7565 KATAKANA CS_KHMER_CAMBODIA 7572 KHMER CS_THAI THAI11 CS_THAI THAI14 CS_THAI THAI16 CS_THAI THAI18 CS_THAI THAI42 CS_KS KS5601 CS_BIG BIG5 CS_GB GB2312 CS_SHIFT_JIS 8374 SHIFT-JIS CS_TCVN_3_ TCVN-3(1) CS_TCVN_3_ TCVN-3(2) Rev

26 6. 각클래스별기능정리 6-1 BXLConfigLoader Class 연결하고자하는장치설정정보를저장하기위한 Class 입니다. 설정정보는 BXLConfigLoader Class 를통해장치정보를관리합니다. 설정정보에는장치이름, 제품명, 인터페이스등이있으며해당정보가정상적으로저장되어있지않으면장치에연결할수없습니다. Open 함수를호출하기전에이클래스를호출하여설정정보를저장해야합니다. 주의 BXLConfigLoader 를통해저장되지않은장치는연결할수없습니다 openfile() 기존저장된설정파일을 Open 합니다. void openfile() throws Exception import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; BXLConfigLoader bxlconfigloader = new BXLConfigLoader(this); bxlconfigloader.openfile(); catch(exception e) // Error newfile() 새로운설정저장파일을생성합니다. 보통 openfile 예외발생시수행합니다. void newfile() throws Exception import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; BXLConfigLoader bxlconfigloader = new BXLConfigLoader(this); bxlconfigloader.openfile(); catch(exception e) bxlconfigloader.newfile(); Rev

27 6-1-3 getentries() 저장된설정정보를얻어옵니다. List<JposEn> getentries() throws Exception [Return Values] 값 JposEn의 List 컨테이너 설명객체의리스트배열 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; for (Object en : bxlconfigloader.getentries()) JposEn jposen = (JposEn)en; String strlogicalname = jposen.getlogicalname(); catch(exception e) Rev

28 6-1-4 adden() 장치연결정보를추가합니다. void adden(string logicalname, int devicecategory, String productname, int devicebus, String address) throws IllegalArgumentException [Parameters] String logicalname : 장치의논리적이름 ( 별칭 ) 을입력합니다. int devicecategory : 장치의종류를선택합니다. 상수명 값 설명 DEVICE_CATEGORY_CASH_DRAWER 0 Cash Drawer DEVICE_CATEGORY_MSR 1 MSR DEVICE_CATEGORY_POS_PRINTER 2 POS Printer DEVICE_CATEGORY_SMART_CARD_RW 3 SCR String productname : 장치모델명 ( 5-8 장치모델명 참조 ) int devicebus : 인터페이스타입을선택합니다. 상수명 값 설명 DEVICE_BUS_BLUETOOTH 0 Bluetooth DEVICE_BUS_ETHERNET 1 Ethernet DEVICE_BUS_USB 2 USB DEVICE_BUS_WIFI 3 WiFi DEVICE_BUS_WIFI_DIRECT 4 WiFi-Driect DEVICE_BUS_BLUETOOTH_LE 5 Bluetooth Low Energy String address : 장치의 MAC 또는 IP Address를입력합니다. (BT : MAC Address, Netwrok : IP Address) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; BXLConfigLoader bxlconfigloader = new BXLConfigLoader(this); bxlconfigloader.adden( SPP-R200III, BXLConfigLoader.DEVICE_CATEGORY_POS_PRINTER, BXLConfigLoader.PRODUCT_NAME_SPP_R200III, BXLConfigLoader.DEVICE_BUS_BLUETOOTH, 74:F0:7D:E4:11:AF ); catch(exception e) Rev

29 6-1-5 removeen() 저장된설정정보를삭제합니다. boolean removeen(string logicalname) [Parameters] String logicalname : 장치의논리적이름 ( 별칭 ) 을입력합니다. [Return Values] 값설명 true 성공시리턴됩니다. false 실패시리턴됩니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; for (Object en : bxlconfigloader.getentries()) JposEn jposen = (JposEn)en; String strlogicalname = jposen.getlogicalname(); bxlconfigloader.removeen(strlogicalname); catch(exception e) Rev

30 6-1-6 savefile() adden, removeen 를통해변경된정보를저장합니다. void savefile() import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; for (Object en : bxlconfigloader.getentries()) JposEn jposen = (JposEn)en; String strlogicalname = jposen.getlogicalname(); bxlconfigloader.removeen(strlogicalname); bxlconfigloader.adden( SPP-R200III, BXLConfigLoader.DEVICE_CATEGORY_POS_PRINTER, BXLConfigLoader.PRODUCT_NAME_SPP_R200III, BXLConfigLoader.DEVICE_BUS_BLUETOOTH, 74:F0:7D:E4:11:AF ); bxlconfigloader.savefile(); catch(exception e) 주의 adden 함수를통해추가된장치는반드시 savefile 함수를통해저장해야합니다. Rev

31 6-2 POSPrinter Class POS Printer 제어를위한 Class 입니다. 해당 Class 를사용하여프린터연결및해제와인쇄작업을수행합니다. 특정기능수행중에러발생시 JposException 을발생시킵니다. ( 5-1 JposException 참조 ) open() 프린터클래스사용을시작하며메모리할당등의초기화작업이포함되어있습니다. Claim 이상의 Method 호출을위해서반드시선행되어야합니다. BXLConfigLoader Class 를통해저장되지않은장치는 open 되지않습니다. void open(string logicaldevicename) throws JposException [Parameters] String logicaldevicename : Open 하려는장치의이름을입력합니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); Rev

32 6-2-2 claim() Device 정보에포함되어있는 Port 를실제로 Open 하기위해시도하며, 메모리할당초기화등의초기화작업이일부포함되어있습니다. Device 사용을활성화하기위해서반드시선행되어야합니다. void claim(int timeout) throws JposException [Parameters] int timeout : 이파라미터에서지정한시간동인 Port open 을시도합니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(3000); Rev

33 6-2-3 setdeviceenabled() 장치사용여부를포함하고있습니다. DeviceEnabled 의값이비활성화되어있으면기능이용이불가능할수있습니다. void setdeviceenabled(boolean deviceenabled) throws JposException [Parameters] boolean deviceenabled : 장치활성화상태를입력합니다.. 값설명 true 활성화 false 비활성화 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); release() Claim 된 Device 의 Port 사용을물리적으로종료합니다. 메모리해제등의작업이수행될수있습니다 void release() throws JposException import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; posprinter.release(); Rev

34 6-2-5 close() Open 된 Device 의사용을종료합니다. 메모리해제등의작업이일부수행될수있습니다. void close() throws JposException import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; posprinter.close(); posprinter.setdeviceenabled(false); checkhealth() 장치가정상적으로동작하는상태인지확인합니다. Open / Claim / DeviceEnabled 가정상적으로수행된상태일때사용가능합니다. void checkhealth(int level) throws JposException [Parameters] int level : 고정값 JposConst.JPOS_CH_INTERNAL import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.checkhealth(jposconst.jpos_ch_internal); Rev

35 6-2-7 setasyncmode() 비동기모드사용여부를포함하고있습니다. 비동기모드가 true 일경우관련메소드가비동기모드로동작합니다. False 일경우관련메소드는동기모드로동작합니다. void setasyncmode(boolean asyncmode) throws JposException [Parameters] boolean asyncmode : 비동기모드사용여부를선택합니다. 값설명 true 비동기모드 false 동기모드 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setasyncmode(true); Rev

36 6-2-8 setcharacterset() 프린터의 Character set 을설정합니다. void setcharacterset(int characterset) throws JposException [Parameters] int characterset : 프린터에설정할 Character set 을선택합니다. ( 5-12 Character Set 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setcharacterset(bxlconst.cs_437_usa_standard_europe); Rev

37 6-2-9 setcharacterencoding() 프린터로전송할데이터의인코딩을설정합니다. void setcharacterencoding(int characterencoding) throws JposException [Parameters] int characterencoding : 데이터인코딩타입을선택합니다. 상수명 값 설명 CE_ASCII 0 ASCII(default) CE_UTF8 1 UTF-8 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setcharacterencoding(bxlconst.ce_ascii); Rev

38 cutpaper() Auto Cutter 가내장된모델의경우종이를절단합니다. void cutpaper(int percentage) throws JposException [Parameters] int percentage : Full cut/partial cut 을선택합니다. 커터가달린모델에한해동작합니다. 값설명 100 Full cut 90 Partial cut import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.cutpaper(100); Rev

39 printbarcode() 바코드를인쇄합니다. void printbarcode(int station, String data, int symbology, int height, int width, int alignment, int textposition) throws JposException [Parameters] int station : 고정값 PTR_S_RECEIPT String data : 바코드에포함할 Data, 바코드타입별허용되는 Data 가다를수있습니다. int symbology : Barcode 종류를선택합니다.( 5-6 바코드타입 참조 ) int height : Barcode 의높이를지정합니다. int width : Barcode 의너비를지정합니다. int alignment : 바코드정렬을선택합니다. ( 5-5 Alignment 참조 ) int textposition : 바코드와함께출력될 Text 의 Postion 을결정합니다. ( 5-7 바코드텍스트위치 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.printbarcode(posprinterconst.ptr_s_receipt, , POSPrinterConst.PTR_BCS_QRCODE, 8, 8, POSPrinterConst.PTR_BC_CENTER, POSPrinterConst.PTR_BC_TEXT_BELOW); Rev

40 printbitmap() 이미지를인쇄합니다.( 파일인쇄 ) void printbitmap(int station, String filename, int width, int alignment) throws JposException [Parameters] int station : 이미지인쇄옵션을설정합니다.( 총 4바이트로구성 ) Index 설명첫번째바이트고정값 : PTR_S_RECEIPT 두번째바이트밝기 : 0 ~ 100 세번째바이트압축알고리즘 (RLE) 사용여부 (0x01 : RLE) 네번째바이트 Reserved(0x00) String filename : 이미지파일의경로를지정합니다. int width : 이미지너비를지정합니다. int alignment : 이미지정렬을선택합니다. ( 5-5 Alignment 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); ByteBuffer buffer = ByteBuffer.allocate(4); buffer.put((byte) POSPrinterConst.PTR_S_RECEIPT); buffer.put((byte) 80); // brightness buffer.put((byte) 0x01); // compress buffer.put((byte) 0x00); posprinter.printbitmap(buffer.getint(0), imagepath, posprinter.getreclinewidth(), POSPrinterConst.PTR_BM_LEFT); Rev

41 printbitmap() 이미지를인쇄합니다.(Bitmap 데이터 ) void printbitmap(int station, Bitmap bitmap, int width, int alignment) throws JposException [Parameters] int station : 이미지인쇄옵션을설정합니다.( 총 4바이트로구성 ) Index 설명첫번째바이트고정값 : PTR_S_RECEIPT 두번째바이트밝기 : 0 ~ 100 세번째바이트압축알고리즘 (RLE) 사용여부 (0x01 : RLE) 네번째바이트 Reserved(0x00) Bitmap bitmap : 비트맵형식의이미지데이터를입력합니다. int width : 이미지너비를지정합니다. int alignment : 이미지정렬을선택합니다. ( 5-5 Alignment 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); ByteBuffer buffer = ByteBuffer.allocate(4); buffer.put((byte) POSPrinterConst.PTR_S_RECEIPT); buffer.put((byte) 80); // brightness buffer.put((byte) 0x01); // compress buffer.put((byte) 0x00); posprinter.printbitmap(buffer.getint(0), BitmapData, posprinter.getreclinewidth(), POSPrinterConst.PTR_BM_LEFT); Rev

42 printnormal() 텍스트를인쇄합니다. void printnormal(int station, String data) throws JposException [Parameters] int station : 고정값 PTR_S_RECEIPT String data : 출력할 Data 를지정합니다. 출력가능한문자와 escape sequences, carriage returns, line feeds Data 가허용됩니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.printnormal(posprinterconst.ptr_s_receipt, Print Data\n ); Rev

43 printpdf() PDF 파일을인쇄합니다. void printpdf(int station, String filename, int width, int alignment, int page, int brightness) throws JposException [Parameters] int station : 고정값 PTR_S_RECEIPT String filename : PDF 파일의경로를지정합니다. int width : PDF 너비를지정합니다. int alignment : 이미지정렬을선택합니다. ( 5-5 Alignment 참조 ) int page : 인쇄할 PDF 페이지번호를지정합니다. int brightness : 밝기값을지정합니다. (0 ~ 100) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.printpdf(posprinterconst.ptr_s_receipt, pdffilepath, posprinter.getreclinewidth(), POSPrinterConst.PTR_PDF_CENTER, 1, 80); Rev

44 printpdf() PDF 파일을인쇄합니다. void printpdf(int station, String filename, int width, int alignment, int startpage, int endpage, int brightness) throws JposException [Parameters] int station : 고정값 PTR_S_RECEIPT String filename : PDF 파일의경로를지정합니다. int width : PDF 너비를지정합니다. int alignment : 이미지정렬을선택합니다. ( 5-5 Alignment 참조 ) int startpage : 인쇄를시작할페이지번호를지정합니다. int endpage : 인쇄를끝낼페이지번호를지정합니다. int brightness : 밝기값을지정합니다. (0 ~ 100) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.printpdf(posprinterconst.ptr_s_receipt, pdffilepath, posprinter.getreclinewidth(), POSPrinterConst.PTR_PDF_CENTER, 1, 3, 80); Rev

45 setpagemodeprintarea() 페이지모드영역을지정합니다. void setpagemodeprintarea(string area) throws JposException [Parameters] String area : 인쇄영역을지정합니다. 영역의 x 좌표, 영역의 y 좌표, 영역의가로, 영역의세로 ex) 0, 0, 576, 1600 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setpagemodeprintarea( 0, 0, 576, 1600 ); Rev

46 setpagemodeprintdirection() 페이지모드인쇄방향을지정합니다. void setpagemodeprintdirection(int direction) throws JposException [Parameters] int direction : 인쇄방향을지정합니다.( 5-9 페이지모드인쇄방향 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setpagemodeprintarea( 0, 0, 576, 1600 ); posprinter.setpagemodeprintdirection(posprinterconst.ptr_pd_left_to_right); Rev

47 pagemodeprint() 프린터를페이지모드로설정합니다. void pagemodeprint(int control) throws JposException [Parameters] int control : 페이지모드를지정합니다. 상수명 값 설명 PTR_PM_PAGE_MODE 1 페이지모드활성화 PTR_PM_NORMAL 2 일반모드로변경되며페이지모드버퍼에저장된데이터가인쇄됩니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.setpagemodeprintarea( 0, 0, 576, 1600 ); posprinter.setpagemodeprintdirection(posprinterconst.ptr_pd_left_to_right); posprinter.setpagemodeprint(posprinterconst.ptr_pm_page_mode); Rev

48 setpagemodehorizontalposition() 인쇄시작위치 ( 가로 ) 를지정합니다. void setpagemodehorizontalposition(int position) throws JposException [Parameters] int position : 인쇄시작위치 ( 가로 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); ByteBuffer buffer = ByteBuffer.allocate(4); buffer.put((byte) POSPrinterConst.PTR_S_RECEIPT); buffer.put((byte) 80); // brightness buffer.put((byte) 0x01); // compress buffer.put((byte) 0x00); // 인쇄영역지정 posprinter.setpagemodeprintarea( 0, 0, 576, 1600 ); // 인쇄방향설정 posprinter.setpagemodeprintdirection(posprinterconst.ptr_pd_left_to_right); // 프린터페이지모드로변환 posprinter.setpagemodeprint(posprinterconst.ptr_pm_page_mode); // 가로 / 세로인쇄위치지정 posprinter.setpagemodehorizontalposition(0); posprinter.setpagemodeverticalposition(0); // 인쇄할데이터전송 ( 이미지 ) posprinter.printbitmap(buffer.getint(0), imagepath, 384, POSPrinterConst.PTR_BM_LEFT); // 가로 / 세로인쇄위치지정 posprinter.setpagemodehorizontalposition(100); posprinter.setpagemodeverticalposition(100); // 인쇄할데이터전송 ( 텍스트 ) posprinter.printnormar(posprinterconst.ptr_s_receipt, Print Data\n ); // 인쇄시작 posprinter.setpagemodeprint(posprinterconst.ptr_pm_page_normal); Rev

49 setpagemodeverticalposition() 인쇄시작위치 ( 세로 ) 를지정합니다. void setpagemodeverticalposition(int position) throws JposException [Parameters] int position : 인쇄시작위치 ( 세로 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); ByteBuffer buffer = ByteBuffer.allocate(4); buffer.put((byte) POSPrinterConst.PTR_S_RECEIPT); buffer.put((byte) 80); // brightness buffer.put((byte) 0x01); // compress buffer.put((byte) 0x00); // 인쇄영역지정 posprinter.setpagemodeprintarea( 0, 0, 576, 1600 ); // 인쇄방향설정 posprinter.setpagemodeprintdirection(posprinterconst.ptr_pd_left_to_right); // 프린터페이지모드로변환 posprinter.setpagemodeprint(posprinterconst.ptr_pm_page_mode); // 가로 / 세로인쇄위치지정 posprinter.setpagemodehorizontalposition(0); posprinter.setpagemodeverticalposition(0); // 인쇄할데이터전송 ( 이미지 ) posprinter.printbitmap(buffer.getint(0), imagepath, 384, POSPrinterConst.PTR_BM_LEFT); // 가로 / 세로인쇄위치지정 posprinter.setpagemodehorizontalposition(100); posprinter.setpagemodeverticalposition(100); // 인쇄할데이터전송 ( 텍스트 ) posprinter.printnormar(posprinterconst.ptr_s_receipt, Print Data\n ); // 인쇄시작 posprinter.setpagemodeprint(posprinterconst.ptr_pm_page_normal); Rev

50 transactionprint() Transaction Mode 를사용하여인쇄합니다. public void transactionprint(int station, int control) throws JposException [Parameters] int station : 고정값 PTR_S_RECEIPT int control : Transaction Mode( 5-4 Transaction Print 참조 ) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SPP-R200III ); posprinter.claim(0); posprinter.setdeviceenabled(true); // Transaction mode 시작 posprinter.transactionprint(posprinterconst.ptr_tp_transaction); // 인쇄할데이터전송 ( 이미지 ) posprinter.printbitmap(buffer.getint(0), imagepath, 384, POSPrinterConst.PTR_BM_LEFT); // 인쇄할데이터전송 ( 텍스트 ) posprinter.printnormar(posprinterconst.ptr_s_receipt, Print Data\n ); // Transaction mode 종료 ( 인쇄시작 ) posprinter.transactionprint(posprinterconst.ptr_tp_normal); Rev

51 displaystring() BCD-3000 에텍스트를출력합니다. 단, BCD-3000 은 SRP-Q300 DK port 에연결되어있어야합니다. public void displaystring(string data) throws JposException [Parameters] String data : BCD-3000 에출력할텍스트데이터 import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SRP-Q300 ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.displaystring( BIXOLON Customer Display 3000 ); Rev

52 cleanscreen() BCD-3000 화면을클리어합니다. 단, BCD-3000 은 SRP-Q300 DK port 에연결되어있어야합니다. public void cleanscreen() throws JposException import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SRP-Q300 ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.displaystring( BIXOLON Customer Display 3000 ); posprinter.cleanscreen(); Rev

53 storeimagefile() BCD-3000 이미지버퍼에이미지데이터를저장합니다. 단, BCD-3000 은 SRP-Q300 DK port 에연결되어있어야합니다. public void storeimagefile(string filename, int width, int height, int imagenumber) throws JposException [Parameters] String filename : 이미지파일의경로를지정합니다. int width : 이미지너비를지정합니다.(1 ~ 160) int height : 이미지높이를지정합니다.(1 ~ 32) int imagenumber : 저장할이미지데이터번호를지정합니다.(1 ~ 5) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SRP-Q300 ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.storeimagefile(imagepath, 160, 32, 1); Rev

54 displayimage() BCD-3000 이미지버퍼에저장된이미지를출력합니다. 단, BCD-3000 은 SRP-Q300 DK port 에연결되어있어야합니다. public void displayimage(int imagenumber, int xpos, int ypos) throws JposException [Parameters] int imagenumber : 출력할이미지데이터번호를지정합니다.(1 ~ 5) int xpos : 이미지를출력할 X 좌표를입력합니다.(0 ~ 159) int ypos : 이미지를출력할 Y 좌표를입력합니다.(0 ~ 31) 이미지가출력할영역을넘어갈경우이미지는 Display 되지않습니다. import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SRP-Q300 ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.storeimagefile(imagepath, 160, 32, 1); posprinter.displayimage(1, 0, 0); Rev

55 clearimage() BCD-3000 이미지버퍼에저장된이미지를삭제합니다. 단, BCD-3000 은 SRP-Q300 DK port 에연결되어있어야합니다. public void clearimage(boolean isall, int imagenumber) throws JposException [Parameters] boolean isall : 이미지버퍼클리어모드를선택합니다. 값설명 true 이미지버퍼의모든이미지를삭제합니다. 지정된번호의이미지만삭제합니다. imagenumber에삭제할 false 이미지번호를입력해야합니다. int imagenumber : 삭제할이미지데이터번호를지정합니다. (1 ~ 5) import com.bxl.config.editor.bxlconfigloader; import jpos.config.jposen; import jpos.posprinter; import jpos.posprinterconst; import com.bxl.bxlconst; POSPrinter posprinter = new POSPrinter(this); posprinter.open( SRP-Q300 ); posprinter.claim(0); posprinter.setdeviceenabled(true); posprinter.storeimagefile(imagepath, 160, 32, 1); posprinter.displayimage(1, 0, 0); posprinter.clearimage(false, 1); Rev

56 6-3 MSR Class 프린터의 MSR(Magnetic Stripe Reader) 제어를위한 Class 입니다. 해당 Class 를사용하여 MSR 로부터 Card Track 정보를얻어올수있습니다. 특정기능수행중에러발생시 JposException 을발생시킵니다. ( 5-1 JposException 참조 ) open() MSR 클래스사용을시작하며메모리할당등의초기화작업이포함되어있습니다. Claim 이상의 Method 호출을위해서반드시선행되어야합니다. BXLConfigLoader Class 를통해저장되지않은장치는 open 되지않습니다. void open(string logicaldevicename) throws JposException [Parameters] String logicaldevicename : Open 하려는장치이름 import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); Rev

57 6-3-2 claim() Device 정보에포함되어있는 Port 를실제로 Open 하기위해시도하며, 메모리할당초기화등의초기화작업이일부포함되어있습니다. Device 사용을활성화하기위해서반드시선행되어야합니다. void claim(int timeout) throws JposException [Parameters] int timeout : 이파라미터에서지정한시간동인 Port open 을시도합니다. import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); Rev

58 6-3-3 setdeviceenabled() 장치사용여부를포함하고있습니다. DeviceEnabled 의값이비활성화되어있으면기능이용이불가능할수있습니다. void setdeviceenabled(boolean deviceenabled) throws JposException [Parameters] boolean deviceenabled : 장치활성화상태를입력합니다.. 값설명 true 활성화 false 비활성화 import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); Rev

59 6-3-4 release() Claim 된 Device 의 Port 사용을물리적으로종료합니다. 메모리해제등의작업이수행될수있습니다 void release() throws JposException import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; msr.release(); close() Open 된 Device 의사용을종료합니다. 메모리해제등의작업이일부수행될수있습니다. void close() throws JposException import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; msr.close(); msr.setdeviceenabled(false); Rev

60 6-3-6 setautodisable() MSR 리딩후자동으로 MSR 장치를비활성화합니다. AutoDisable 가 true 일경우 MSR 데이터수신후 DeviceEnabled 를 false 로변경합니다. void setautodisable(boolean autodisable) throws JposException [Parameters] boolean autodisable : Auto Disable 여부를지정합니다. 값설명 true 활성화 false 비활성화 import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); msr.setautodisable(true); // msr.setautodisable(false); Rev

61 6-3-7 setdataeventenabled() MSR 리딩후 Track 정보를 Data Event 를통해수신할지여부를지정합니다. void setdataeventenabled(boolean dataeventenabled) throws JposException [Parameters] boolean dataeventenabled : Data Event 사용여부를지정합니다. 값설명 true Event 사용 ( Data Event 참조 ) false Event 미사용 import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); msr.adddatalistener(this); msr.setdataeventenabled(true); Rev

62 6-3-8 setdataencryptionalgorithm() MSR Track 데이터의암호화여부를지정합니다. void setdataencryptionalgorithm(int encryptalgorithm) throws JposException [Parameters] int encryptalgorithm : Track 암호화사용여부를지정합니다.( 5-10 MSR 암호화 참조 ) import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); msr. setdataencryptionalgorithm(msrconst.msr_de_none); Rev

63 6-3-9 gettrack1data() 가장최근에읽은 MSR Card 의 Track1 Data 를가져옵니다. byte[] gettrack1data() throws JposException [Return Values] MSR Card 의 Track1 Data import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); byte[] track1 = msr. gettrack1data(); Rev

64 gettrack2data() 가장최근에읽은 MSR Card 의 Track2 Data 를가져옵니다. byte[] gettrack2data() throws JposException [Return Values] MSR Card 의 Track2 Data import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); byte[] track2 = msr. gettrack2data(); Rev

65 gettrack1data() 가장최근에읽은 MSR Card 의 Track3 Data 를가져옵니다. byte[] gettrack3data() throws JposException [Return Values] MSR Card 의 Track3 Data import jpos.jposconst; import jpos.jposexception; import jpos.msr; import jpos.msrconst; import jpos.events.dataevent; import jpos.events.datalistener; MSR msr = new MSR(); msr.open( SPP-R200III ); msr.claim(3000); msr.setdeviceenabled(true); byte[] track3 = msr. gettrack3data(); Rev

66 6-4 SmartCardRW Class 프린터의 SCR(Smart Card Reader) 제어를위한 Class 입니다. 특정기능수행중에러발생시 JposException 을발생시킵니다. ( 5-1 JposException 참조 ) open() SmartCardRW 클래스사용을시작하며메모리할당등의초기화작업이포함되어있습니다. Claim 이상의 Method 호출을위해서반드시선행되어야합니다. BXLConfigLoader Class 를통해저장되지않은장치는 open 되지않습니다. void open(string logicaldevicename) throws JposException [Parameters] String logicaldevicename : Open 하려는장치이름 import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); Rev

67 6-4-2 claim() Device 정보에포함되어있는 Port 를실제로 Open 하기위해시도하며, 메모리할당초기화등의초기화작업이일부포함되어있습니다. Device 사용을활성화하기위해서반드시선행되어야합니다. void claim(int timeout) throws JposException [Parameters] int timeout : 이파라미터에서지정한시간동인 Port open 을시도합니다. import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); smartcardrw.claim(3000); Rev

68 6-4-3 setdeviceenabled() 장치사용여부를포함하고있습니다. DeviceEnabled 의값이비활성화되어있으면기능이용이불가능할수있습니다. void setdeviceenabled(boolean deviceenabled) throws JposException [Parameters] boolean deviceenabled : 장치활성화상태를입력합니다.. 값설명 true 활성화 false 비활성화 import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); smartcardrw.claim(3000); SmartCardRW.setDeviceEnabled(true); release() Claim 된 Device 의 Port 사용을물리적으로종료합니다. 메모리해제등의작업이수행될수있습니다 void release() throws JposException import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; smartcardrw.release(); Rev

69 6-4-5 close() Open 된 Device 의사용을종료합니다. 메모리해제등의작업이일부수행될수있습니다. void close() throws JposException import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; smartcardrw.close(); smartcardrw.setdeviceenabled(false); Rev

70 6-4-6 setscslot() 통신을위한 Card slot 을선택합니다. void setscslot() throws JposException [Parameters] int scslot : 카드슬롯을선택합니다. 값설명 0x1000 Smart Card 0x0100 SAM1 0x0010 SAM2 import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); smartcardrw.claim(3000); SmartCardRW.setDeviceEnabled(true); smartcardrw.setscslot(0x01 << (Integer.SIZE - 1)); // Smart Card smartcardrw.setscslot(0x01 << (Integer.SIZE - 2)); // SAM1 smartcardrw.setscslot(0x01 << (Integer.SIZE - 3)); // SAM2 Rev

71 6-4-7 setisoemvmode() ISO/EMV 모드를선택합니다. void setisoemvmode(int isoemvmode) throws JposException [Parameters] int isoemvmode : 모드를선택합니다.( 5-11 SCR 모드 참조 ) import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); smartcardrw.claim(3000); SmartCardRW.setDeviceEnabled(true); smartcardrw.setisoemvmode(smartcardrwconst.sc_cmode_emv); // EMV Mode smartcardrw.setisoemvmode(smartcardrwconst.sc_cmode_iso); // ISO Mode Rev

72 6-4-8 readdata() Smart Card chip 에데이터를 R/W 합니다. void readdata(int action, int[] count, String[] data) throws JposException [Parameters] int action : 고정값 SmartCardRWConst.SC_READ_DATA int[] count : 응답데이터사이즈 String[] data : R/W 버퍼 import jpos.jposconst; import jpos.jposexception; import jpos.smartcardrw; import jpos.smartcardrwconst; SmartCardRW smartcardrw = new SmartCardRW(); smartcardrw.open( SPP-R200III ); smartcardrw.claim(3000); SmartCardRW.setDeviceEnabled(true); String[] data = new String[] new String(new byte[] 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40) ; int[] count = new int[1]; smartcardrw. readdata(smartcardrwconst.sc_read_data, count, data); int rspsize = count[0]; byte[] rspdata = data[0].getbytes(); Rev

목차 1. 매뉴얼안내 지원 OS 및인터페이스 운영체제 지원장치및인터페이스 개발환경 환경설정 Android 장치연결 Bluetooth Ne

목차 1. 매뉴얼안내 지원 OS 및인터페이스 운영체제 지원장치및인터페이스 개발환경 환경설정 Android 장치연결 Bluetooth Ne API 레퍼런스가이드 BXL SDK for UPOS Compliant Android Rev. 2.05 SPP-R210 SPP- R220 / R200II / R200III SPP-R300 / R310 SPP-R400 / R410 / R418 SRP-275III SRP-330II / 332II SRP-340II / 342II SRP-350III / 352III

More information

목차 윈도우드라이버 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP/Server 2003 에서설치 Serial 또는 Parallel 포트의경우.

목차 윈도우드라이버 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP/Server 2003 에서설치 Serial 또는 Parallel 포트의경우. 소프트웨어매뉴얼 윈도우드라이버 Rev. 3.03 SLP-TX220 / TX223 SLP-TX420 / TX423 SLP-TX400 / TX403 SLP-DX220 / DX223 SLP-DX420 / DX423 SLP-DL410 / DL413 SLP-T400 / T403 SLP-T400R / T403R SLP-D220 / D223 SLP-D420 / D423

More information

제품소개 이매뉴얼은빅솔론프린터제품을 ios 환경에서사용할수있는유틸리티에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매뉴얼의

제품소개 이매뉴얼은빅솔론프린터제품을 ios 환경에서사용할수있는유틸리티에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매뉴얼의 소프트웨어매뉴얼 Easy Setup Utility ios Rev. 1.00 http://www.bixolon.com 제품소개 이매뉴얼은빅솔론프린터제품을 ios 환경에서사용할수있는유틸리티에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매뉴얼의내용은사전통보없이변경될수있습니다.

More information

네트워크연결매뉴얼 SRP-Q300/302 감열식프린터 Rev

네트워크연결매뉴얼 SRP-Q300/302 감열식프린터 Rev 네트워크연결매뉴얼 감열식프린터 Rev. 1.00 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 주의사항... 3 3. 연결방법... 4 3-1 Android Soft AP 모드... 7 3-2 ios Soft AP 모드... 8 3-3 Infrastructure 모드로변경하는방법... 9 4. 설정초기화... 11 Rev. 1.00-2

More information

UI TASK & KEY EVENT

UI TASK & KEY EVENT 2007. 2. 5 PLATFORM TEAM 정용학 차례 CONTAINER & WIDGET SPECIAL WIDGET 질의응답및토의 2 Container LCD에보여지는화면한개 1개이상의 Widget을가짐 3 Container 초기화과정 ui_init UMP_F_CONTAINERMGR_Initialize UMP_H_CONTAINERMGR_Initialize

More information

Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3

Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3 Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3 Example 3.1 Files 3.2 Source code 3.3 Exploit flow

More information

어댑터뷰

어댑터뷰 04 커스텀어댑터뷰 (Custom Adapter View) 커스텀어댑터뷰 (Custom Adapter View) 커스텀어댑터뷰 (Custom Adatper View) 란? u 어댑터뷰의항목하나는단순한문자열이나이미지뿐만아니라, 임의의뷰가될수 있음 이미지뷰 u 커스텀어댑터뷰설정절차 1 2 항목을위한 XML 레이아웃정의 어댑터정의 3 어댑터를생성하고어댑터뷰객체에연결

More information

<4D F736F F F696E74202D20B8B6C0CCC5A9B7CEC7C1B7CEBCBCBCAD202839C1D6C2F7207E203135C1D6C2F >

<4D F736F F F696E74202D20B8B6C0CCC5A9B7CEC7C1B7CEBCBCBCAD202839C1D6C2F7207E203135C1D6C2F > 10주차 문자 LCD 의인터페이스회로및구동함수 Next-Generation Networks Lab. 5. 16x2 CLCD 모듈 (HY-1602H-803) 그림 11-18 19 핀설명표 11-11 번호 분류 핀이름 레벨 (V) 기능 1 V SS or GND 0 GND 전원 2 V Power DD or V CC +5 CLCD 구동전원 3 V 0 - CLCD 명암조절

More information

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V Mobile Service > IAP > Android SDK IAP SDK TOAST SDK. IAP SDK. Android Studio IDE 2.3.3 Android SDK Version 2.3.3 (API Level 10). Name Reference Version License okhttp http://square.github.io/okhttp/ 1.5.4

More information

제8장 자바 GUI 프로그래밍 II

제8장 자바 GUI 프로그래밍 II 제8장 MVC Model 8.1 MVC 모델 (1/7) MVC (Model, View, Controller) 모델 스윙은 MVC 모델에기초를두고있다. MVC란 Xerox의연구소에서 Smalltalk 언어를바탕으로사용자인터페이스를개발하기위한방법 MVC는 3개의구성요소로구성 Model : 응용프로그램의자료를표현하기위한모델 View : 자료를시각적으로 (GUI 방식으로

More information

안드로이드기본 11 차시어댑터뷰 1 학습목표 어댑터뷰가무엇인지알수있다. 리스트뷰와스피너를사용하여데이터를출력할수있다. 2 확인해볼까? 3 어댑터뷰 1) 학습하기 어댑터뷰 - 1 -

안드로이드기본 11 차시어댑터뷰 1 학습목표 어댑터뷰가무엇인지알수있다. 리스트뷰와스피너를사용하여데이터를출력할수있다. 2 확인해볼까? 3 어댑터뷰 1) 학습하기 어댑터뷰 - 1 - 11 차시어댑터뷰 1 학습목표 어댑터뷰가무엇인지알수있다. 리스트뷰와스피너를사용하여데이터를출력할수있다. 2 확인해볼까? 3 어댑터뷰 1) 학습하기 어댑터뷰 - 1 - ArrayAdapter ArrayAdapter adapter = new ArrayAdapter(this, android.r.layout.simple_list_item_1,

More information

( )부록

( )부록 A ppendix 1 2010 5 21 SDK 2.2. 2.1 SDK. DevGuide SDK. 2.2 Frozen Yoghurt Froyo. Donut, Cupcake, Eclair 1. Froyo (Ginger Bread) 2010. Froyo Eclair 0.1.. 2.2. UI,... 2.2. PC 850 CPU Froyo......... 2. 2.1.

More information

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다.

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다. Eclipse 개발환경에서 WindowBuilder 를이용한 Java 프로그램개발 이예는 Java 프로그램의기초를이해하고있는사람을대상으로 Embedded Microcomputer 를이용한제어시스템을 PC 에서 Serial 통신으로제어 (Graphical User Interface (GUI) 환경에서 ) 하는프로그램개발예를설명한다. WindowBuilder:

More information

슬라이드 1

슬라이드 1 사용 전에 사용자 주의 사항을 반드시 읽고 정확하게 지켜주시기 바랍니다. 사용설명서의 구성품 형상과 색상은 실제와 다를 수 있습니다. 사용설명서의 내용은 제품의 소프트웨어 버전이나 통신 사업자의 사정에 따라 다를 수 있습니다. 본 사용설명서는 저작권법에 의해 보호를 받고 있습니다. 본 사용설명서는 주식회사 블루버드소프트에서 제작한 것으로 편집 오류, 정보 누락

More information

4S 1차년도 평가 발표자료

4S 1차년도 평가 발표자료 모바일 S/W 프로그래밍 안드로이드개발환경설치 2012.09.05. 오병우 모바일공학과 JDK (Java Development Kit) SE (Standard Edition) 설치순서 Eclipse ADT (Android Development Tool) Plug-in Android SDK (Software Development Kit) SDK Components

More information

PowerPoint Presentation

PowerPoint Presentation 객체지향프로그래밍 클래스, 객체, 메소드 ( 실습 ) 손시운 ssw5176@kangwon.ac.kr 예제 1. 필드만있는클래스 텔레비젼 2 예제 1. 필드만있는클래스 3 예제 2. 여러개의객체생성하기 4 5 예제 3. 메소드가추가된클래스 public class Television { int channel; // 채널번호 int volume; // 볼륨 boolean

More information

02 C h a p t e r Java

02 C h a p t e r Java 02 C h a p t e r Java Bioinformatics in J a va,, 2 1,,,, C++, Python, (Java),,, (http://wwwbiojavaorg),, 13, 3D GUI,,, (Java programming language) (Sun Microsystems) 1995 1990 (green project) TV 22 CHAPTER

More information

JUNIT 실습및발표

JUNIT 실습및발표 JUNIT 실습및발표 JUNIT 접속 www.junit.org DownLoad JUnit JavaDoc API Document 를참조 JUNIT 4.8.1 다운로드 설치파일 (jar 파일 ) 을다운로드 CLASSPATH 를설정 환경변수에서설정 실행할클래스에서 import JUnit 설치하기 테스트실행주석 @Test Test 를실행할 method 앞에붙임 expected

More information

제11장 프로세스와 쓰레드

제11장 프로세스와 쓰레드 제9장자바쓰레드 9.1 Thread 기초 (1/5) 프로그램 명령어들의연속 (a sequence of instruction) 프로세스 / Thread 실행중인프로그램 (program in execution) 프로세스생성과실행을위한함수들 자바 Thread 2 9.1 Thread 기초 (2/5) 프로세스단위작업의문제점 프로세스생성시오버헤드 컨텍스트스위치오버헤드

More information

API 레퍼런스가이드 Web Driver Rev

API 레퍼런스가이드 Web Driver Rev API 레퍼런스가이드 Rev. 1.05 http://www.bixolon.co.kr 목차 1. 매뉴얼안내... 3 2. 개요... 3 2-1 특징... 3 2-2 용어... 3 2-3 지원 O/S & 웹브라우저... 3 2-3-1 Windows... 3 2-3-2 웹브라우저... 3 2-4 지원프린터모델... 4 2-4-1 Label 프린터... 4 2-4-2

More information

목차 1. 매뉴얼안내 Web Driver 개요 특징 용어 지원 O/S & 웹브라우저 Windows 웹브라우저 지원프린터모델 Labe

목차 1. 매뉴얼안내 Web Driver 개요 특징 용어 지원 O/S & 웹브라우저 Windows 웹브라우저 지원프린터모델 Labe API 레퍼런스가이드 Web Driver Rev. 1.02 http://www.bixolon.co.kr 목차 1. 매뉴얼안내... 3 2. Web Driver 개요... 3 2-1 특징... 3 2-2 용어... 3 2-3 지원 O/S & 웹브라우저... 3 2-3-1 Windows... 3 2-3-2 웹브라우저... 3 2-4 지원프린터모델... 4 2-4-1

More information

API 매뉴얼

API 매뉴얼 PCI-DIO12 API Programming (Rev 1.0) Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned

More information

ISP and CodeVisionAVR C Compiler.hwp

ISP and CodeVisionAVR C Compiler.hwp USBISP V3.0 & P-AVRISP V1.0 with CodeVisionAVR C Compiler http://www.avrmall.com/ November 12, 2007 Copyright (c) 2003-2008 All Rights Reserved. USBISP V3.0 & P-AVRISP V1.0 with CodeVisionAVR C Compiler

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field

More information

-. Data Field 의, 개수, data 등으로구성되며, 각 에따라구성이달라집니다. -. Data 모든 의 data는 2byte로구성됩니다. Data Type는 Integer, Float형에따라다르게처리됩니다. ( 부호가없는 data 0~65535 까지부호가있는

-. Data Field 의, 개수, data 등으로구성되며, 각 에따라구성이달라집니다. -. Data 모든 의 data는 2byte로구성됩니다. Data Type는 Integer, Float형에따라다르게처리됩니다. ( 부호가없는 data 0~65535 까지부호가있는 Dong Yang E&P 인버터 Modbus Monitoring Protocol 2018. 08. 27 Sun Spec (Modbus-RTU) -. Modbus Protocol 각 Field에대한설명 Frame갂의구별을위한최소한의시갂 BaudRate 9600에서 1bit 젂송시갂은 Start 0.104msec, (3.5 character Times, 1 Character

More information

목차 1. 매뉴얼안내 사용준비 Unified Label Printer Utility 사용방법 PCX File Downloader User Setting Manager File Transfer

목차 1. 매뉴얼안내 사용준비 Unified Label Printer Utility 사용방법 PCX File Downloader User Setting Manager File Transfer Unified Utility 매뉴얼 라벨프린터 Rev. 2.08 SRP-770 / 770II / 770IIE SLP-T400 / T400E SLP-T403 / T403E SLP-D420 / D420E SLP-D423 / D423E SLP-D220 / D220E SLP-D223 / D223E SLP-T400R / T403R http://www.bixolon.com

More information

소프트웨어매뉴얼 mprint Browser(Windows) Ver

소프트웨어매뉴얼 mprint Browser(Windows) Ver 소프트웨어매뉴얼 (Windows) Ver. 1.01 http://www.bixolon.co.kr 목차 1. 매뉴얼안내... 3 2. 개요... 3 2-1 특징... 3 2-2 용어... 3 2-3 지원 O/S & 웹브라우저... 3 2-3-1 Windows... 3 2-3-2 웹브라우저... 3 2-4 지원프린터모델... 4 2-4-1 Label 프린터...

More information

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Crash Unity SDK... Log & Crash Search. - Unity3D v4.0 ios

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 실습 1 배효철 th1g@nate.com 1 목차 조건문 반복문 System.out 구구단 모양만들기 Up & Down 2 조건문 조건문의종류 If, switch If 문 조건식결과따라중괄호 { 블록을실행할지여부결정할때사용 조건식 true 또는 false값을산출할수있는연산식 boolean 변수 조건식이 true이면블록실행하고 false 이면블록실행하지않음 3

More information

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Bluetooth 의경우

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Bluetooth 의경우 윈도우드라이버매뉴얼 SPP-R310 모바일프린터 Rev. 1.00 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우드라이버준비... 3 4. 윈도우드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 Serial 또는 Bluetooth 의경우...

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program

More information

1. GigE Camera Interface를 위한 최소 PC 사양 CPU : Intel Core 2 Duo, 2.4GHz이상 RAM : 2GB 이상 LANcard : Intel PRO/1000xT 이상 VGA : PCI x 16, VRAM DDR2 RAM 256MB

1. GigE Camera Interface를 위한 최소 PC 사양 CPU : Intel Core 2 Duo, 2.4GHz이상 RAM : 2GB 이상 LANcard : Intel PRO/1000xT 이상 VGA : PCI x 16, VRAM DDR2 RAM 256MB Revision 1.0 Date 11th Nov. 2013 Description Established. Page Page 1 of 9 1. GigE Camera Interface를 위한 최소 PC 사양 CPU : Intel Core 2 Duo, 2.4GHz이상 RAM : 2GB 이상 LANcard : Intel PRO/1000xT 이상 VGA : PCI x

More information

Microsoft PowerPoint - 11주차_Android_GoogleMap.ppt [호환 모드]

Microsoft PowerPoint - 11주차_Android_GoogleMap.ppt [호환 모드] Google Map View 구현 학습목표 교육목표 Google Map View 구현 Google Map 지원 Emulator 생성 Google Map API Key 위도 / 경도구하기 위도 / 경도에따른 Google Map View 구현 Zoom Controller 구현 Google Map View (1) () Google g Map View 기능 Google

More information

JAVA PROGRAMMING 실습 08.다형성

JAVA PROGRAMMING 실습 08.다형성 2015 학년도 2 학기 1. 추상메소드 선언은되어있으나코드구현되어있지않은메소드 abstract 키워드사용 메소드타입, 이름, 매개변수리스트만선언 public abstract String getname(); public abstract void setname(string s); 2. 추상클래스 abstract 키워드로선언한클래스 종류 추상메소드를포함하는클래스

More information

[ 그림 8-1] XML 을이용한옵션메뉴설정방법 <menu> <item 항목ID" android:title=" 항목제목 "/> </menu> public boolean oncreateoptionsmenu(menu menu) { getme

[ 그림 8-1] XML 을이용한옵션메뉴설정방법 <menu> <item 항목ID android:title= 항목제목 /> </menu> public boolean oncreateoptionsmenu(menu menu) { getme 8 차시메뉴와대화상자 1 학습목표 안드로이드에서메뉴를작성하고사용하는방법을배운다. 안드로이드에서대화상자를만들고사용하는방법을배운다. 2 확인해볼까? 3 메뉴 1) 학습하기 [ 그림 8-1] XML 을이용한옵션메뉴설정방법 public boolean

More information

LEICA C-LUX

LEICA C-LUX LEICA C-LUX Leica C-LUX...,...... : Leica C-LUX,,,. :,.,,...... EU 2 . AG ( 13)....,,. 60. ( )!,.,.... 3 ( ): (1546) : : : : : 02-2285-4421 ( ) Leica Camera AG ( ) R-CMI-LcK-1546 4 ,... AG......,,..,,,.

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 A 반 T2 - 김우빈 (201011321) 임국현 (201011358) 박대규 (201011329) Robot Vacuum Cleaner 1 Motor Sensor RVC Control Cleaner Robot Vaccum Cleaner 2 / Event Format/ Type Front Sensor RVC 앞의장애물의유무를감지한다. True / False,

More information

Microsoft Word - CL5000,5500_KOR_UM_20110321_.doc

Microsoft Word - CL5000,5500_KOR_UM_20110321_.doc 2 차 례 1. 주의 사항... 8 1.1 취급주의... 8 2. Specification... 10 2.1 소개... 10 2.2 규격... 12 3. 명칭과 기능... 14 3.1 CL 5000 - P Type... 14 3.2 기본 설치... 18 3.3 표시부... 19 3.4 기능키... 20 3.5 라벨롤의 설치... 24 4. PROGRAMMING...

More information

PowerPoint Presentation

PowerPoint Presentation Class - Property Jo, Heeseung 목차 section 1 클래스의일반구조 section 2 클래스선언 section 3 객체의생성 section 4 멤버변수 4-1 객체변수 4-2 클래스변수 4-3 종단 (final) 변수 4-4 멤버변수접근방법 section 5 멤버변수접근한정자 5-1 public 5-2 private 5-3 한정자없음

More information

SAMSUNG ELECTRO-MECHNICS OPOS Driver Manual

SAMSUNG ELECTRO-MECHNICS OPOS Driver Manual 윈도우드라이버매뉴얼 SRP-500 잉크젯프린터 Rev. 2.08 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우드라이버준비... 3 4. 윈도우드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 Serial, Parallel 의경우...

More information

chap 5: Trees

chap 5: Trees 5. Threaded Binary Tree 기본개념 n 개의노드를갖는이진트리에는 2n 개의링크가존재 2n 개의링크중에 n + 1 개의링크값은 null Null 링크를다른노드에대한포인터로대체 Threads Thread 의이용 ptr left_child = NULL 일경우, ptr left_child 를 ptr 의 inorder predecessor 를가리키도록변경

More information

SRC PLUS 제어기 MANUAL

SRC PLUS 제어기 MANUAL ,,,, DE FIN E I N T R E A L L O C E N D SU B E N D S U B M O TIO

More information

슬라이드 1

슬라이드 1 Pairwise Tool & Pairwise Test NuSRS 200511305 김성규 200511306 김성훈 200614164 김효석 200611124 유성배 200518036 곡진화 2 PICT Pairwise Tool - PICT Microsoft 의 Command-line 기반의 Free Software www.pairwise.org 에서다운로드후설치

More information

Microsoft PowerPoint - Zebra ZPL 한글판 명령어 메뉴얼.ppt

Microsoft PowerPoint - Zebra ZPL 한글판 명령어 메뉴얼.ppt Zebra Programming Language (ZPL) 제브라프로그래밍안내서 문자인쇄 예제 1 기준점 10 Cm 1Cm ZEBRA PRINTER 5 Cm 1Cm 진행방향 위와같이 10Cm X 5Cm( 가로세로 ) 크기의라벨이있고기준점으로부터 X.Y 축으로 1Cm 떨어진곳에 ZEBRA PRINTER 를인쇄하고자한다면, 보기 1 ^FO 80,80^AE 21,10^FD

More information

Mango220 Android How to compile and Transfer image to Target

Mango220 Android How to compile and Transfer image to Target Mango220 Android How to compile and Transfer image to Target http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys

More information

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일 Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 Introduce Me!!! Job Jeju National University Student Ubuntu Korean Jeju Community Owner E-Mail: ned3y2k@hanmail.net Blog: http://ned3y2k.wo.tc Facebook: http://www.facebook.com/gyeongdae

More information

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Bluetooth 의경우

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Bluetooth 의경우 윈도우드라이버매뉴얼 SPP-R200II 모바일프린터 Rev. 1.05 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우드라이버준비... 3 4. 윈도우드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 Serial 또는 Bluetooth

More information

(SW3704) Gingerbread Source Build & Working Guide

(SW3704) Gingerbread Source Build & Working Guide (Mango-M32F4) Test Guide http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 1 Document History

More information

JAVA 프로그래밍실습 실습 1) 실습목표 - 메소드개념이해하기 - 매개변수이해하기 - 새메소드만들기 - Math 클래스의기존메소드이용하기 ( ) 문제 - 직사각형모양의땅이있다. 이땅의둘레, 면적과대각

JAVA 프로그래밍실습 실습 1) 실습목표 - 메소드개념이해하기 - 매개변수이해하기 - 새메소드만들기 - Math 클래스의기존메소드이용하기 (   ) 문제 - 직사각형모양의땅이있다. 이땅의둘레, 면적과대각 JAVA 프로그래밍실습 실습 1) 실습목표 - 메소드개념이해하기 - 매개변수이해하기 - 새메소드만들기 - Math 클래스의기존메소드이용하기 ( http://java.sun.com/javase/6/docs/api ) 문제 - 직사각형모양의땅이있다. 이땅의둘레, 면적과대각선의길이를계산하는메소드들을작성하라. 직사각형의가로와세로의길이는주어진다. 대각선의길이는 Math클래스의적절한메소드를이용하여구하라.

More information

Secure Programming Lecture1 : Introduction

Secure Programming Lecture1 : Introduction Malware and Vulnerability Analysis Lecture3-2 Malware Analysis #3-2 Agenda 안드로이드악성코드분석 악성코드분석 안드로이드악성코드정적분석 APK 추출 #1 adb 명령 안드로이드에설치된패키지리스트추출 adb shell pm list packages v0nui-macbook-pro-2:lecture3 v0n$

More information

Microsoft PowerPoint - HS6000 Full HD Subtitle Generator Module Presentation

Microsoft PowerPoint - HS6000 Full HD Subtitle Generator Module Presentation HS6000 Full HD Subtitle Generator Module High-performance Network DVR Solution Preliminary Product Overview (Without notice, following described technical spec. can be changed) AddPac Technology 2010,

More information

1. 자바프로그램기초 및개발환경 2 장 & 3 장. 자바개발도구 충남대학교 컴퓨터공학과

1. 자바프로그램기초 및개발환경 2 장 & 3 장. 자바개발도구 충남대학교 컴퓨터공학과 1. 자바프로그램기초 및개발환경 2 장 & 3 장. 자바개발도구 충남대학교 컴퓨터공학과 학습내용 1. Java Development Kit(JDK) 2. Java API 3. 자바프로그래밍개발도구 (Eclipse) 4. 자바프로그래밍기초 2 자바를사용하려면무엇이필요한가? 자바프로그래밍개발도구 JDK (Java Development Kit) 다운로드위치 : http://www.oracle.com/technetwork/java/javas

More information

BY-FDP-4-70.hwp

BY-FDP-4-70.hwp RS-232, RS485 FND Display Module BY-FDP-4-70-XX (Rev 1.0) - 1 - 1. 개요. 본 Display Module은 RS-232, RS-485 겸용입니다. Power : DC24V, DC12V( 주문사양). Max Current : 0.6A 숫자크기 : 58mm(FND Size : 70x47mm 4 개) RS-232,

More information

PowerPoint Presentation

PowerPoint Presentation Package Class 3 Heeseung Jo 목차 section 1 패키지개요와패키지의사용 section 2 java.lang 패키지의개요 section 3 Object 클래스 section 4 포장 (Wrapper) 클래스 section 5 문자열의개요 section 6 String 클래스 section 7 StringBuffer 클래스 section

More information

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 -

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 - (Asynchronous Mode) - - - ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 - UART (Univ ers al As y nchronous Receiver / T rans mitter) 8250A 8250A { COM1(3F8H). - Line Control Register

More information

1

1 1 1....6 1.1...6 2. Java Architecture...7 2.1 2SDK(Software Development Kit)...8 2.2 JRE(Java Runtime Environment)...9 2.3 (Java Virtual Machine, JVM)...10 2.4 JVM...11 2.5 (runtime)jvm...12 2.5.1 2.5.2

More information

Microsoft PowerPoint - java1-lab5-ImageProcessorTestOOP.pptx

Microsoft PowerPoint - java1-lab5-ImageProcessorTestOOP.pptx 2018 학년도 1 학기 JAVA 프로그래밍 II 514760-1 2018 년봄학기 5/10/2018 박경신 Lab#1 (ImageTest) Lab#1 은영상파일 (Image) 을읽어서정보를출력 Java Tutorials Lesson: Working with Images https://docs.oracle.com/javase/tutorial/2d/images/index.html

More information

슬라이드 1

슬라이드 1 UNIT 16 예외처리 로봇 SW 교육원 3 기 최상훈 학습목표 2 예외처리구문 try-catch-finally 문을사용핛수있다. 프로그램오류 3 프로그램오류의종류 컴파일에러 (compile-time error) : 컴파일실행시발생 럮타임에러 (runtime error) : 프로그램실행시발생 에러 (error) 프로그램코드에의해서해결될수없는심각핚오류 ex)

More information

untitled

untitled CAN BUS RS232 Line Ethernet CAN H/W FIFO RS232 FIFO IP ARP CAN S/W FIFO TERMINAL Emulator COMMAND Interpreter ICMP TCP UDP PROTOCOL Converter TELNET DHCP C2E SW1 CAN RS232 RJ45 Power

More information

Microsoft Word - FS_ZigBee_Manual_V1.3.docx

Microsoft Word - FS_ZigBee_Manual_V1.3.docx FirmSYS Zigbee etworks Kit User Manual FS-ZK500 Rev. 2008/05 Page 1 of 26 Version 1.3 목 차 1. 제품구성... 3 2. 개요... 4 3. 네트워크 설명... 5 4. 호스트/노드 설명... 6 네트워크 구성... 6 5. 모바일 태그 설명... 8 6. 프로토콜 설명... 9 프로토콜 목록...

More information

IoT FND8 7-SEGMENT api

IoT FND8 7-SEGMENT api IoT FND8 7-SEGMENT api http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 1 Document History

More information

Network Programming

Network Programming Part 5 확장된 Network Programming 기술 1. Remote Procedure Call 2. Remote Method Invocation 3. Object Request Broker 2. Java RMI

More information

SBR-100S User Manual

SBR-100S User Manual ( 1 / 13 ) SBR-100S 모델에 대한 사용자 펌웨어 업그레이드 방법을 안내해 드립니다. SBR-100S 는 신규 펌웨어가 있을시 FOTA(자동업데이트) 기능을 통하여 자동 업그레이드가 되며, 필요시 사용자가 신규 펌웨어를 다운받아 수동으로 업그레이드 할 수 있습니다. 1. 준비하기 1.1 연결 장치 준비 펌웨어 업그레이드를 위해서는 SBR-100S

More information

API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum

API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 2012.11.23 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Document Distribution Copy Number Name(Role, Title) Date

More information

C# Programming Guide - Types

C# Programming Guide - Types C# Programming Guide - Types 최도경 lifeisforu@wemade.com 이문서는 MSDN 의 Types 를요약하고보충한것입니다. http://msdn.microsoft.com/enus/library/ms173104(v=vs.100).aspx Types, Variables, and Values C# 은 type 에민감한언어이다. 모든

More information

CPX-E-EC_BES_C_ _ k1

CPX-E-EC_BES_C_ _ k1 CPX-E CPX-E-EC EtherCAT 8071155 2017-07 [8075310] CPX-E-EC CPX-E-EC-KO EtherCAT, TwinCAT (). :, 2 Festo CPX-E-EC-KO 2017-07 CPX-E-EC 1... 4 1.1... 4 1.2... 4 1.3... 4 1.4... 5 1.5... 5 2... 6 2.1... 6

More information

Java ...

Java ... 컴퓨터언어 1 Java 제어문 조성일 조건문 : if, switch 어떠한조건을조사하여각기다른명령을실행 if 문, switch 문 if 문 if - else 문형식 if 문형식 if ( 조건식 ) { 명령문 1; 명령문 2;... if ( 조건식 ) { 명령문 1; 명령문 2;... else { 명령문 a; 명령문 b;... 예제 1 정수를입력받아짝수와홀수를판별하는프로그램을작성하시오.

More information

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Parallel 의경우

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Parallel 의경우 윈도우드라이버매뉴얼 SRP-350plus 감열식프린터 Rev. 2.07 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우드라이버준비... 3 4. 윈도우드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 Serial 또는 Parallel

More information

<BFC0B7A3C1F6C4B72DBBE7BFEBC0DABCB3B8EDBCAD5FC8AEC0E5BABB28343070C7D1B1DB295F32303133303631312E6169>

<BFC0B7A3C1F6C4B72DBBE7BFEBC0DABCB3B8EDBCAD5FC8AEC0E5BABB28343070C7D1B1DB295F32303133303631312E6169> SMART CAM 내 손안의 스마트 CCTV Orange Box 400/800 사용자 설명서 Part.01 시작에 앞서 일러두기 본 설명서를 분실하였을 경우 http://myorangecam.com 에서 설명서를 다운받아서 다시 보실 수 있습니다. (PDF 문서는 Adobe Reader 가 PC에 설치되 있어야 하며 http://kr.adobe.com 에서

More information

12-file.key

12-file.key 11 (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer String s = "910359,,

More information

Microsoft Word - src.doc

Microsoft Word - src.doc IPTV 서비스탐색및콘텐츠가이드 RI 시스템운용매뉴얼 목차 1. 서버설정방법... 5 1.1. 서비스탐색서버설정... 5 1.2. 컨텐츠가이드서버설정... 6 2. 서버운용방법... 7 2.1. 서비스탐색서버운용... 7 2.1.1. 서비스가이드서버실행... 7 2.1.2. 서비스가이드정보확인... 8 2.1.3. 서비스가이드정보추가... 9 2.1.4. 서비스가이드정보삭제...

More information

Remote UI Guide

Remote UI Guide Remote UI KOR Remote UI Remote UI PDF Adobe Reader/Adobe Acrobat Reader. Adobe Reader/Adobe Acrobat Reader Adobe Systems Incorporated.. Canon. Remote UI GIF Adobe Systems Incorporated Photoshop. ..........................................................

More information

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Parallel 경우

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우드라이버준비 윈도우드라이버설치 Windows XP / Server 2003 에서설치 Serial 또는 Parallel 경우 윈도우드라이버매뉴얼 STP-103III 감열식프린터 Rev. 1.00 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우드라이버준비... 3 4. 윈도우드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 Serial 또는 Parallel 경우...

More information

<4D F736F F F696E74202D203137C0E55FBFACBDC0B9AEC1A6BCD6B7E7BCC72E707074>

<4D F736F F F696E74202D203137C0E55FBFACBDC0B9AEC1A6BCD6B7E7BCC72E707074> SIMATIC S7 Siemens AG 2004. All rights reserved. Date: 22.03.2006 File: PRO1_17E.1 차례... 2 심벌리스트... 3 Ch3 Ex2: 프로젝트생성...... 4 Ch3 Ex3: S7 프로그램삽입... 5 Ch3 Ex4: 표준라이브러리에서블록복사... 6 Ch4 Ex1: 실제구성을 PG 로업로드하고이름변경......

More information

다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) <% RequestDispatcher dispatcher = request.getrequestdispatcher(" 실행할페이지.jsp");

다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) <% RequestDispatcher dispatcher = request.getrequestdispatcher( 실행할페이지.jsp); 다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) RequestDispatcher dispatcher = request.getrequestdispatcher(" 실행할페이지.jsp"); dispatcher.forward(request, response); - 위의예에서와같이 RequestDispatcher

More information

목차 1. 매뉴얼안내 지원 O/S & Platform 지원인터페이스 각모델별 X/Y 좌표의사용범위 Property CharacterSet (LONG R/W) State (LO

목차 1. 매뉴얼안내 지원 O/S & Platform 지원인터페이스 각모델별 X/Y 좌표의사용범위 Property CharacterSet (LONG R/W) State (LO API 레퍼런스가이드 Windows CE SDK Rev. 2.02 SLP-TX400 / TX400E SLP-TX403 / TX403E SLP-TX420 / TX420E SLP-TX423 / TX423E SLP-TX220 / TX220E SLP-TX223 / TX223E SLP-DX420 / DX420E SLP-DX423 / DX423E SLP-DX220 /

More information

제품소개 이매뉴얼에는윈도우즈 OS 를기준으로빅솔론프린터제품의네트워크설정방법에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매

제품소개 이매뉴얼에는윈도우즈 OS 를기준으로빅솔론프린터제품의네트워크설정방법에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매 소프트웨어매뉴얼 네트워크설정도구 Rev. 4.03 http://www.bixolon.com 제품소개 이매뉴얼에는윈도우즈 OS 를기준으로빅솔론프린터제품의네트워크설정방법에대해서기술되어있습니다. 제품을새로구입하신분들은사용전에이설명서에있는내용을주의깊게읽어보시기바랍니다. 저희 ( 주 ) 빅솔론은제품의기능과품질향상을위하여지속적인개선을하고있습니다. 이로인하여제품의사양과매뉴얼의내용은사전통보없이변경될수있습니다.

More information

Operating Instructions

Operating Instructions 작동지침 Mopria 설명서 안전하고올바른사용을위해기기를사용하기전에 " 안전정보 " 를읽으십시오. 목차 소개...2 기호의의미... 2 고지사항...2 준비...3 같은네트워크에서기기와 Android 기기연결하기...3 기기설정확인하기... 3 1. Mopria 인쇄사용하기 Mopria 인쇄서비스소개...5 Android 기기설정하기... 6 인쇄...7

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 System Software Experiment 1 Lecture 5 - Array Spring 2019 Hwansoo Han (hhan@skku.edu) Advanced Research on Compilers and Systems, ARCS LAB Sungkyunkwan University http://arcs.skku.edu/ 1 배열 (Array) 동일한타입의데이터가여러개저장되어있는저장장소

More information

시스코 무선랜 설치운영 매뉴얼(AP1200s_v1.1)

시스코 무선랜 설치운영 매뉴얼(AP1200s_v1.1) [ Version 1.3 ] Access Point,. Access Point IP 10.0.0.1, Subnet Mask 255.255.255.224, DHCP Client. DHCP Server IP IP,, IP 10.0.0.X. (Tip: Auto Sensing Straight, Cross-over.) step 1]. step 2] LAN. step

More information

Microsoft Word - Installation and User Manual_CMD V2.2_.doc

Microsoft Word - Installation and User Manual_CMD V2.2_.doc CARDMATIC CMD INSTALLATION MANUAL 씨앤에이씨스템(C&A SYSTEM Co., Ltd.) 본사 : 서울특별시 용산구 신계동 24-1(금양빌딩 2층) TEL. (02)718-2386( 代 ) FAX. (02) 701-2966 공장/연구소 : 경기도 고양시 일산동구 백석동 1141-2 유니테크빌 324호 TEL. (031)907-1386

More information

5장. JSP와 Servlet 프로그래밍을 위한 기본 문법(완성-0421).hwp

5장. JSP와 Servlet 프로그래밍을 위한 기본 문법(완성-0421).hwp 1 0 1.7 6 5 'A ' '/ u 4 4 2 2 ' " JS P 프로그래밍 " A ', 'b ', ' 한 ', 9, \ u d 6 5 4 ' c h a r a = 'A '; 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 < % @ p a g e c o n te n

More information

Microsoft PowerPoint 자바-기본문법(Ch2).pptx

Microsoft PowerPoint 자바-기본문법(Ch2).pptx 자바기본문법 1. 기본사항 2. 자료형 3. 변수와상수 4. 연산자 1 주석 (Comments) 이해를돕기위한설명문 종류 // /* */ /** */ 활용예 javadoc HelloApplication.java 2 주석 (Comments) /* File name: HelloApplication.java Created by: Jung Created on: March

More information

LCD Display

LCD Display LCD Display SyncMaster 460DRn, 460DR VCR DVD DTV HDMI DVI to HDMI LAN USB (MDC: Multiple Display Control) PC. PC RS-232C. PC (Serial port) (Serial port) RS-232C.. > > Multiple Display

More information

adfasdfasfdasfasfadf

adfasdfasfdasfasfadf C 4.5 Source code Pt.3 ISL / 강한솔 2019-04-10 Index Tree structure Build.h Tree.h St-thresh.h 2 Tree structure *Concpets : Node, Branch, Leaf, Subtree, Attribute, Attribute Value, Class Play, Don't Play.

More information

BMP 파일 처리

BMP 파일 처리 BMP 파일처리 김성영교수 금오공과대학교 컴퓨터공학과 학습내용 영상반전프로그램제작 2 Inverting images out = 255 - in 3 /* 이프로그램은 8bit gray-scale 영상을입력으로사용하여반전한후동일포맷의영상으로저장한다. */ #include #include #define WIDTHBYTES(bytes)

More information

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우즈드라이버준비 윈도우즈드라이버설치 Windows XP / Server 2003 에서설치 블루투스 (Bluetooth) 경우

목차 1. 매뉴얼안내 운영체제 (OS) 환경 윈도우즈드라이버준비 윈도우즈드라이버설치 Windows XP / Server 2003 에서설치 블루투스 (Bluetooth) 경우 윈도우즈드라이버매뉴얼 SRP-350IIOBE 감열식프린터 Rev. 1.00 http://www.bixolon.com 목차 1. 매뉴얼안내... 3 2. 운영체제 (OS) 환경... 3 3. 윈도우즈드라이버준비... 3 4. 윈도우즈드라이버설치... 4 4-1 Windows XP / Server 2003 에서설치... 4 4-1-1 블루투스 (Bluetooth)

More information

Microsoft PowerPoint - chap06-2pointer.ppt

Microsoft PowerPoint - chap06-2pointer.ppt 2010-1 학기프로그래밍입문 (1) chapter 06-2 참고자료 포인터 박종혁 Tel: 970-6702 Email: jhpark1@snut.ac.kr 한빛미디어 출처 : 뇌를자극하는 C프로그래밍, 한빛미디어 -1- 포인터의정의와사용 변수를선언하는것은메모리에기억공간을할당하는것이며할당된이후에는변수명으로그기억공간을사용한다. 할당된기억공간을사용하는방법에는변수명외에메모리의실제주소값을사용하는것이다.

More information

Install stm32cubemx and st-link utility

Install stm32cubemx and st-link utility STM32CubeMX and ST-LINK Utility for STM32 Development 본문서는 ST Microelectronics 의 ARM Cortex-M 시리즈 Microcontroller 개발을위해제공되는 STM32CubeMX 와 STM32 ST-LINK Utility 프로그램의설치과정을설명합니다. 본문서는 Microsoft Windows 7

More information

Contents 1 소개 설치 및 사용방법 21 다운로드 22 라이브러리 등록 23 Android Menifest 정의 간단한 31 플레이어 생성 32 이벤트 리스너 정의 33 Surface 할당 3

Contents 1 소개 설치 및 사용방법 21 다운로드 22 라이브러리 등록 23 Android Menifest 정의 간단한 31 플레이어 생성 32 이벤트 리스너 정의 33 Surface 할당 3 OvenPlayer SDK for Android Developer s Guide Release 20 AirenSoft 3 월 30, 2016 Contents 1 소개 11 12 13 14 15 1 1 1 2 2 2 2 설치 및 사용방법 21 다운로드 22 라이브러리 등록 23 Android Menifest 정의 3 3 3 4 3 간단한 31 플레이어 생성 32

More information

Interstage5 SOAP서비스 설정 가이드

Interstage5 SOAP서비스 설정 가이드 Interstage 5 Application Server ( Solaris ) SOAP Service Internet Sample Test SOAP Server Application SOAP Client Application CORBA/SOAP Server Gateway CORBA/SOAP Gateway Client INTERSTAGE SOAP Service

More information

PowerPoint Presentation

PowerPoint Presentation 객체지향프로그래밍 인터페이스, 람다식, 패키지 ( 실습 ) 손시운 ssw5176@kangwon.ac.kr 예제 1. 홈네트워킹 public interface RemoteControl { public void turnon(); // 가전제품을켠다. public void turnoff(); // 가전제품을끈다. 인터페이스를구현 public class Television

More information

PowerPoint Presentation

PowerPoint Presentation FORENSICINSIGHT SEMINAR SQLite Recovery zurum herosdfrc@google.co.kr Contents 1. SQLite! 2. SQLite 구조 3. 레코드의삭제 4. 삭제된영역추적 5. 레코드복원기법 forensicinsight.org Page 2 / 22 SQLite! - What is.. - and why? forensicinsight.org

More information

아이콘의 정의 본 사용자 설명서에서는 다음 아이콘을 사용합니다. 참고 참고는 발생할 수 있는 상황에 대처하는 방법을 알려 주거나 다른 기능과 함께 작동하는 방법에 대한 요령을 제공합니다. 상표 Brother 로고는 Brother Industries, Ltd.의 등록 상

아이콘의 정의 본 사용자 설명서에서는 다음 아이콘을 사용합니다. 참고 참고는 발생할 수 있는 상황에 대처하는 방법을 알려 주거나 다른 기능과 함께 작동하는 방법에 대한 요령을 제공합니다. 상표 Brother 로고는 Brother Industries, Ltd.의 등록 상 Android 용 Brother Image Viewer 설명서 버전 0 KOR 아이콘의 정의 본 사용자 설명서에서는 다음 아이콘을 사용합니다. 참고 참고는 발생할 수 있는 상황에 대처하는 방법을 알려 주거나 다른 기능과 함께 작동하는 방법에 대한 요령을 제공합니다. 상표 Brother 로고는 Brother Industries, Ltd.의 등록 상표입니다. Android는

More information

Microsoft PowerPoint SDK설치.HelloAndroid(1.5h).pptx

Microsoft PowerPoint SDK설치.HelloAndroid(1.5h).pptx To be an Android Expert 문양세강원대학교 IT 대학컴퓨터학부 개발환경구조및설치순서 JDK 설치 Eclipse 설치 안드로이드 SDK 설치 ADT(Androd Development Tools) 설치 AVD(Android Virtual Device) 생성 Hello Android! 2 Eclipse (IDE) JDK Android SDK with

More information

API 매뉴얼

API 매뉴얼 PCI-TC03 API Programming (Rev 1.0) Windows, Windows2000, Windows NT, Windows XP and Windows 7 are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations

More information

Mango-E-Toi Board Developer Manual

Mango-E-Toi Board Developer Manual Mango-E-Toi Board Developer Manual http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 1 Document

More information

B _00_Ko_p1-p51.indd

B _00_Ko_p1-p51.indd KOS-V000 B64-797-00/00 (MV) KOS-V000 설명서를 보는 방법 이 설명서에서는 삽입된 그림을 통해 작동 방법을 설명합니다. 이 설명서에 나타낸 화면과 패널은 작동 방법을 자세히 설명하는 데 이용되는 예입니다. 따라서 실제 화면이나 패널과 다르거나 일부 디 스플레이 패턴이 다를 수도 있습니다. 찾기 모드 방송국 선택 설정. TUNER

More information