FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
WX - Impressora Zebra
WX - Impressora Zebra
Débuté par adrianoboller, 22 mai 2015 20:46 - Aucune réponse
Connectez-vous…
adrianoboller
#1
Membre enregistré
3 655 messages
Popularité : +175 (223 votes)
Posté le 22 mai 2015 - 20:46
//WX - Impressora Zebra
glocalsDevice is
string
=
"LPT1"
// String to send to printer
s
MyString is
string
// Port no. returned from fOpen
glocaliPort is
int
// Open the file
glocaliPort
=
fOpen
(
glocalsDevice
,
foCreateIfNotExist
)
IF
ErrorOccurred
THEN
Error
(
"Unable to contact the printer! "
,
ErrorInfo
(
)
)
ELSE
// Init the label
s
MyString
=
EDT_
Reg_imp
fWrite
(
glocaliPort
,
s
MyString
)
// Close the file
fClose
(
glocaliPort
)
END
Signaler
0
0
→ Revenir à WINDEV 25
WINDEV 25
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