Sprache auswählen

This is function is used for development in order to speed up the testing and save paper. But it can also be used for PreView the print results in any printing process. The function is only available for W-ELP.

There are two keys in the Miscellaneous section available:

PreView and PreView_NoPrint

PreView_NoPrint does erase the output data stream and nothing is printed.

Both keys convert the outgoing data stream into a PDF document. The PDF conversion arguments can be passed in the file PDFConf.ini in the Workpath (e.g. C:\Program\Data\Welp).

The generated PDF will be stored in the c:\ProgramData\Welp\Debug\<QUEUENAME> folder. W-ELP is using the bundled XpdfReader for immediate display. If you want to use the OS defined PDF viewer (if present) feel free to rename or delete the file .\xpdf-viewer\xpdf.exe in the W-ELP install folder.

Important:

  1. If the PreView function starts the PDF reader, then ELP waits until the reader is closed. To avoid that, it is recommended to start the viewer first, as then Windows just generates a new instance and ELP will directly continue and end the print job.
  2. The preview is shown on the server/PC where ELP is installed, and not on the PC generating the print job. So you might need to logon to the server. Another method is using the archive keys and then check the stored files in the W-ELP Control Center Archive Tab.
  3. The PDF files will remain in the c:\ProgramData\Welp\Debug\<QUEUENAME> folder. If there´s a log mode enabled then ELP will delete the PDF files automatically after 4 days. If there´s no logging active the PDF remains there. So it is recommended to delete them regularly/after testing is finished.
    You can also delete the files automatically by using this command:

    call=cmd /c del /Q #ELP_FORMS_PATH#Debug\#PRINTERNAME#\*.pdf;OFF

If  you really want to have a preview function in your application, you need to print either using the key PreView_NoPrint and then let the user decide in your application, if he want to print this. There are 2 ways to achieve this:

  • Use the print function of your PDF viewer to another queue, which does not preview.
  • Ask if every thing is OK in your application and reprint the data. In order to teach ELP that it is a PreView print or not, you either can print to another queue, which does not perform that PreView function, or even nicer, use/don't a special trigger word in the data stream

 

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.