Smart questions
Smart answers
Smart people
Join Tek-Tips Forums

Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

tondi (TechnicalUser) (OP)
4 Mar 02 11:34
My FPD26 app sends CHR(7)+(CHR(7) to pop a cash drawer for some clients which works fine on all platforms except XP.
XP returns an error.  I have tried sending the string to Virtual LPT port then redirecting the LPT to COM which does work after a 1 minute delay.  Any clues or suggestions will be much appreciated.
tilltek (Programmer)
8 Mar 02 17:02
You'll need to switch spooling off and/or set spool msdos jobs to NO
tondi (TechnicalUser) (OP)
8 Mar 02 18:02
thanks but my real objective is to send code directly to com port with "device not ready" error.  I can do it from dos window prompt but cannot from within application.
Foxtech (Programmer)
9 Mar 02 9:06
Hi Tondi,

I am interest to see the code to allow to open the cash draw. Don't you mind  to send the source code.

thanks in advance.

tondi (TechnicalUser) (OP)
9 Mar 02 9:17
The program simply sends CHR(7)+CHR(7) to COM1 or COM2 which has always worked on everything but WinXP.  Running app In WinXP I get the error 'device not ready.'  Testing with commands from the prompt in DOS window works fine.
rgbean (Programmer)
9 Mar 02 15:54
Are you running the APP using one of the compatibility modes? If not, have you tried any?

tilltek (Programmer)
11 Mar 02 0:30
I have just recently found out (see my post FPD2.6 on XP) that you can not address the com or lpt ports directly from dos under XP.
I have tried VMware 3.00 which works fine but at $299US a pop, I'll be giving that one a miss.
Ken F

tondi (TechnicalUser) (OP)
11 Mar 02 7:18
Thanks for responding ...
Yes, I have tried Win95 & Win98 Compatibility modes.

I have clients using serial label printers as well as serial cash drawers.  I have talked to the Cashdrawer Manufacturer and also Label Printer Manufacturer.  They are pulling their hair out and have no solutions, just point finger at XP.  

Cash drawer support suggested it might be a speed issue and suggested slowing down the Baud rate but that did not help either.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close