Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report prints black boxes instead of labels
Message
From
06/03/2014 13:18:21
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01594876
Message ID:
01595901
Views:
69
>>One of our clients got a problem when printing reports from our VFP 9 application. Instead of labels and text it prints boxes filled with the color of the font that is used on the label. So you see mostly black boxes on the printed report. It seems to happen only at one printer (Toshiba). They are using a Citrix client, and when they first print the report to PDF and then send the PDF to the printer it works fine, as well as printing from Office works fine as well.
>>Anybody has seen the same and knows what is the cause of this?
>
>Sounds like printer driver problem

Today we could "solve" this error. The strange thing was that when printing landscape reports (The frx file was designed as a landscape report) the black space holders did not appear, it happened only on Portrait reports.

All other applications (Office, Acrobat) did not have this problem, only our VFP application.

After lots of trying, the solution was to set REPORTBEHAVIOR = 80 just before the REPORT FORM TO PRINTER command (which is called from the report preview form) and after that set it back to 90.
Of course we still don't understand why that happens at this client, they use a Citrix environment, but it still does not explain why all portrait reports have those black boxes.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform