Home Products & Downloads Support Education COBOL Links Contact
Evaluation Software Downloads
Distributors
COBOL sp2
COBOL FormPrint
Thin Client
Web Client
Flexus COBOL Add On Tools
Active X Control Support
JPG Image Display and Printing Support
AdvLineP Printing Emulation Support
SMTPSimple COBOL E-mail Support
APISimple WinAPI Support
TCPSimple TCP/IP Socket Support
MultiDrv Multiple Windowing Support
ListView Control Support
Registration for Support
Contacting Technical Support
COBOL sp2 Changes Log
COBOL FormPrint Changes Log
Thin Client Changes Log
Flexus FTP Sever
Flexus List Server - User Forum
Flexus Web-based Helpdesk Support
Migration Solutions
Annual Maintenance
Authorized Flexus Consultants
Flexus COBOL Tools Product Training
COBOL Education and Training
Books on COBOL
EBCDIC to ASCII Conversion
COBOL Compiler Company Links
Third Party Tools for COBOL Programming
COBOL Web Pages
COBOL USENET Newsgroup - COBOL Forum
*item0-4*

COBOL FormPrint Changes Log

Updated Monday, August 20, 2007


4.1.155
-------

Miscellaneous changes
---------------------
Allow up to 11000 for initialized multiline text

-------
4.1.154
-------

Miscellaneous changes
---------------------
Don't create bmp file for PDF dummy icon field

-------
4.1.152
-------

Miscellaneous changes
---------------------
Problem using PDF add-on after print preview
Check QPRDIR when deleting temporary bmp files 
Problem with new reset printer logic when used with print preview

-------
4.1.146
-------

Miscellaneous changes
---------------------
Closing progress window cancels current operation
Support for resetting printer during print preview

-------
4.1.145
-------

Reset printer
-------------
Set qpr-dialog to "r" on a select-printer call to reset the printer properties before 
calling end-print.  The value in qpr-device-to-select must be unchanged from the initial 
select-printer call.  This feature is not currently supported in connection with the 
print preview facility i.e. if printing is done after previewing the last select-printer 
call will apply to all pages - this shortcoming will be fixed in a future release. 

-------
4.1.129
-------

Miscellaneous changes
---------------------
Allow for 5 digits in generated picture clause

-------
4.1.128
-------

Miscellaneous changes
---------------------
Make sure error returned if printer name invalid

-------
4.1.124
-------

Miscellaneous changes
---------------------
Timeout being erroneously returned multiple times

-------
4.1.123
-------

Miscellaneous changes
---------------------
Return -1 if printer dialogbox times out

-------
4.1.122
-------

Miscellaneous changes
---------------------
Problem with timeout on printer dialogbox

-------
4.1.121
-------

Miscellaneous changes
---------------------
Include wd-cell-width and wd-cell-height in qprmaint.cpy
 
-------
4.1.104
-------

Miscellaneous changes
---------------------
Error during scrolling in preview

-------
4.1.101
-------

Miscellaneous changes
---------------------
Temporary preview files being written to wrong folder

-------
4.1.100
-------

Miscellaneous changes
---------------------
Hidden radiobuttons still visible

------
4.1.99
------

Miscellaneous changes
---------------------
Problem with using preview mode after printing directly

------
4.1.97
------

Miscellaneous changes
---------------------
Foreground color now used to color border if group Border type is a or A
Use qpr-doc-name-l instead of qpr-doc-name if more that 30 characters needed
Use qpr-paper-source-l instead of qpr-paper-source if tray has has an id gtr than 255
Run getbins.exe to get a list of tray ids for a particular printer

------
4.1.95
------

Miscellaneous changes
---------------------
Progress window not being closed after exiting without printing
Preview find facility not highlighting items properly

------
4.1.89
------

Miscellaneous changes
---------------------
Use QPRDIR for temporary preview files

------
4.1.87
------

Miscellaneous changes
---------------------
Use QPRIBM=n+16 to allow Find facility to work with national characters from non-ansi fonts
Progress window can be used with auto-get-all-pages if QPRKBF=2

------
4.1.85
------

Miscellaneous changes
---------------------
Set Allow copies to "n" to disable Copies in printer dialog box

------
4.1.83
------

Miscellaneous changes
---------------------
Dialog=s not returning list of printers properly

------
4.1.82
------

Miscellaneous changes
---------------------
Some keys not working as Preview menu accelerators

------
4.1.80
------

Miscellaneous changes
---------------------
Allow for printer names up to 256 characters

------
4.1.78
------

New Dialog settings on select-printer call 
------------------------------------------
"l" - return list of printers - same as "s" but returns 0 rather than -10
"p" - select printer - same as "s" but ret-code need not be set to -10
"f" - return first available printer in qpr-device-to-select
"n" - return next available printer in qpr-device-to-select
Both "f" and "n" set ret-code to 1 if no more available printers 

Miscellaneous changes
---------------------
Suppress message box when cancel hit on Print dialog box
Progress box during printing range must show only pages actually printed

------
4.1.77
------

Miscellaneous changes
---------------------
Problem saving data for current page after Get all pages

------
4.1.76
------

Miscellaneous changes
---------------------
Problem with Print range dialog box after radio button change below

------
4.1.75
------

Miscellaneous changes
---------------------
Problem with printing a large number of pages from preview
Use internal routines to draw radio buttons and check boxes in preview
Debug file being erroneously created by set-font-def function

------
4.1.72
------

Miscellaneous changes
---------------------
Problem with common dialog boxes and TMO configuration variable
Possible memory problem with multiple end-print calls

------
4.1.69
------

Miscellaneous changes
---------------------
Correct no-panel-file generator template to allow for large forms  

------
4.1.68
------

Print-page Types area
---------------------
This area which is included in the generated copy file can be used to 
dynamically suppress printing of fields at runtime.  The area should be 
initialized to low-values and then the appropriate -T items set to "h".

Miscellaneous changes
---------------------
Problem with system dialog box timeout

------
4.1.65
------

Miscellaneous changes
---------------------
Problem with timeout for system dialog boxes during preview

------
4.1.63
------

Miscellaneous changes
---------------------
Problems with preview find facility

------
4.1.62
------

Miscellaneous changes
---------------------
Problem with temporary form files during preview

------
4.1.61
------

Miscellaneous changes
---------------------
Problem with scrolling multi-form pages
Escape can now be used as preview menu accelerator key

------
4.1.60
------

XP-style toolbar icons
----------------------
Icons on the preview toolbar are now displayed with an XP-style rounded 
border when running under XP with XP-style buttons.  All white pixels
are transparent.     

Miscellaneous changes
---------------------
Check boxes appearing too faint
Problem dealing with multiple files during multi-form preview

------
4.1.59
------

Miscellaneous changes
---------------------
Special format=a scales icon image to field size but maintains aspect ratio

------
4.1.57
------

Miscellaneous changes
---------------------
Problem with set-property if pr-len and pr-var-len-l both zero

------
4.1.52
------

Font rotation
-------------
Fonts can be rotated through 360 degrees by setting the font Rotation
property to a value in degrees.  In the editor, set this value using the
Font change dialogbox.  A rotated font will be aligned within a field
or static as follows:

0-90 bottom left
91-180 bottom right
181-270 top right
271-360 top left

Do not use rotated fonts with input, multi-line or justified fields.

------
4.1.50
------

Miscellaneous changes
---------------------
Problem with multi-form pages left over from 4.1.43

------
4.1.49
------

Miscellaneous changes
---------------------
Problem with printing activex controls

------
4.1.48
------

Miscellaneous changes
---------------------
If timeout is set interrupt menu processing if necessary

------
4.1.47
------

Miscellaneous changes
---------------------
Problem if set-ocx call done before get-ocx

------
4.1.46
------

Miscellaneous changes
---------------------
Automatic get all pages causing improper timeout

------
4.1.43
------

Miscellaneous changes
---------------------
Problem with multi-form page preview when there are a lot of pages

------
4.1.42
------

Miscellaneous changes
---------------------
Problem with preview find

------
4.1.40
------

Miscellaneous changes
---------------------
Support hidden fields using set-property or set-field-def
Stop form title overwriting title in QPRPVT file unless "N/A"

