The query_print package is designed to enable users to create PDF documents based on simple SQL statements with basic formatting options. The package is designed to give quick results with minimal design and development commitment from the user.
Width of the columns/fields is calculated according to the length of the data type of the cellwidth parameter. A parameter specifies how many cells should NUMBER and DATE data type fields be written into. For text data type fields the length of the text specifies the number of cells. Maximizes the width of cells.
Same as query_print_07, except if the columns do not fit on the page then the column width of columns that are not NUMBER or DATE is reduced according to its ratio to the whole width.