Printer Selection Global Extension

Return to Contents  Previous page  Next page

 

This template is required in order to be able to use the Printer Selection template on the Icetips Previewer procedure.  This template has three options that you can use.

 

PrinterSelection-global

 

Include PRNPROP.CLW

 

This option generates an INCLUDE('PRNPROP.CLW') into the "After Global Includes" embed.  The PRNPROP.CLW includes equates for PROPPRINT, PAPERBIN, RESOLUTION, DUPLEX and FONTMODE printer/report properties.  This file is part of the Clarion install and is located in your Clarion\LibSrc directory.  This option is turned on by default.  Leaving it unchecked may cause compile errors in your Icetips Previewer procedure.

 

Prototype ShellExecute for Report target classes

 

This option prototypes the ShellExecute API call so it can be used to open the exported HTML, PDF, TEXT or XML files that are created by the Report Target templates This option can be used for general use of ShellExecute in your application if you want to.  It generates the following lines into the "Inside the Global Map" embed:

 

Module('win32.lib')                            ! Icetips Previewer

   ITPREV_ShellExecute(UNSIGNED,*CSTRING,*CSTRING,*CSTRING,*CSTRING,SIGNED),|

                       UNSIGNED,PASCAL,RAW,NAME('ShellExecuteA')

End                                            ! Icetips Previewer

 

If you check this option you can use ITPREV_ShellExecute anywhere in your program.

 

Generate No code

 

With this option checked, no code will be generated by the global template. 



Direct link to this page: http://www.icetips.com/manuals/previewer/globalprinterselection.htm