Академический Документы
Профессиональный Документы
Культура Документы
fr
Quick tour
Tutorial
Basic rules
Row-column position
Bookmarks
Character attributes
Font alignment
Images
Area definition
Rectangles
Lines
Ellipses
<FROM> tag
Frames
PROGRESS automatic mode
Additional functions
Quit
Please select an item…
www.4gl.fr
Quick tour.
How vpxPrint can
help you to make
smooth reports.
www.4gl.fr
Quick tour
Cust-Num Name Phone
-------- -------------------- --------------------
Cust-Num Name Phone
1 Lift Line Skiing POR (617) 450-0087
1 Lift Line Skiing POR (617) 450-0087
2 Urpon Frisbee (60) 532 5471
2 Urpon Frisbee (60) 532 5471
3 Hoops Croquet Co. (617) 366-1557
3 Hoops Croquet Co. (617) 366-1557
4 Go Fishing Ltd 081 883 6827
4 Go Fishing Ltd 081 883 6827
6 Fanatical Athletes 0224 692 903
6 Fanatical Athletes 0224 692 903
7 Aerobics valine KY (90) 054 6399
7 Aerobics valine KY (90) 054 6399
8 Game Set Match 060-60 62 61
8 Game Set Match 060-60 62 61
9 Pihtiputaan Pyora (60) 162 5007
10
11
Your reports today…
Just Joggers Limited
Keilailu ja Biljardi
070 682 2887
(91) 972 3478
9
10
Pihtiputaan Pyora
Just Joggers Limited
(60) 162 5007
070 682 2887
11 Keilailu ja Biljardi (91) 972 3478
12 Surf Lautaveikkoset (51) 254 2180
12 Surf Lautaveikkoset (51) 254 2180
13 Biljardi ja tennis (40) 523 3088
13 Biljardi ja tennis (40) 523 3088
14 Paris St Germain 1 42 25 68 78
14 Paris St Germain 1 42 25 68 78
15 Hoopla Basketball (609) 367-3875
15 Hoopla Basketball (609) 367-3875
16 Thundering Surf Inc. (512) 542-1804
16 Thundering Surf Inc. (512) 542-1804
17 High Tide Sailing 0469 73211
17 High Tide Sailing 0469 73211
18 Antin Metsastysase (71) 432 1317
18 Antin Metsastysase (71) 432 1317
19 Buffalo Shuffleboard (716) 344-0966
19 Buffalo Shuffleboard (716) 344-0966
20
21
Espoon Pallokeskus
Pedal Power Cycles
(90) 083 7737
(617) 245-6969
20 With vpxPrint !
Espoon Pallokeskus (90) 083 7737
21 Pedal Power Cycles (617) 245-6969
22 Kesport Katiska (91) 676 4644
22 Kesport Katiska (91) 676 4644
24 Jazz Futis Kauppa (60) 349 9254
24 Jazz Futis Kauppa (60) 349 9254
25 La Boule Lyonnaise 78 98 23 25
25 La Boule Lyonnaise 78 98 23 25
26 Bulls Eye Sports 0347 21348
26 Bulls Eye Sports 0347 21348
27 Bumm Bumm Tennis 0222/924376/12
27 Bumm Bumm Tennis 0222/924376/12
28 Luistin ja Pyora Oy (30) 731 1978
28 Luistin ja Pyora Oy (30) 731 1978
29 Bug in a Rug-by (503) 743-1318
29 Bug in a Rug-by (503) 743-1318
30 Fast Flipper Pinball (919) 330-2993
30 Fast Flipper Pinball (919) 330-2993
31 Jaakon Jumppavaline (61) 749 9273
31 Jaakon Jumppavaline (61) 749 9273
32 Kiiskin Jaavarustus (21) 826 5779
32 Kiiskin Jaavarustus (21) 826 5779
33 Tennis Agentti (98) 829 8224
33 Tennis Agentti (98) 829 8224
34 Quick Toss Lacrosse (216) 783-1877
34 Quick Toss Lacrosse (216) 783-1877
35 Penan Sporttiklubi (70) 227 2926
35 Penan Sporttiklubi (70) 227 2926
www.4gl.fr
A PREVIEW
for all your
reports.
www.4gl.fr
Graphical reports.
images
proportional
fonts
colors
frames
www.4gl.fr
Pixel-precision adjustments…
www.4gl.fr
No limits !
www.4gl.fr
A precise control on the printing
process.
If your printer has more than If you are using pre-printed
one input tray, you can select forms, use
FOR EACH PAGE, the one to inches or mm units,
use. without regarding the printers
margins !
Nothing to register,
It's all !
www.4gl.fr
vpxPrint viewer.
vpxPrint.exe is a vpxPrint
VIEWER.
If you set vpxPrint.exe as the
default program for *.xpr files, then
a double-click in the explorer
window opens the file for
preview.
vpxPrint.exe is free, you can
send it to your correspondents.
www.4gl.fr
Financial…
vpxPrint is the more easy-to-use solution…
l also want to give you credit for an excellent printing solution for PROGRESS, its great…
Reidar Johansen
I would like to congratulate you for the last improvements in the Xprint DLL. I don't have
doubts. It's the best tool for PROGRESS 4 GL. I mean that we are very happy, because we
have a tool to help us day by day. And, I want that you know I talk about xPrint with my friends.
Carlos Baccarin
So far we're pretty amazed by the possiblities of the product ! THIS IS GREAT... the
report is looking very sharp and we're ready the take the first one in production! From here we
will be working toward a corparate with xPrint solution.
Thanks for the hard work we very content with your tools.
Robbert Visser
The more I work with xPrint, the more enthousiastic I become.
Wouter Dupré
Merci et un grand bravo pour ces améliorations. Je tiens à vous dire que vous avez réglé
de façon admirable les problèmes d'impression avec Progress.
ENFIN UNE SOLUTION SIMPLE ET EFFICACE !!!
Robert TOLFO
We would like also to inform you that we are very satisfied with your product, it has proven
to be a great help to us.
Tony Vertenten
……
www.4gl.fr
Technical support…
Summary
Quit
www.4gl.fr
Tutorial
How to 'program' vpxPrint.
www.4gl.fr
Basic rules
1. Create an output file in place of the printer
OUTPUT to "facture.xpr" PAGED PAGE-SIZE 60.
Programmation notes
2. Send your report in this file
These linesFOR
are sufficient to make a report with graphical lines.
EACH customer :
DISPLAY Cust-num Name WITH STREAM-IO.
PROGRESS loadsEND. a DLL using the PATH, not the PROPATH. Verify that
the DLL is in the correct directory.
3. Close the xPrint file
Specify WITH STREAM-IO
OUTPUT in the DISPLAY instruction, xPrint uses the '-'
TO TERMINAL.
character to determine where labels and columns are located.
4. Call xPrint
After the RUN
RUN printFile,
printFile vpxPrint file can be deleted.
("facture.xpr").
In this example,
5. Add report isxPrint
the standard ran without
includepreview.
:
{ xPrint.i }
www.4gl.fr
Preview
With the previous
example, a first report
was made, like the
one you did with The title of the PREVIEW window
PROGRESS. can be modified with
How to add a preview ? <TITLE=TitleOfPreviewWindow>
But now you have
graphical lines Simply add a tag <PREVIEW>
between columns. in your vpxPrint file.
PUT CONTROL "<PREVIEW>".
Syntax: <PREVIEW[=ZoomToWidth]>
to adjust the preview to the report width.
www.4gl.fr
Programmation.
Like HTML, vpxPrint uses tags.
These tags allows you to :
apply different attributes to your report : font, character size,
colors, orientation portrait or landscape…
set the cursor position in the page : Row-Column, relative
(LINE +- n) absolute position, margin-independent,
draw : lines, rectangles, ellipses,
insert images : *.bmp, *.jpg, *.wmf, *.emf
……
www.4gl.fr
X Axis
C1 C2 C3 C4 C5 C6 C C8 C9 Non-proportional FONT.
7
R1 ABCDEIW
SKIP
R2 Note the size difference <LPI6>
between the two fonts. 6 lines per
R3 ABCDEIW Every line Skip advances the current position
inch
proportional font
R4 depending of the value of the <LPI> tag.
R5 (<LPI6> défault value)
R6
Y axis
Row-Column positionning.
Rows and columns are defined by
<R> (rows) et <C> (columns).
<UNITS=MM>
And specify:
<AT=30,110>
<#1> Total due #3
defines the bookmark #1
located at the current 12276 North Street – Boston 02114 (MA)
#2
AB12
<=#1> La voile en folie
<=#2> AB12
Bookmarks are
numeric or Total due #3
alphanumeric values.
12276 North Street – Boston 02114 (MA)
Phone (617) 450-0087 www.allaround.com
www.4gl.fr
Bookmarks
To move a bookmark, simply redefine it..
but when font, size, attributes differences exist in the same line,
result is incorrect.
Tag <ALIGN=BASE> allows you to align
characters with the font base line
<R2><C10><#1>
<R+10><C+20>
<IMAGE#1=c:\MyImages\logo.jpg>
..defines a rectangular area starting from the #1 bookmark to
the current point. (10 lines lower, 20 cols on the right)
and inserts an image.
www.4gl.fr
Images.
You can specify a transparent background for
your images with :
<TRANSPARENT= TRUE>
Area definition. www.4gl.fr
In the previous slide, you have seen the area definition within a page.
1. Place a bookmark :
<AT=30,50><#1> bookmark #1 3 cm from top, 5 cm from left
#1
A rectangular area is now defined
<AT=30,50><#1>
#1 <AT=+50,+60>
<RECT#1> (Rectangle from bookmark #1)
Same as rectangles.
<AT=30,50><#1>
#1 <AT=+50,+60>
<LINE#1>
…draws a line where border color is
defined by <LINECOLOR> and width by
<|> or <||>
Ellipses. www.4gl.fr
<AT=30,50><#1>
#1 <AT=+50,+60>
<ELLIPSE#1>
…draws an ellipse filled with
<BGCOLOR>, where the border color is
defined by <LINECOLOR> and width by
<|> or <||>
www.4gl.fr
<FROM> tag.
In previous slides, we used bookmarks. An easier syntax can be
used to reduce the vpxPrint coding :
<FROM>
X
<AT=30,50><FROM>
<AT=+50,+60>
<RECT>
<LINE>
<ELLIPSE>
<AT=30,50><#1>
#1
Thank you for your great support. Je me répète
mais ... merci merci merci, je suis impressionné
par la rapidité à laquelle vous appréhendez nos
<AT=+70,+90>
<FRAME#1>
besoins. You're solution works great!!! Our
reports look nice this way. I will send a order for
xprint tomorrow morning. Thank's a lot!, it really
help me out of that problem, keep it in that way !!
I still find your support, and product to be
supreme and look forward to implement it in my
(frame).
<USE#1>
…asks vpxPrint to start writing in
this area.
After the <USE> tag, character printing occurs in the
frame area with WORD WRAP mechanism. </USE>
restores to the standard 'FULL-PAGE' mode.
vpxPrint frames. www.4gl.fr
Thank you for your great product to be supreme and pleasing that you respond it in that way !! I still find your
support. Je me répète mais ... look forward to implement it so quick. Thank you for your support, and product to be
merci merci merci, je suis in my applications. Thank great support. Je me répète supreme and look forward to
impressionné par la rapidité à you for your support, I like mais ... merci merci merci, je implement it in my Thank you
laquelle vous appréhendez your xPrint.dll very much suis impressionné par la for your great support. Je me
nos besoins. You're solution and my company will rapidité à laquelle vous répète mais ... merci merci
works great!!! Our reports probably decide to purchase appréhendez nos besoins. merci, je suis impressionné
look nice this way. I will send a full unlimited license You're solution works great!!! par la rapidité à laquelle vous
a order for xprint tomorrow shortly. Thanks for your Our reports look nice this appréhendez nos besoins.
morning. Thank's a lot!, it support, I find it very way. I will send a order for You're solution works great!!!
really help me out of that pleasing unlimited license xprint tomorrow morning. Our reports look nice this
problem, keep it in that way !! shortly. Thanks for your Thank's a lot!, it really help way. I will send a order for
I still find your support, and support, I find it very me out of that problem, keep xprint tomorrow morning.
<CHAIN=1,2,3>
The <NEXTFRAME> tag forces the frame chain to the next one.
www.4gl.fr
'PROGRESS'
automatic mode
www.4gl.fr
'PROGRESS' automatic mode.
Don't forget
<PROGRESS> mode is WITH STREAM-IO
active by default. for the dashes printing.
If your page headers use dashes, this automatic mode can disturb your
report…
You can manually drive this mode with :
Activation <PROGRESS>, Inactivation </PROGRESS>
www.4gl.fr
'PROGRESS' automatic mode.
When vpxPrint draws automatic lines ?
at end of page,
at end of report
Cust num Name Tel.
Cust num Name Tel.
12345 Dupont Albert 0477545584
12345 Dupont Albert 0477545584 12346 kkhsdfkj sdkj 123213121
12346 kkhsdfkj sdkj 123213121 12245 Ioikjlkl lklk 89956445
12245 Ioikjlkl lklk 89956445 4512125 llkjkkjn kj k 45589545
4512125 llkjkkjn kj k 45589545
12345 Dupont Albert 0477545584
12346 kkhsdfkj sdkj 123213121
12245 Ioikjlkl lklk 89956445
4512125 llkjkkjn kj k 45589545
EOF
PAGE
www.4gl.fr
'PROGRESS' automatic mode.
Customer Customer
Number Name Tel. In your labels are higher
12345
12346
12245
John 0477545584
kkhsdfkj sdkj 123213121
Ioikjlkl lklk 89956445
than one line, specify
4512125 llkjkkjn kj k 45589545
12345
12346
Dupont Albert
kkhsdfkj sdkj
0477545584
123213121
<PROLABELS=n>
12245 Ioikjlkl lklk 89956445
4512125 llkjkkjn kj k 45589545
12345
12346
Dupont Albert
kkhsdfkj sdkj
0477545584
123213121
to indicate to vpxPrint the
12245 Ioikjlkl lklk 89956445
4512125 llkjkkjn kj k 45589545 height of your labels.
12345 Dupont Albert 0477545584
12346 kkhsdfkj sdkj 123213121
12245 Ioikjlkl lklk 89956445
4512125 llkjkkjn kj k 45589545
www.4gl.fr
Additional functions
www.4gl.fr
Oriented texts, line width.
<ANGLE=n>
n is the number of degrees to rotate
the text. (reversed by </ANGLE>)
<|n>
set the line width (in pixels) for
lines, rectangles and borders. This
value vary with printer resolution.
So you can use <||n> for printer-
independent width.
<||1> is a one-pixel width on a 300
DPI printer and is translated to two-
pixels for a 600 DPI printer.
www.4gl.fr
Page orientation
<OLANDSCAPE>
<OPORTRAIT>
If number
The present, the <PRINTER>
of copies to print is defined by :
tag must be placed
<Xn> at the
beginning
Example : <X2>ofprints
yourtworeport
copies.file.
www.4gl.fr
Bin selection
ANSI
DEFAULT
SYMBOL
SHIFTJIS
<CHARSET=Charset-name> HANGEUL
EASTEUROPE
HEBREW
RUSSIAN
ARABIC
TURKISH
www.4gl.fr
Total page count.
<#PAGES>
is replaced with the total number of pages of your report.
Tutorial is over…
Summary
Quit
www.4gl.fr
is the solution
BEST solution
for printing from PROGRESS.