QPRTMO configuration variable
-----------------------------
Set to inactivity timeout in minutes.  Print preview will time out after 
this time returning -1 in form-key or np-ret-code.

------
4.1.38
------

Miscellaneous changes
---------------------
QPRFON x8 switch - current font picking up spacing from previous 
Use qpr-fd-id=-1 with qpr-get-field-def to get id of field just added

------
4.1.37
------

Miscellaneous changes
---------------------
Problem with automatic get all pages when using multi-form pages
Increase page limit for dynamic preview
Use ^ character prior to window title in QPRPVT file to specify non-owned
Problem with editor frames

------
4.1.36
------

Miscellaneous changes
---------------------
Activex support causing problem in end-print

------
4.1.29
------

Activex support
---------------
Correct problem with activex controls if maint-mode set-ocx used to
modify control.  Must set qpr-preview=d or QPRPVW=5 if using print
preview.

Range dialogbox
---------------
The text on the range dialogbox can be modified by including:
913myrange.pan
in your qprpvt file where myrange.pan is the name of a file containing
a modified version of the dialogbox.  Create myrange.pan by making a
copy of the file range.pan and using the regular qprw editor to modify
the text on panel $prange within this file.  myrange.pan must be
included when you distribute your application.

------
4.1.26
------

Miscellaneous changes
---------------------
Support printing of activex controls if qprocx32.dll present (copy of
sp2ocx32.dll) 
Correct problems with Print sample

------
4.1.22
------

Miscellaneous changes
---------------------
Problem with previewing multi-form pages

------
4.1.20
------

Miscellaneous changes
---------------------
Problem with tab key in editor property box

------
4.1.17
------

Miscellaneous changes
---------------------
Editor copy function problem with repeat groups
Exclude field from repeat if already allocated to another repeat

------
4.1.11
------

Miscellaneous changes
---------------------
Problem with large groups in editor

------
4.1.10 
------

Miscellaneous changes
---------------------
Problems with exiting out of automatic get all pages

-----
4.1.9 
-----

Miscellaneous changes
---------------------
Possible problem with focus after preview window closed
903N/A in qprpvt file means suppress Exit preview messagebox and printing
Problem changing properties after set-record

-----
4.1.7 
-----

Print preview scaling
---------------------
The size of the print preview window (including its contents) can be 
scaled up to fill more or less the whole screen by setting the 
configuration variables QPROWD=640, QPROHT=480, and QPROIC=1.  This is
different from maximizing the preview window as explained in 4.0.66 
below because the text, etc. within the window will also become larger.
The scaling is slightly different if the QPRFON x7 switch is also set
to allow for the increased precision of the x7 feature.

Preview accelerator keys
------------------------
See also 4.1.0.  Codes 911 and 912 allow keys to be assigned to the 
scroll left and right functions.  For example:
911#331
912#333
causes the left and right arrow keys to be used for this.

Form records in working-storage
-------------------------------
Forms can now be stored in working-storage eliminating the need for
panel files at runtime.  The main disadvantage of this technique is
that your programs will be bigger and performance may be degraded in
thin client mode - records will be transmitted each time they are used
rather than on a one-time basis.  The working-storage definitions can
be generated along with the regular cobol code using a new version of
the code generator - use the template file qprnofil.cbx rather than
uib.cbx if you want to do this.  A new maintenance function,
qpr-set-record, allows a record to be moved to qpr memory so that it
can be accessed by print-page logic as if it had just been read from a
panel file - see code produced from qprnofil.cbx for an example of
this.  Individual set-record calls must be made for each form used.

get/set-property functions
--------------------------
Set individual properties avoiding the need for get/set-object-def 
maintenance functions.  Maintenance copy files have been updated to 
use the set-property function.  See chgbmp.cbl/qprbmp.cpy for an 
example.
Usage: 
call "QPR" using qpr-get-property qpr-property
call "QPR" using qpr-set-property qpr-property
Where:
pr-id = id of object (static, field, group, repeat)  
pr-row = row of static
pr-col = column of static
pr-key = key of property (made up of pr-object-type thru pr-var-act below)
pr-object-type = type of object (W, P, S, F, G, R)
pr-type = type of property (L=length, N=numeric, C=character, V=variable)
pr-var-type = type of variable property (A=first, B=second, ...)
pr-off = offset of property within object type 
pr-len = length of property
pr-format = format (in pr-value) of property (N=number, B=binary, D=decimal)
pr-action = action to be taken if setting property (R=redraw, C=recreate)
pr-var-act = action to be taken if variable property (L=reset variable length)
pr-value = value of property
pr-num-value = value of property if format is N or D - pic 9(5)
pr-bin-value = value of property if format is B
pr-bit-value = value of property bit (0 or 1 - anything else means leave alone)
length properties are read-only
format=N assumes a 2 byte numeric property 
format=B/D assumes a 1 byte property
Some common property keys:
Static font:     SN-0001000002NC-
Static text:     SVA0000000080-RL (set length as appropriate)
Field row:       FN-0001000002NC-
Field col:       FN-0001200002NC-
Field width:     FN-0002200002NR-
Field height:    FN-0002400002NR-
Field font:      FN-0004200002NC-
Field color:     FC-0007000001DR-
Field format:    FVA0000000010-RL (set length as appropriate)
Field caption:   FVB0000000080-RL (set length as appropriate)
Field value:     FVC0000000080-RL (set length as appropriate)

-----
4.1.6 
-----

Preview print menu option
-------------------------
See also 4.1.4.  If print menu option is chosen but qpr-dialog not "a"
on select-printer-ex call, a custom dialogbox will be presented to get
range of pages to be printed.

-----
4.1.5 
-----

QPRFON x8 switch
----------------
See also 4.1.3. This option now applies to print output as well as screen
output.  By adding pixels to selected characters, printer output can be 
more consistent across different printers, resolutions and operating 
systems.

-----
4.1.4 
-----

Preview print menu option
-------------------------
The Print menu option (id=024) allows the user to print off pages
reviewed so far and then return to previewing.  If qpr-dialog=a on
set-printer call, the print dialogbox will be displayed.  If
qpr-range=y, the user will be able to select a range of pages to print. 
Selecting this option does not effect the option to print all pages
when the user exits preview.

-----
4.1.3 
-----

QPRFON x8 switch
----------------
Set QPRFON=00000011 to add extra pixels to selected screen characters so
that screen output matches print output more closely.  x7 switch must also
be set.

Miscellaneous changes
---------------------
New x7 logic will reduce font height if necessary to get better width match

-----
4.1.2 
-----

Miscellaneous changes
---------------------
Editor window size/position saved for next session
Generator template saved for next session

-----
4.1.0 
-----

Preview accelerator keys
------------------------
The keys used to control print preview can now be configured by adding
numeric key codes to the QPRPVT file.  For example:
041~Next page PgDn#337
042~Previous page PgUp#329
043~First page ^PgUp#388
044~Last page ^PgDn#374
909#328
910#336
The last two entries (909 and 910) are for window scrollup/dn).

QPRFON x7 switch
----------------
Set QPRFON=0000001 to turn on new font processing which attempts to 
minimize variations in a font across printers and operating systems.
It does this by selecting fonts so that a certain string of characters
fits exactly in an area delimited by the font Width multiplied by the
number of characters in the string.  The string defaults to the 17
characters "abcdeghknopqsuxyz" but can be reset using the configuration
variable QPRSTR.  Extra pixels will be added to each character if
necessary to match the target width. 

-------
4.0.124 
-------

Cell height increment
---------------------
Set the panel Cell height increment property for more finer control
of vertical print output.  For example, if you want to achieve exactly 
10 lines per inch, set Cell height to 9 and Cell height increment to
60.  This will give you 96 / 9.60 = 10 lpi when you print.  Cell height
increment has no effect on screen output.

------
4.0.89 
------

Miscellaneous changes
---------------------
Support for qpr-library=s in thin client

------
4.0.88 
------

Miscellaneous changes
---------------------
Problem with clicking on rulers in editor

------
4.0.83 
------

Miscellaneous changes
---------------------
Exclude trailing blanks from config variable values

------
4.0.81 
------

Miscellaneous changes
---------------------
Log all attempts at file create/open if QPRDBG=4

------
4.0.80 
------

Form-key values returned from preview
-------------------------------------
0   = Preview continued
-17 = Cancel
-18 = Exit without printing
-24 = Exit with printing (new)

------
4.0.79 
------

Copies
------
On return from selecting the printer, qpr-copies will be set to the
number of copies to be generated by the printer, unless
qpr-allow-copies is set, in which case qpr-copies will be set to the
number of copies to be generated by the program.

------
4.0.78 
------

Miscellaneous changes
---------------------
Incorrect width/height returned if qpr-dialog=y
Hardware margins in 1/1000" returned by select-printer-ex (see qpr.cpy)

------
4.0.77 
------

Miscellaneous changes
---------------------
Printer DPI returned by select-printer-ex (see qpr.cpy)

------
4.0.76 
------

Miscellaneous changes
---------------------
Long printer names being truncated
Calculate height for multiline static if height is zero
exe/dll version numbers can be viewed through Windows file properties
XP manifest included in executables 

------
4.0.75 
------

Miscellaneous changes
---------------------
Remove errnoneous paper size message from editor

------
4.0.74 
------

Miscellaneous changes
---------------------
Accept qpr-device-to-select as default printer to be displayed in dialogbox
Return error from preview if form doesn't exist

------
4.0.72
------

Escape sequences
----------------
To send data directly to the printer (bypassing the device driver)
define a static field with the X"02" bit of the Miscellaneous property
set or a custom field with the X"40" bit of the Miscellaneous property
set and the contents of the field will be sent to the printer.  To send
special characters, insert a backslash (\) followed by the hexadecimal
value of the character.  For example, the sequence:

\1b&a10C\1b&a20Rhello\0d\0a

causes "hello" to be printed in the default font at column 10, row 20
on an HP printer.

------
4.0.68
------

Miscellaneous changes
---------------------
Problem with selecting statics in editor treeview
Problem with form positioning in RM

------
4.0.66 
------

Miscellaneous changes
---------------------
Maximize preview window if title in QPRPVT file begins with ">"
Problems with automatic get all pages option

------
4.0.64
------

Miscellaneous changes
---------------------
Problem with scrolling in editor

------
4.0.63
------

Preview menu options
--------------------
To suppress a menu option (and the corresponding toolbar icon) in print 
preview, set the text for the menu option to "N/A" in the QPRPVT file.
If the option suppressed is 21 ("Get all pages"), all pages will be 
automatically retrieved but the user will be allowed to interact with 
pages retrieved so far as other pages are being retrieved.

------
4.0.62
------

Miscellaneous changes
---------------------
Problems with scrolling in preview
Suppress cursor in preview
Suppress display of page border in preview

------
4.0.54
------

Miscellaneous changes
---------------------
Erroneous scrolling in editor

------
4.0.53
------

Miscellaneous changes
---------------------
Null out grp/rep-ids as appropriate during edit operations 

------
4.0.51
------

Miscellaneous changes
---------------------
Clicks outside main windows in editor can cause erroneous scrolling

------
4.0.50
------

Miscellaneous changes
---------------------
Problem with help in network version

------
4.0.49
------

Long icon file names
--------------------
Long file names are now supported for icons.  In the editor, set the
Format property to x(50), for example, and this will cause the Maximum
length and Program length properties to be set to 50.  This will allow
for up to 50 bytes for the icon file name.  Because the Program length
property has been set, an entry will be generated in the program Fields
area for the icon and you can use this entry to change the image that
is printed or set the image for individual occurrences in a repeat
group.

------
4.0.42
------

Miscellaneous changes
---------------------
Problem with transparent background

------
4.0.41
------

Miscellaneous changes
---------------------
Stop properties box being minimized when main window minimized
Display statics with leading blanks in tree control
Problem with special character set fonts

------
4.0.38
------

Miscellaneous changes
---------------------
Problem with multiform page preview

------
4.0.37
------

Print dialogbox
---------------
If QPR-DIALOG is set to "a" on a select-printer or select-printer-ex
call prior to a print preview session, the print dialogbox will not be
displayed till after the preview session has been exited and pages are
to be actually printed.  This is particularly useful in connection with
the new Range facility (see below).  If printing is to be done without
preview, "a" means the same as "y" - standard dialogbox display.

Print range
-----------
If QPR-RANGE is set to "y" on a select-printer-ex call, the user will
be able to select a range of pages to be printed.  Set QPR-RANGE-FROM
to the lowest page number that can be entered - normally 1.  Set QPR-
RANGE-TO to the highest page number that can be entered - this must be
estimated if the exact number of pages is not known.  These two numbers
will be updated to reflect the numbers actually chosen by the user. 
QPR-RANGE will be reset to low-value if the user chooses to print all
pages.  The print-page function will check to see if the current page
is within the range selected and suppress output if not.  If the
current page is past the selected range, -21 will be returned in
form-KEY to indicate that the remainder of the report need not be
generated and end-print may be called immediately.

------
4.0.36
------

Miscellaneous changes
---------------------
Problem changing total width/height properties

------
4.0.34
------

Font change dialogbox
---------------------
A custom dialogbox is now used to change a font definition rather than the 
standard Windows dialogbox.  This new dialogbox displays existing font 
details and allows Width increment to be set (see below)..  

Font width increment
--------------------
Allows finer control of printer font width.  This is important because
printers typically have a much higher resolution (more dots per inch)
than video devices.  In FormPrint, screen dpi is fixed at 96 pixels. 
If you want 16 characters per inch, that's fine because you can use a
font of 6 (96 / 16 = 6).  However, if you want 17 cpi, that's a problem
because you can't specify a width with pixel fractions (96 / 17 = 5.6)
so you would have to use a width of 5 which would actually give you 19
cpi (96 / 5 = 19.2).  Font width increment allows you to specify a 
pixel fraction for the printer even though this increment cannot be
rendered on the screen.  For 17 cpi, therefore, you could specify a width
of 5 and an increment of 60, which would cause a printer font width of 35
dots to be used on a 600 dpi printer (5.60 * 600 / 96 = 35).  Enter font 
width increment on the Change font dialogbox (see above).  See also
QPRFON x3 configuration setting below.
  
QPRFON configuration variable
-----------------------------
Helps to control font selection.  Set QPRFON=xxxx where x is 0 (off) or
1 (on) as follows:

x1 - 1.x compatibility mode

x2 - adjust screen font width before selecting font to pick widest font 
possible and help with consistent font selection

x3 - insert extra spaces between printed characters to achieve best font
match in terms of width.  This should be set if you are using a font width 
increment (as described above).

x4 - output details of selected fonts to qpr.log file

------
4.0.33
------

Preview find facility
---------------------
Text find facility now available for searching for a text string during
preview.  Only pages sent to preview facility will be searched so use
"Get all pages" first if whole report is to be searched.  Search starts
at current page.  Menu options, etc. related to find facility can be 
modified in the QPRPVT file as follows:
003~Edit      
061Find...  F3    
908String not found

------
4.0.31
------

Printable area
--------------
if paper-length and paper-width are set to -1 on a select-printer-ex call
they will be reset to reflect the printable area on the page (in 1/10
millimeters).  Use the formula (x * 96) / 254 to convert either of these 
values into logical pixels.

------
4.0.29
------

Miscellaneous changes
---------------------
Problem with discrete values in properties box

------
4.0.28
------

Miscellaneous changes
---------------------
More options missing from properties box
Stop print preview hanging if no control keys defined
Problem with non-rgb colors
qpr.cpy missing from distribution
Copy qprmaint.cpy into qprbmpws.cpy
2000-byte fields area in qpr-converse-data
Adjust newform and gridline to use above
Modify chgform to use real form
chgbmp is example of qprbmp usage
stop looping in print preview if bad form

------
4.0.27
------

Miscellaneous changes
---------------------
Allow group type to be set
Allow up to 500 groups

------
4.0.26
------

Miscellaneous changes
---------------------
Allow color definition to be changed
Allow bmp filelist to be accessed


flexus
A Company of Interex Software, Incorporated
P.O. Box 640, Bangor, PA 18013-0640, U.S.A.
Telephone: 610-588-9400
Telefax: 610-588-9475