Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overlaying an insurance form onto a laser printed report
Message
 
À
26/07/1998 05:03:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112699
Message ID:
00148691
Vues:
47
>>Okay, I lied. Thanks for the PCL tip. I appear to be doing exactly what you say, but here's what happens when I print a one page report (no prompt): A page with my overlay prints out, then a page with my data (no image) prints out. Any ideas why this might happen? You've been a tremendous help. Thanks again.
>>
>
>Yep, I know exactly what you're doing wrong, and it's in your macro. You've included a form feed in the macro itself at the end of the macro. You need to create your macro so that it saves the printer cursor position before the macro starts execution, adds the overlay, and then restores the printer cursor position without issuing a form feed - VFP will take care of the form feed issue. By saving the cursor position and restoring it, the macro can be executed almost anywhere on the page without interfering with the report form output.

Ed, Just an FYI item. I finally got this to work by putting a field in my footer with the expression CHR(27)+'&f0y3X'. This actually puts the PCL command within the report. Unfortunately, this seemed like a natural next step, but ended up being my last ditch effort. I feel like a trained for months to lift a 3 pound weight!! Thanks again for your direction.

Marcus.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform