Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 6 Monaten, 4 Wochen
Letzter Beitrag:
vor 6 Monaten, 3 Wochen
Beteiligte Autoren:
Jeff Graham, kingdr, Joris, Ericus

[WD21] Preview and Printing

Startbeitrag von Ericus am 25.01.2018 14:26

Hi

I must be doing something wrong somewhere because my application is failing on the client machine.

I run these command in this order
iPreview(iPage)
iInitReportQuery(RPT_Document)
iPrintReport(RPT_Document)

On my machine the preview window is shown and I can close it and print other documents with no problem.

On the client's machine they can preview one document and then from there on everything slows down to a crawl. The second report takes about a minute to print and sometimes don't even appear in the preview screen.

I installed the WD21 patch US_103089 on my machine before compiling and distributing my software.

Any assistance appreciated.

Regards



Ericus Steyn

Antworten:

Hi Eric,

Do you have this problem with only one report or with all the reports in your project?

If only one report => there is probably something wrong with the report
if all reports => there is probably something wrong on client computer

Kind regards,

Joris.

von Joris - am 26.01.2018 09:13
Hi

Never use iPreview(iPage) but iPreview(100) , always.

and did you put iEndPrinting() after iPrintReport()... and you'd better.

Finally, pls check your default printer on client w/s or use iConfigure()
before iPreview to see if it helps.

HTH

King

von kingdr - am 26.01.2018 11:16
Did adding the iEndPrinting() help the problem? The help says this only applies to reports by programming, not reports created with the report editor.

We are having print problems with Windows 10 clients at some schools. The print never completes and they have to end the application.

von Jeff Graham - am 29.01.2018 23:10
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.