Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print PDF file from VFP directly?
Message
De
29/09/2004 09:43:44
 
 
À
28/09/2004 17:47:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00904836
Message ID:
00947152
Vues:
63
If you open up the pdf in Acrobat 6 or Adobe Designer, go to document properties, description and look at the title property. Whatever is in that field is what will display as the window title when it is loaded in adobe reader or acrobat reader.

>The custom window title is stored where? and how?
>
>What is the complete title of the reader window when one of these are opened? Does it still says "Acrobat Reader -[ " at the beginning? Could this work?
>
>
>   *== Printing has begun when PDF name appears in title of Reader window
>   DO WHILE .t.
>      getwindowtext(lnReaderHwnd, @lcWindowTitle, lnWindowTitleLen)
>      IF "- [" $ lcWindowTitle
>         EXIT
>      ENDIF
>   ENDDO
>
>   *== Printing has finished when PDF name no longer in title
>   DO WHILE .t.
>      lcWindowTitle = SPACE(50)
>      getwindowtext(lnReaderHwnd, @lcWindowTitle, lnWindowTitleLen)
>      IF ! "- [" $ lcWindowTitle
>         EXIT
>      ENDIF
>   ENDDO
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform