PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Print Preview w/o Default Printer
Print Preview w/o Default Printer
Débuté par M. Beaven, 06 fév. 2004 07:29 - 3 réponses
Posté le 06 février 2004 - 07:29
Hello all,
I recently ran into an issue when attempting to preview reports to screen. On a workstation where there is no default printer defined, I receive a "printer failed to initialize" error and cannot successfully preview to screen.
Is there a way to allow screen print previewing w/o an installed printer?
Thanks,
Marc
Posté le 06 février 2004 - 07:46
Hello all,
I recently ran into an issue when attempting to preview reports to screen. On a workstation where there is no default printer defined, I receive a "printer failed to initialize" error and cannot successfully preview to screen.
Is there a way to allow screen print previewing w/o an installed printer?
Thanks,
Marc

Just a WAG, set to print to text file? Reminds me of an old Clarion problem.
Posté le 06 février 2004 - 10:00
Hi,
creating a preview needs first an Printer Device Context to get/build a preview similiar to the later print. If there is no printer which DC should the app use to create the preview?
Art, I don't thing that this is typical Clarion problem.
Raimund
Hello all,
I recently ran into an issue when attempting to preview reports to screen. On a workstation where there is no default printer defined, I receive a "printer failed to initialize" error and cannot successfully preview to screen.
Is there a way to allow screen print previewing w/o an installed printer?
Thanks,
Marc



http://www.invitec.com
Posté le 06 février 2004 - 15:54
Raimund,
I understand what you are saying about needing a Device Context. This only became apparent when demonstrating an application on my detached laptop (default printer was obviously offline), but I could see that it may possibly be a problem on some detached workstations (point of sale?) where a print to screen is all that is necessary. The biggest problem is that after attempting to preview, there is a long delay while Windev tries to initialize the DC before generating the error. If this error was after trying to send the job to output (or paper), no problem, but it is before displaing the preview at all.

IS there any DC that one could recommend to install by default to prevent the entire preview from occurring?
Thanks,
Marc

Hi,
creating a preview needs first an Printer Device Context to get/build a preview similiar to the later print. If there is no printer which DC should the app use to create the preview?
Art, I don't thing that this is typical Clarion problem.
Raimund
Hello all,
I recently ran into an issue when attempting to preview reports to screen. On a workstation where there is no default printer defined, I receive a "printer failed to initialize" error and cannot successfully preview to screen.
Is there a way to allow screen print previewing w/o an installed printer?
Thanks,
Marc


Hi,
creating a preview needs first an Printer Device Context to get/build a preview similiar to the later print. If there is no printer which DC should the app use to create the preview?
Art, I don't thing that this is typical Clarion problem.
Raimund
Hello all,
I recently ran into an issue when attempting to preview reports to screen. On a workstation where there is no default printer defined, I receive a "printer failed to initialize" error and cannot successfully preview to screen.
Is there a way to allow screen print previewing w/o an installed printer?
Thanks,
Marc