#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    How to Open a drawer Cache


    How to Open a drawer Cache "birch" connected to the computer via USB without printer
  2. #2
  3. Contributing User
    ASP Adventurer (500 - 999 posts)

    Join Date
    Jun 2011
    Location
    South Jersey
    Posts
    544
    Rep Power
    59
    You need to look at the documentation that came with your drawer. There's usually a specific ascii string that opens the drawer. If you don' t have the orginal documentation, go to the website and see if you can download a manual. You need to be able to send that ascii string to the register, which to the best of my knowledge is not possible in access itself. (I havn't really researched this for access 2007 or 2010, so once again, if I'm wrong please correct me.) One possible way is to create a batch file, then you can run that batch file from access.
  4. #3
  5. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0
    FIRIDLLU.dll library Usage Help:
    1. When start use this library, you must call InitFRIUSBLibrary(), and when you no long need use this library, you should call
    CloseFRIUSBLibrary(), Usually, call InitFRIUSBLibrary() when your application start and call CloseFRIUSBLibrary() when your
    Application terminated.
    2. After this library is initialize, the next thing is to check if device exist, you can call GetDeviceNumber(), which will return the device
    number now exist on your system.
    3. Support Function
    A. OpenFRIDoor()
    return value : 0 : Command OK.
    2 : Command Fail.
    B. GetFRIDoorStatus()
    return value :
    0 : Door is open now
    1 : Door is close now
    2 : command fail.
    5. Because USB is plug&play device, user may dynamic add or remove device, so you should monitor device change during application running and update and maintain your device list.
    Our library support a callback function, when device is add or remove, you callback function will called with now device number pass in.
    The callback function should be below type:
    typedef void (CALLBACK* DeviceChangePROC )(int);
    use SetCDCallbackProc( DeviceChangePROC lpProc ) to set your callback function.
    Ex :
    // Callback function
    void CALLBACK OnDeviceChange( int nDeviceNumber )
    {
    // Do what you want to do when device changed ( because user add or remove device )
    }
    in your main code, use below code to set callback function:
    SetCallbackProc( (DeviceChangePROC)OnDeviceChange );
    4. Files needed for you to develop your own application to use our device locate on \Library forder. whic contain below files:
    FIRIDLLU.dll : Our Dynamic link library.
    FIRIDLLU.H, FIRIDLLU.LIB, FIRIDLLU.exp : Files needed when use VC to import our library.
    We provide 1 samples for your reference:
    A VC++ sample to demo the usage of our library, this demo application is writter use Visual C++ 6.0.
    Locate on \VCSample
  6. #4
  7. Moderator
    ASP Super Genius (4500 - 4999 posts)

    Join Date
    Apr 2009
    Location
    The Great Land
    Posts
    4,620
    Rep Power
    650
    I like to know if my suggestion helped you. One way to let me know is by clicking star at bottom left corner of post.
    Debug!Debug!Debug!http://www.cpearson.com/excel/debug.htm

Similar Threads

  1. Cash drawer on usb printer
    By harrydr in forum Programming Help
    Replies: 0
    Last Post: September 19th, 2011, 06:03 PM
  2. Cache in ASP.NET
    By asadsiddiqui in forum .NET Development
    Replies: 0
    Last Post: January 15th, 2007, 07:49 AM
  3. Opening cd-drawer remotely
    By JohnWesley in forum Visual Basic Programming
    Replies: 2
    Last Post: May 30th, 2006, 10:10 AM
  4. ASP No Cache
    By shamrog12 in forum Code Bank
    Replies: 0
    Last Post: August 16th, 2005, 09:59 AM
  5. cache
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: September 24th, 2001, 05:58 AM

IMN logo majestic logo threadwatch logo seochat tools logo