Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send escape sequence to the printer from report
Message
De
09/06/1999 02:05:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00227694
Message ID:
00227779
Vues:
23
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)"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform