>>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 ?
Saludos,
A.G.P.
---------