Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Dir MX 2004 - Probl?me script Kazmiprint

1 réponse
Avatar
elnabo
Hello
J'utilise l'Xtra Kazmiprint et je crois qu'il y a un bl?me de script car quand
j'ex?cute ma commande imprimer, c'est mon navigateur internet qui s'ouvre...
Voici mon script:

on mouseUp me
FilePath = the moviepath
state = 0
PrintError = PrintDoc(FilePath)
if PrintError < 1 then
Alert ("An Error Has Occured")
end if
end

Si qqun peut m'aider c'est coool
D'avance merci

1 réponse

Avatar
Bubar
elnabo wrote:
Hello
J'utilise l'Xtra Kazmiprint et je crois qu'il y a un bl?me de script
car quand j'ex?cute ma commande imprimer, c'est mon navigateur
internet qui s'ouvre... Voici mon script:

on mouseUp me
FilePath = the moviepath
state = 0
PrintError = PrintDoc(FilePath)
if PrintError < 1 then
Alert ("An Error Has Occured")
end if
end

Si qqun peut m'aider c'est coool
D'avance merci


C'est normal. Selon la doc :

Purpose: Prints the given printable file using its __associated program.__

L'xtra n'imprime rien, il demande au programme correspondant au fichier de
l'imprimer. Donc pour un html par ex, c'est IE (ou firefox, netscape, ...)
qui s'ouvre.
Il va falloir trouver un autre moyen. Regarde notamment la fonction image()
et l'xtra printomatic lite - gratuit -, tu devrais t'en sortir pour un grand
nombre de format de fichier

--
Bubar
Freelance Multimédia - internet
Création de logiciels multimédia et sites web
http://www.wapitistudio.com