The text of a manual · part 1 of 37
JANUS PSK for Basic, Version 2.1 Reference Manual, pages 1 to 10
Pages 1 to 10 of 362
The original document is the PDF (601 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2020, Intermec J2010 and Intermec J2050
Page 1
Reference Manual P/N 063191-001
JANUS PSK for Basic, Version 2.1 ®
Page 2
Intermec Corporation 6001 36th Avenue West P.O. Box 4280 Everett, WA 98203-9280 U.S. technical and service support: 1-800-755-5505 U.S. media supplies ordering information: 1-800-227-9947 Canadian technical and service support: 1-800-688-7043 Canadian media supplies ordering information: 1-800-268-6936 Outside U.S. and Canada:
Contact your local Intermec service supplier.
The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and/or service Intermec manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec. Information and specifications in this manual are subject to change without notice. 1995 by Intermec Corporation All Rights Reserved The word Intermec, the Intermec logo, JANUS, IRL, Duratherm, Virtual Wedge, and CrossBar are trademarks of Intermec Corporation. Throughout this manual, trademarked names may be used. Rather than put a trademark () symbol in every occurrence of a trademarked name, we state that we are using the names only in an editorial fashion, and to the benefit of the trademark owner, with no intention of infringement.
Page 3
Contributors Author
Beryl Doane
Editor
Craig Thompson
Technical Illustrator
John Bickley
Technical Reviewers
Simon Chow Roy Chrisop Roy Law Jack Lin Yong-Qin Lu Clyde Wilson
Page 4
Manual Change Record This page records the changes to this manual. Version
Date
Description of Change
001
7/95
Original publication as part number 063191. This manual was previously the QuickBasic chapter in the JANUS Programmer’s Software Kit Reference Manual, P/N 062133. That book now covers only C/C++, and this book covers both QuickBasic and Visual Basic library functions for PSK v2.1.
Page 5
Contents
Contents Before You Begin xiii Warranty Information xiii Cautions xiii About This Manual xiv Other Intermec Manuals xvii
1
Getting Started What Your JANUS Reader Can Do 1-3 Virtual Wedge 1-4 Reader Services 1-5 Function Libraries 1-6 Software Interrupts 1-6 Installing the Programmer’s Software Kit 1-8
2
QuickBasic Library Building a Program Using Microsoft QuickBasic 2-3 Building the QuickBasic Sample Program 2-4 Building Your Own QuickBasic Program 2-6 Debugging With JANUS Application Simulator 2-7 Runtime Requirements 2-8 Protocol Handlers 2-8 Reader Wedge 2-9 Specific Functions With Runtime Requirements 2-10 Unsupported QuickBasic Functions 2-11 Certified QuickBasic Language Functions 2-12 v
Page 6
Contents
QuickBasic Functions 2-15 QuickBasic Functions Listed by Category 2-16 imApplBreakStatus 2-18 imBacklightOff 2-20 imBacklightOn 2-21 imBacklightToggle 2-22 imCancelRxBuffer 2-23 imCancelTxBuffer 2-26 imCommand 2-28 imCursorToViewport 2-30 imDecreaseContrast 2-31 imGetConfigInfo 2-33 imGetContrast 2-34 imGetControlKey 2-36 imGetDisplayMode 2-37 imGetDisplayType 2-39 imGetFollowCursor 2-40 imGetInputMode 2-41 imGetKeyclick 2-43 imGetLabelSymbology 2-44 imGetLength 2-45 imGetPostamble 2-46 imGetPreamble 2-47 imGetViewportLock 2-48 imGetWarmBoot 2-50 imIncreaseContrast 2-51 imInputStatus 2-53 imIrlA 2-55 imIrlK 2-60 imIrlN 2-64 imIrlV 2-69 imIrlY 2-73 imLinkComm 2-76 imMessage 2-78 imNumberPadOff 2-79 imNumberPadOn 2-80 vi
Page 7
Contents imPowerStatus 2-82 imProtocolExtendedStatus 2-84 imReceiveBuffer 2-87 imReceiveBufferNoprot 2-89 imReceiveBufferNoWait 2-92 imReceiveByte 2-95 imReceiveInput 2-97 imRsInstalled 2-100 imRxCheckStatus 2-101 imSerialProtocolControl 2-102 imSetContrast 2-105 imSetControlKey 2-107 imSetDisplayMode 2-108 imSetFollowCursor 2-113 imSetInputMode 2-114 imSetKeyclick 2-116 imSetViewportLock 2-117 imSetWarmBoot 2-118 imSound 2-119 imStandbyWait 2-121 imTransmitBuffer 2-122 imTransmitBufferNoWait 2-124 imTransmitBufferNoprot 2-126 imTransmitByte 2-128 imUnlinkComm 2-130 imViewportEnd 2-131 imViewportGetxy 2-132 imViewportHome 2-133 imViewportMove 2-134 imViewportPageDown 2-136 imViewportPageUp 2-137 imViewportSetxy 2-138 imViewportToCursor 2-140 vii
Page 8
Contents
3
Visual Basic Library Working With Visual Basic 3-3 Using Variable Addresses in Visual Basic 3-4 Setting Timeout Values 3-5 Handling Bar Code Scanner Input 3-5 Simulating Pressing a Key 3-5 Simulating Pressing the Tab Key 3-7 Providing Power Management Support 3-8 Building a Program Using Microsoft Visual Basic 3-10 Debugging With JANUS Application Simulator 3-13 Runtime Requirements 3-14 Protocol Handlers 3-14 Reader Wedge 3-15 Specific Functions With Runtime Requirements 3-16 Certified Basic Language Functions 3-17 Visual Basic Functions 3-18 Visual Basic Functions Listed by Category 3-19 imApplBreakStatus 3-21 imBacklightOff 3-23 imBacklightOn 3-24 imBacklightToggle 3-25 imCancelRxBuffer 3-26 imCancelTxBuffer 3-28 imCommand 3-30 imCursorToViewport 3-32 imDecreaseContrast 3-33 imGetConfigInfo 3-35 imGetContrast 3-37 imGetControlKey 3-39 imGetDisplayMode 3-41 imGetDisplayType 3-43 viii
Page 9
Contents imGetFollowCursor 3-44 imGetInputMode 3-45 imGetKeyclick 3-47 imGetLabelSymbology 3-48 imGetLength 3-49 imGetPostamble 3-50 imGetPreamble 3-51 imGetViewportLock 3-52 imGetWarmBoot 3-54 imIncreaseContrast 3-55 imInputStatus 3-57 imIrlA 3-59 imIrlK 3-64 imIrlN 3-68 imIrlV 3-73 imIrlY 3-77 imLinkComm 3-80 imMessage 3-82 imNumberPadOff 3-83 imNumberPadOn 3-84 imPowerStatus 3-86 imProtocolExtendedStatus 3-88 imReceiveBuffer 3-91 imReceiveBufferNoprot 3-94 imReceiveBufferNoWait 3-97 imReceiveByte 3-100 imReceiveInput 3-102 imRsInstalled 3-105 imRxCheckStatus 3-106 imSerialProtocolControl 3-107 imSetContrast 3-110 imSetControlKey 3-112 imSetDisplayMode 3-113 imSetFollowCursor 3-119 imSetInputMode 3-120 imSetKeyclick 3-122 ix
Page 10
Contents imSetViewportLock 3-123 imSetWarmBoot 3-124 imSound 3-125 imStandbyWait 3-127 imTransmitBuffer 3-128 imTransmitBufferNoWait 3-130 imTransmitBufferNoprot 3-132 imTransmitByte 3-134 imUnlinkComm 3-136 imViewportEnd 3-137 imViewportGetxy 3-138 imViewportHome 3-139 imViewportMove 3-140 imViewportPageDown 3-142 imViewportPageUp 3-143 imViewportSetxy 3-144 imViewportToCursor 3-146
A
Status Codes Status Code Bit Values A-3 Status Codes Listed Numerically A-4 Status Codes Listed by Subsystem A-22 Subsystem 0100 RS (Reader Services) A-23 Subsystem 0200 CM (Configuration Management) A-24 Subsystem 0300 SC (Scanner) A-27 Subsystem 0400 DC (Decodes) A-28 Subsystem 0500 RW (Reader Wedge) A-30 Subsystem 0600 CU (Communication) A-32 Subsystem 0800 PM (Power Management) A-34 Subsystem 0A00 TM (Timer) A-35 Subsystem 0B00 BP (Beep) A-36 Subsystem 0E00 IM (Intermec Library) A-37 Subsystem 0F00 LG (Event Logger) A-38 x