Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print To POS Printer
Message
 
To
12/05/2004 05:19:58
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00902741
Message ID:
00903107
Views:
19
Hi,

>set prin to temp.txt
>eject
>set prin to
>that will reset your row() value

Hi you can issue this command before your PROW().
I have this problem before..
My code is below,
@prow() ,00 Say Chr(27)+"@" && Initialize printer
@prow() ,00 Say Chr(27)+CHR(105) && Normal

this code will will not reset the values of the @PROW commands, you have to issue like this...
set Device to PRINT
Set PRINT TO "LPT1" &&===> works only with WinXP
*/* Set print to Name printer_name && only use if OS is Win98
@0,0 say ""
@prow()  ,00 Say Chr(27)+"@"       && Initialize printer
@prow()  ,00 Say Chr(27)+CHR(105)    && Normal
your code block....
Set print to
*/*set print off
Set device to Scree
One of the members here posted that solution.


Try it instead of creating a temp text file.


Hope it can help.
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Reply
Map
View

Click here to load this message in the networking platform