Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report to printer bad performing. Help needed.
Message
De
27/05/1998 01:59:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/05/1998 11:58:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00101078
Message ID:
00102240
Vues:
42
>>>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
>
>Cetin, I have done what you suggest with all my reports, and the problem remain.
>Does the user must to asign a printer in the "page setup" command of the file menu ?
>Any other idea ?
Carlos,
Since your reports are excluded, and you have a modify report routine, users should be able to set their page setup and printer. If it also fails, I would suspect of current windows printer drivers. I had problems with some inkjet and laserjets. If it's in suspect try to use a more generic model driver preferably one that ships with windows. In case all fail, I would surrender and use word mail merge instead.
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