>I have a FPD2.6 program which prints labels out to a dymo SE300 serial labelwriter. It uses a language called ZPL to communicate with this printer over the serial port. The program works fine from Windows 98, but when I try it in windows XP Pro, it hangs when the first character is sent out to the com port. The code fragment is
>
>SET PRINTER OFF
>SET PRINTER TO COM1,9600,N,8,1,S && Need for DOS
>!MODE COM1 BAUD=9600 PARITY=N DATA=8 STOP=1 XON=ON
>SET PRINTER ON
>
>? "^027*^029t^040^029V1"
>
>
>
>The stuff after the ? is ZPL. The progran hangs on the output to the com port with
>"PRINTER NOT READY" retry or cancel.
>
>I am stuck here. I know the cables and hardware and baud rates are correct because I can
>
>COPY FILE.TXT COM1:
>
>from a command window within XP Pro and it prints fine.
>What is wrong/what would you suggest to make it work?
>
>Thanks in advance
>Peter Heinicke
Peter,
Would this work ?
-Write all output to a temp file
Copy tempfile.tmp com1:
erase tempfile.tmp
Cetin