Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date and Time displays
Message
 
 
To
05/09/1997 09:25:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048093
Message ID:
00048690
Views:
42
>>>>>>Rob, in addition to the solutions the others have suggested, check the list of VFP reserved words and try NOT to use these in tables. Recently people have written about problems with fields named DESC, NUMBER and now DATE and TIME. All of these words are used internally by VFP, so it has trouble figuring out which meaning is the right one.
>>>>>>
>>>Hi Barbara...
>>>I am sending flds with values to the printer using vfp50. I had tried
>>>?? and that did not work. I have to use ??? for this to work.
>>>Here is a sample for HP III...
>>>??? chr(27)+'(10U'+chr(27)+'(s0p16.66h8.5v0s0b0T'
>>>??? chr(27)+'*p0x0Y'
>>>??? mytable.name
>>>??? mytable.address
>>>I stuff everything in the printer's memory and print everything at one time.
>>>This code works, but if you have another idea, please let us know.
>>>Thanks..rob
>>
>>Rob, you should only be using the ??? triple for printer commands - your 1st to lines. Then use ?? for the data as below:
>>
>>??? chr(27)+'(10U'+chr(27)+'(s0p16.66h8.5v0s0b0T'
>>??? chr(27)+'*p0x0Y'
>>?? mytable.name
>>?? mytable.address
>>
>>??? is for Printer commands only. ?? says 'print this data at the present printer position'. ? says 'print this on the next line'
>>
>>HTH
>>Barbara
>
>Barbara, I have tried using ?? for data and nothing gets printed. It only works when I use ???. I am using a Dell 133, 32 meg of ram. I am sending print commands to a HP 4si. ..if anybody else wants to jump in, go aheard..
>thanks..rob

When manually generating a report to an HP, I have also had to issue an eject after the last printed line. Otherwise, the page does not "form feed" and the last line does not get printed. Try this with the single and double ?marks.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform