Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ say to printer
Message
From
19/04/2003 08:31:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
19/04/2003 01:55:23
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00779442
Message ID:
00779473
Views:
13
>i needed to make some programming to fill up a pre-printed form using @ SAY and SET DEVICE TO PRINTER. It fit ok to the form, but there is a problem: The dot matrix printer holds all the data in its buffer until i quit the application or send an EJECT command. Is there a command i can send to the printer to make it start printing? Something like and EOF or END OF JOB ! Any help on this would be welcomed. I tried to use LABEL FORM but couldn´t use it because i am printing in a continuos form and i found no way to make the LABEL FORM to fit in the next page, only the first goes well. I guess it´s meant to be used with single sheets.

What I usually do is prepare a text file (I use "?" and "??" instead of "@...say"), and then send it to the printer with the "???" command. One additional advantage of this method is that the text-file can be used directly for preview, with MODIFY COMMAND or RUN /N NOTEPAD.EXE MyFile.txt

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform