Software Development Kit Manual



Similar documents
Command Emulator STAR Line Mode Command Specifications

Manually Assigning an IP Address to a Star Ethernet Printer (Windows)

How to Set Up Your PC for Android Application Development

How to Set Up Your PC for Android Application Development

Installing a Star Ethernet Printer with a Static IP Address on Windows 7/Vista/XP Using StarPRNT

SM-S200 SM-S300 SM-T300 3" 80mm rugged Mobile Printer with LCD display & WiFi version

AT89C5131A Starter Kit... Software User Guide

Application Note. How to configure WiFi Power Pack on Android Device. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

Star USB Vendor Class Driver Installation Manual

User Manual. 3-Heights PDF Producer API. Version 4.6

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction

Engineering Change Order (ECO): 8012 Effective Date: November 14, 2002 Purpose

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AN3998 Application note

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

The Lowest Cost, High Quality POS Printer THE TSP100 SERIES

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

Application Power Management for Mobility

UniFinger Engine SDK Manual (sample) Version 3.0.0

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

Note: Zebra Printer status: It is recommended to use the PRINTER_INFO_3 structure to inquire for the printer status presented by the LM.

Printer Driver Installation Manual

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

406,PDJH6HUYHU IRU :,1,QVWDOODWLRQ*XLGH

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

ACTi SDK C Library Edition v1.2 SP1. API Reference Guide

CITIZEN OPOS DRIVER 1.8 Setup Guide. 10/03/29 Rev 1.09

APPLICATION PROGRAMMING INTERFACE

ADL User Guide for Open AT V4.10

Freescale Semiconductor, I

MeshBee Open Source ZigBee RF Module CookBook

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

Software Manual Virtual COM for USB Driver / Configuration Tool

APPLICATION NOTE. Getting Started with pylon and OpenCV

73S1215F, 73S1217F Device Firmware Upgrade Host Driver/Application Development User s Guide April 27, 2009 Rev UG_12xxF_029

8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter

Guidelines for Using an Ethernet Printer. - Mac OS X - Rev. 1.0

Status API Manual. Advanced Printer Driver for TM-T81 Ver.4. Overview. Using Status API. Reference for Win32. Reference for.net. Generating Log Files

Apple Certificate Library Functional Specification

Freescale MQX USB Device User Guide

Interfacing an HTML Form to the ez80f91 MCU

Software Installation Manual

Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C

TivaWare Utilities Library

CryptoAPI. Labs. Daniil Leksin

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector

Modular Real-Time Linux

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

EcgSoft. Software Developer s Guide to RestEcg. Innovative ECG Software info@ecg-soft.com

8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory

Unified Utility Manual Label Printer. Rev. 2.08

Operating Instructions Software (Device Monitor)

Software Manual. for Mac OS X. Supported Models. TSP100 Series TSP650 Series TSP650II Series TSP700II Series TSP800II Series TSP1000 Series. Rev. 5.

VitalJacket SDK v Technical Specifications

54191 DM54191 DM74191 Synchronous Up Down 4-Bit Binary Counter with Mode Control

Molecular Dynamics Simulations with Applications in Soft Matter Handout 7 Memory Diagram of a Struct

CANnes PC CAN Interface Manual

8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory

Lighting Control Systems

Adapter Catalog MOBILE METAL ANALYZER. SPECTRO isort and SPECTROTEST

EWF Management Software Windows driver software for Classembly Devices /Industrial Controller

A Secure and Direct Payment Solution. Introduction. A Secure and Direct Payment Solution. Introduction

Solving printing problems

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

Small Business. solutions

ReadySHARE Printer. Easy to Set Up: Instructions. 350 East Plumeria Drive San Jose, CA USA

SNMP OIDs. Content Inspection Director (CID) Recommended counters And thresholds to monitor. Version January, 2011

GIVE WINGS TO YOUR IDEAS TOOLS MANUAL

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

DM74157 Quad 2-Line to 1-Line Data Selectors/Multiplexers

VitalJacket SDK v Technical Specifications

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Windows CE 6.0 APEX ZF

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

How To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint)

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

BarTender s.net SDKs

SMTP-32 Library. Simple Mail Transfer Protocol Dynamic Link Library for Microsoft Windows. Version 5.2

Operating Instructions Software (Fax Driver)

ILM-DS Monitor Tool for XID 93xx Retransfer Printers. User Manual

Application Note AN0008. Data Logging Extension. For. Venus 8 GPS Receiver

Microsoft Win32 Internet Functions

TivaWare USB Library USER S GUIDE SW-TM4C-USBL-UG Copyright Texas Instruments Incorporated

KX-Series PBX TAPI Service Provider

Client-server Sockets

Atmel AVR4950: ASF - USB Host Stack. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

4D Plugin SDK v11. Another minor change, real values on 10 bytes is no longer supported.

PicoScope 5000 Series (A API)

Transcription:

Software Development Kit Manual Rev. 3.0

The company names and product names that appear in this manual are generally trademarks or registered trademarks of each company.

Index 1. Status Monitor API... 1 1. 1 GetStarPrinterStatus... 3 2. Release History... 4

Software Development Kit Manual 1. Status Monitor API Outoline The language monitor is offering API for the custom application. The state of the printer can be acquired by using these API. Flow of the printer status acquisition You have to change MEMORY SWITCH setting as follows; Serial I/F MSW7-C = 1 : ASB is Enabled. Parallel I/F MSW7-8 = 1 : NSB is Enabled. User application goes through STSMON.DLL and communicates with a spooler, get printer status. User application Printer ueue Printer ueue STSMON.DLL SPOOLER Status Status Port Driver (USB,LPT,COM,TCP/IP) Printer1 Printer2... The status information which is possible to get The printer status which you can get is as follows. - Parsed Status (analyzed status) Each flag becomes error status in the case of "TRUE". - Raw Status It is the status data which it is not analyzed 64 bytes into. Function Function Content of processing GetStarPrinterStatus Get printer status StarPrinterStatus Structure Satus Monitor API will store printer staus into StarPrinterStatus structure. StarPrinterStatus structure is followings. - 1 -

typedef struct StarPrinterStatus_2_ { // printer status 1 BOOL coveropen; BOOL offline; BOOL compulsionswitch; // printer status 2 BOOL overtemp; BOOL unrecoverableerror; BOOL cuttererror; BOOL mecherror; BOOL headthermistorerror; // printer status 3 BOOL receivebufferoverflow; BOOL pagemodecmderror; BOOL blackmarkerror; BOOL presenterpaperjamerror; BOOL headuperror; BOOL voltageerror; // printer status 4 BOOL receiptblackmarkdetection; BOOL receiptpaperempty; BOOL receiptpapernearemptyinner; BOOL receiptpapernearemptyouter; // printer status 5 BOOL presenterpaperpresent; BOOL peelerpaperpresent; BOOL stackerfull; BOOL sliptof; BOOL slipcof; BOOL slipbof; BOOL validationpaperpresent; BOOL slippaperpresent; // printer status 6 BOOL etbavailable; UCHAR etbcounter; // printer status 7 UCHAR presenterstate; // raw UINT32 rawlength; UCHAR raw[63]; } StarPrinterStatus_2; Software Development Kit Manual // Cover Status // ONLINE / OFFLINE Status // Compulsion SW // Stopped by high head temperature // Non-recoverable Error // Receive Buffer Overflow // BM Error // Paper End // Peeler Paper Present // ETB Available // ETB Counter // Raw data Length // Raw data - 2 -

Software Development Kit Manual 1. 1 GetStarPrinterStatus Get printer status BOOL GetStarPrinterStatus( LPCSTR queuename, StarPrinterStatus_2 * status ); // Printer queue Name // Point to StarPrinterStatus_2 structure Parameter queuename [in] Specify the pointer to the character string that ends with NULL where the printer queue name is maintained. The printer queue name is a printer name in "Printer and fax folder". status [out] This specifies the pointer to the StarPrinterStatus stru cture that stores the printer status. Return Values If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. Remarks Status information on the printer is stored in the buffer specified that the GetStarPrinterStatus function is executed by the status parameter. For getting the extended error information, GetLastError function in Windows standard library is used. The error codes which were returned by GetLastError function are indicated in the following contents. ERROR_NOT_READY Printer power OFF ERROR_BROKEN_PIPE The printer is in use ( printing etc ) Sample program Prepare sample program of Visual Studio Basic and Visual Studio C++. Sample program shows status condition using GetStarPrinterStatus function. For details about the Sample program, refer to the "Readme_en.txt". - 3 -

Software Development Kit Manual 2. Release History Rev. No. Date Contents Rev. 1.0 Feb. 2006 New release Rev. 3.0 Oct. 2009 Star Language Monitor upgrade is supported - 4 -

OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 1150 King Georges Post Road, Edison, NJ 08837-3729 U.S.A. Tel: (int+1)-732-623-5555, Fax: (int+1)-732-623-5590 ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 Japan Tel: (int+81)-54-347-0112, Fax: (int+81)-54-347-0709 Please access the following URL http://www.star-m.jp/eng/dl/dl02.htm for the latest revision of the manual. STAR MICRONICS EUROPE LTD. Star House, Peregrine Business Park, Gomm Road, High Wycombe, Bucks, HP13 7DL, U.K. Tel: (int+44)-1494-471111, Fax: (int+44)-1494-473333 STAR MICRONICS ASIA LTD. Rm. 1901-5, 19/F., Enterprise Square Two, 3 Sheung Yuet Road, Kowloon Bay, Hong Kong Tel: (int+852)-2796-2727, Fax: (int+852)-2799-9344 SDK Rev. 3.0 2009.10.30 Printed in Japan, 80878225