Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send escape sequence to the printer from report
Message
From
09/06/1999 02:05:35
 
 
To
08/06/1999 17:16:31
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00227694
Message ID:
00227779
Views:
22
Hi Dimple

You can define a PUBLIC variable and place the ESC-codes in it.

PUBLIC cNyEscCode
cMyEscCode = CHR(27)+"[ 2K" && 16 Cpi on a Canon-printer (I think)

In your report you have to add a textbox in the report header that refers to MyEscCode.


>Hi,
>
>I want to send specific escape sequence to laser printer to activate specific laser check format. These check formats are stored in a card which is already installed in a printer. When I send this sequence from VFP report (form report text box) it doesn't work. Same sequence works fine from DOS EDIT. I tried to send unicode of same sequence but it did not work. I contacted vendor of that card, they suggeted to use Escape API function. I am not sure which API library contains this function and how should I use it. Any Idea? Please suggest.
>
>Thanks
>Dimple
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform