Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report to printer bad performing. Help needed.
Message
De
22/05/1998 05:41:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/05/1998 05:11:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00101078
Message ID:
00101086
Vues:
28
>I design the reports in my machine using a specific printer. Then i distribute the report files out of the project (excluded) in order that the users can modify them.
>In all of the report commands, i show first a form that allows users to select preview, file, printer or modify report. The user can choose how many pages ant to print, and how many records.
>In my machine everything works fine. In every custom's machine, if the user choose preview and then from the preview screen sends report to printer all works fine, but if the user choose printer directly, the code do:
>report ([all].[next n]) form 'myreport' to printer prompt noconsole
>and the results are very bads. Sometimes very smaller (aprox. 20 %). Other times the printer cuts the end of each page and it's impossible to see some details band. The error depends on printers, but every time bad.
>You can think that i have my customs very hurried (Is this the word?)
>What am i doing wrong ?
>Does anybody has the same problem ?
>Any solution or ideas ?
>Thanks.
Carlos,
Before preview prompt for printer then if printer is different from the one you set,
malias = alias()
select 0
use myreport.frx
scatter memvar memo
blank fields expr, tag, tag2
use
select (malias)
report form myreport preview
select 0
use myreport.frx
gather memvar
use
or to keep all simplier, before delivery, "blank fields expr, tag, tag2" for all reports to kill printer driver setup.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform