FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
how to select printer for ShelExecute("...","print")
how to select printer for ShelExecute("...","print")
Débuté par Dave Langley, 30 aoû. 2014 08:07 - 3 réponses
Connectez-vous…
Dave Langley
#1
Posté le 30 août 2014 - 08:07
How do I select the printer destination for a ShellExecute command eg ShellExecute("temp.rtf","print") always prints to the default printer. I want to be able to direct the output to a printer of my choosing.
Signaler
0
0
Fabrice Harari
#2
Posté le 01 septembre 2014 - 12:54
Hi Dave
the only way to do that is to:
- first get what is the current default printer
- then change the default printer to the one you want to print on
- then print
- then change BACK the default printer to what it was before
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 8/30/2014 12:07 AM, Dave Langley wrote:
How do I select the printer destination for a ShellExecute command eg
ShellExecute("temp.rtf","print") always prints to the default printer. I
want to be able to direct the output to a printer of my choosing.
Signaler
0
0
Dave Langley
#3
Membre enregistré
27 messages
Posté le 02 septembre 2014 - 17:11
Thanks Fabrice
How do I set the default printer programmatically in WinDev. I have spent hours searching the documentation for this - all to no avail. Can you help?
Signaler
0
0
Fabrice Harari
#4
Posté le 02 septembre 2014 - 19:46
Hi Dave
read the help for iConfigure... There is a syntax for that.
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 9/2/2014 9:11 AM, Dave Langley wrote:
Thanks Fabrice
How do I set the default printer programmatically in WinDev. I have
spent hours searching the documentation for this - all to no avail. Can
you help?
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