FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
windev 18. Print a generated pdf
windev 18. Print a generated pdf
Débuté par Noel Tanti, 16 avr. 2014 17:01 - 4 réponses
Connectez-vous…
Noel Tanti
#1
Posté le 16 avril 2014 - 17:01
Hi,
I am generating reports to pdf and that is no problem but I would like to print them immediatley after. What would be the command to print a generated pdf to printer?
Thanks
Noel
Signaler
0
0
Alexandre Leclerc
#2
Posté le 16 avril 2014 - 19:19
Hi Noel,
You can call ShellExecute() to ask the default PDF program to print the PDF:
http://doc.windev.com/en-US/…
The other (better?) solution is to generate your report in PDF, then generate it again and send it to the printer directly (using iDestination again):
http://doc.windev.com/en-US/…
Hope this helps and best regards,
Alexandre Leclerc
Signaler
0
0
Fabrice Harari
#3
Posté le 16 avril 2014 - 20:15
Hi Noel
it depends if you want to print it outside of windev (ie calling an
external tool, installed or not, etc) or INSIDE windev... In that last
case you can either print the sam report a second time with another
target, or read the pdf page by page in an image field (..numpage) save
the imge (dsaveImagexxx) and print the image (iprintimage)
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 4/16/2014 9:01 AM, Noel Tanti wrote:
Hi,
I am generating reports to pdf and that is no problem but I would like
to print them immediatley after. What would be the command to print a
generated pdf to printer?
Thanks
Noel
Signaler
0
0
fdimage
#4
Posté le 23 avril 2014 - 05:40
thanks, i often take your method, generate pdf and send it to printer, is there a way to directly print a generated pdf such as scanning a pdf and then print out?
Signaler
0
0
Al
#5
Posté le 23 avril 2014 - 06:27
Hello FDimage
There are several examples in Windev that deal with PDF extraction and manipulation and also complete examples on scanning and printing.
Regards
Al
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