FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
PCL Printer for WinDev Mobile - which Printer is working ?
PCL Printer for WinDev Mobile - which Printer is working ?
Débuté par Hubert, 18 nov. 2010 00:57 - 1 réponse
Connectez-vous…
Hubert
#1
Membre enregistré
8 messages
Posté le 18 novembre 2010 - 00:57
I thought that there are only PCL printers for Windows Mobile, so should be easy to print ... but I had to accept, that this is not true. Only Windev Mobile does only support PCL printers.
If it would be possible, just to print without PCL codes (just plain text) i could use my DPP-250 BT. Otherwise it does only accept ESC/POS.
If not, which printer (mobile, thermoprint on rolls etc.) does work ?
s
Zeile
,
s
Geraet
,
s
Raum
,
s
Ablesewert is
string
n
LenGeraet
,
n
LenRaum
,
n
LenAblesewert is
int
n
LenGeraet
=
10
n
LenRaum
=
5
n
LenAblesewert
=
10
IF
YesNo
(
"In Datei speichern ?"
) =
Yes
THEN
iDestination
(
iPCL
,
"\DRUCKDATEI.PCL"
)
ELSE
Info
(
"Der Bluetoothdrucker muss auf COM1 stehen !"
)
iDestination
(
iPCL
,
"COM1:"
)
END
iPrint
(
gs
ProgFirm1
)
iPrint
(
gs
ProgFirm2
)
iSkipLine
(
)
iPrint
(
" Zählerablesung "
+
EDT_
FormMI_Ablesedatum
)
iSkipLine
(
)
iPrint
(
"LgNr "
+
gs
Anzeig_LGNR
)
iPrint
(
EDT_
FormLG_Strasse
)
iPrint
(
EDT_
FormLG_PLZ_ORT
)
iSkipLine
(
)
iPrint
(
EDT_
FormMI_Wohn1
)
iPrint
(
EDT_
FormMI_Wohn2
)
iPrint
(
EDT_
FormMI_Name
)
iSkipLine
(
)
// Überschrift
s
Geraet
=
Complete
(
"Gerät"
,
n
LenGeraet
)
s
Raum
=
Complete
(
"Raum"
,
n
LenRaum
)
s
Ablesewert
=
Right
(
Complete
(
" "
,
n
LenAblesewert
)
+
"Ablesewert"
,
n
LenAblesewert
)
s
Zeile
=
s
Geraet
+
" "
+
s
Raum
+
" "
+
s
Ablesewert
iPrint
(
s
Zeile
)
iSkipLine
(
)
iEndPrinting
(
)
Signaler
0
0
Hubert
#2
Membre enregistré
8 messages
Posté le 23 novembre 2010 - 10:54
Hi,
it seams to be no problem for others ?
I found a solution for my printing.
Just opend the com port and write on it ...
Signaler
0
0
→ Revenir à WINDEV Mobile 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