(FPD 2.6 on Win 98 SE Athalon 1200)
I've run into a bit of a "lost data" problem when printing to Star SP300 parallel printers.
In my POS program, I can print anything until I send the expanded print characters.
When these are sent, the print buffer is obviously wiped clean.
In testing I found that, if I do this....
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
******************************************
I get 20 perfect lines printed.
But if I do this......
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
*---- Double wide
??? chr(27)+chr(87)+chr(48)
*----- Double high
??? chr(27)+chr(104)+chr(48)
??? "Hello world"+chr(13)+chr(10)
******************************************
I get a lovely big "Hello world" but no "1234567890" (at all).
If I add in a delay....
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
wait window "" timeout 6
*---- Double wide
??? chr(27)+chr(87)+chr(48)
*----- Double high
??? chr(27)+chr(104)+chr(48)
??? "Hello world"+chr(13)+chr(10)
*****************************************
The whole lot prints just fine.
Is this perhaps a problem with the Star printer?
I've looked through the manual but can find no reference to it.
I have "time = 1000000" in config.fp but to no avail.
Just by the way, is there any way to slow down printer output besides "time =" in config.fp?
Thanks in advance.
Ken F
I've run into a bit of a "lost data" problem when printing to Star SP300 parallel printers.
In my POS program, I can print anything until I send the expanded print characters.
When these are sent, the print buffer is obviously wiped clean.
In testing I found that, if I do this....
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
******************************************
I get 20 perfect lines printed.
But if I do this......
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
*---- Double wide
??? chr(27)+chr(87)+chr(48)
*----- Double high
??? chr(27)+chr(104)+chr(48)
??? "Hello world"+chr(13)+chr(10)
******************************************
I get a lovely big "Hello world" but no "1234567890" (at all).
If I add in a delay....
******************************************
for x = 1 to 20
??? "1234567890"+chr(13)+chr(10)
next
wait window "" timeout 6
*---- Double wide
??? chr(27)+chr(87)+chr(48)
*----- Double high
??? chr(27)+chr(104)+chr(48)
??? "Hello world"+chr(13)+chr(10)
*****************************************
The whole lot prints just fine.
Is this perhaps a problem with the Star printer?
I've looked through the manual but can find no reference to it.
I have "time = 1000000" in config.fp but to no avail.
Just by the way, is there any way to slow down printer output besides "time =" in config.fp?
Thanks in advance.
Ken F