FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
iEscape(ESC+"i"), cut command after iPrint
iEscape(ESC+"i"), cut command after iPrint
Débuté par SabriB, 25 oct. 2014 13:40 - 1 réponse
Connectez-vous…
SabriB
#1
Posté le 25 octobre 2014 - 13:40
Hi,
I have the following code:
iPrint(iFont(1)+iXPos(0)+Str1)
iprint(ifont(1)+" ") // print an empty line
iEscape(ESC+"i")
iPrint(iFont(1)+iXPos(0)+Str1)
iprint(ifont(1)+" ") // print an empty line
iEscape(ESC+"i")
iEndPrinting()
When I run this code the printer first applies the iEscape commands (in my example it gives 2 x a cut operation and starts printing) first then the iPrint command.
This is not what i want. What can I do to change the sequence?
Thanks for your feedback, Sabri.
Signaler
0
0
Christoph Erdmann
#2
Posté le 26 octobre 2014 - 09:02
Hallo Sabri,
I have the following code for open a cash drawer without printing. I dont know, what you want to do exactly - only a tip.
iWindowCancel(False)
iDestination(iPrinter,"Open drawer")
iEscape(Charact(27) + Charact(112) + Charact(48) + Charact(50) + Charact(250))
iEndPrinting()
Other idea - the settings of the printer have an automatic cut.
Christoph
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte