Вы находитесь на странице: 1из 58

www.4gl.

fr

Copyright 4GL – 1999-2012


Summary
www.4gl.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 !

Orientation (PORTRAIT or All around


sports
LANDSCAPE), multiples copies, ….……
recto-verso,
Escape sequences
per page, etc…

…IMMEDIATE PRINTING ! Total


due
12276 North Street – Boston 02114 (MA)
Phone (617) 450-0087
www.4gl.fr
Easy to learn !
Nothing is more easy than moving
More
your actual specific
reports ? !
to vpxPrint
Insert vpxPrint tags.
insert the standard vpxPrint include file,
{ xPrint.i } PUT "<PREVIEW>".
send your"<B><Farial><P14>Report
PUT report to a file, title".
OUTPUT TO "myFile.xpr" PAGED PAGE-SIZE 60.
PUT "<BGCOLOR=GREEN><FILLRECT>".
then call vpxPrint:
RUN printFile( "myFile.xpr").
www.4gl.fr
Easy to deploy…

Store the DLL in a directory of the WINDOWS


PATH. (the current working directory is a good candidate…)
Copy the xPrint.lic file in your working directory.
This file contains your activation keys.

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…

but it's the less expensive too !

Developement license RUN-TIME license per site,


per site 450 €. any number of users 300 €.

Compare with other


solutions !

Price list as of january 2012


Our users… www.4gl.fr

Several VARS and PROGRESS users


have choosen vpxPrint.
Our users are coming from :
France, Germany, Sweden,
Switzerland, Equator, Hong-Kong,
Belgium, England, Sri-Lanka,
Brazil, South Africa, Argentina,
Spain, Norway, Yugoslavia
Netherlands, Finland, Mexico
Canada, Slovak Republic, Polyneysia,
Austria, Philippines, Malaysia,
United States, Turkey, Korea,
Russia …
Our users talk about vpxPrint…
www.4gl.fr

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…

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 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
applications.
Thank you for your support, I like your xPrint.dll very much and my company will probably decide to
purchase a full unlimited license shortly. Thanks for your support, I find it very pleasing that you respond
so quick.
You beauty! Thanks very much for this feature! I'll get it to work straight away!
Congratulations for the news that you included in xPrint. It was so good.
I love xPrint. My presentation to my boss was postponed to next week.
I have really appreciated your prompt e-mails and your professionalism. You are doing a fine job.
Merci pour l'efficacité.
Thanks for the help so far, you have been excellent and all help has been gratefully received.
……
www.4gl.fr

On the WEB… www.4gl.fr

Download vpxPrint today !


www.4gl.fr

The quick tour is over…

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

The vpxPrint page.


vpxPrint uses the page as a coordinate system where rows and
cols are defined by the number of lines per inch (LPI) and the
number of characters per inch (CPI).

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

<CPI12> 12 characters per inch


www.4gl.fr

Row-Column positionning.
Rows and columns are defined by
<R> (rows) et <C> (columns).

<R5><C20> Cursor at row 5, column 20.

<R5.7><C20.3> Decimal values are accepted

<R+3><C-5.2> Relative positionning.


www.4gl.fr
Absolute position.
You can position your cursor at any
point, independent of printers
margins.

Choose your unit:


<UNITS=MM>
or <UNITS=INCHES> (défault)

<UNITS=MM>
And specify:

<AT=50,100.5> 50 mm from top, 100.5 mm from left


<AT=+50> 50 mm lower
<AT=,-30> 30 mm to left
www.4gl.fr

Absolute position. All around sports


Absolute position is well used in ….……
case of pre-printed documents :
invoices, cheques…

Don't forget that this


position is MARGIN-
INDEPENDENT
Total due

12276 North Street – Boston 02114 (MA)


Phone (617) 450-0087 www.allaround.com
www.4gl.fr
Bookmarks.
For background usage,
All around sports
vpxPrint uses bookmarks. ….……
These bookmarks define
different anchor points in the #1
page.
Tag <#>
#2
Bookmarks can be
aphanumeric strings:
<#Address>

<AT=30,110>
<#1> Total due #3
defines the bookmark #1
located at the current 12276 North Street – Boston 02114 (MA)

position. Phone (617) 450-0087 www.allaround.com


www.4gl.fr
Bookmarks.
Set the cursor on these bookmarks,
with : All around sports
….……
<=#n>
#1
La voile en folie

#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..

<=#1>12345 INOX Bolt 1,50 10 15,00


<=#1><R+2><#1>
Go to the #1 bookmark <=#1>
Print 12345 INOX Bolt 1,50 10 15,00
Go to the #1 bookmark <=#1>
This new point will be located at the same
Movethat
column thethe
cursor two lines
previous one,lower <R+2>
Andtwo
set lines
a newlower.
place for the #1 bookmark <#1>
You can use this technic to print
invoices…
www.4gl.fr

Bookmarks and <AT> tag.


The <AT> tag can use the bookmark information.
New additional syntax for <AT> :

[+][-] row position [+][-] col position


<AT= , >
# bookmark number # bookmark number
Example :
• <AT=#1,#2> set the row position at the same value
than bookmark #1 and the column position to the same
value than bookmark #2.
Character attributes www.4gl.fr

Every character can use specific attributes like:

Font <F>. Example : <Farial> or <Fcomic Sans MS>


Size <P>. Example : <P10> or <P24>
Color <FGCOLOR>. Example : <FGCOLOR=GREEN>
or <FGCOLOR=128,10,112> in RGB mode
Style : <B> <I> <U> for bold, italic or underline
reversed by </B> </I> </U>

PUT "<R2><C10><Farial><P20>TITLE" skip(2)


"<P12><B>My text is here</B>".
www.4gl.fr
Font alignment.
Printed characters are aligned with the top line of the current point..

This text is based on the top margin

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

This text is aligned with the base-line.


Reverse of <ALIGN=BASE> is <ALIGN=TOP>
www.4gl.fr
Images.
vpPrint can print *.bmp, *.jpg, *.wmf, *.emf images.
Syntax : <IMAGEc:\MyImages\logo.jpg>
This instructionThis
respects the is
image proportions but vary with
file name a WINDOWS
printer and image resolutions. The printed size will be different
name (\ and not /)
depending of the various combinations.
How to solve this problem : define a frame where vpxPrint will
print the image (with correct proportions).

<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

2. Move the current point :


<AT=+50,+60> Moving 5 cm down, 6 to right

#1
A rectangular area is now defined

The next step is an action in this area :


Insert an image, draw a rectangle, circle, line or insert a text.
www.4gl.fr
Rectangles.
Prerequesite : you should have read the previous slide (work area definition).

<AT=30,50><#1>
#1 <AT=+50,+60>
<RECT#1> (Rectangle from bookmark #1)

…draws a transparent rectangle where


border color is defined by the
<LINECOLOR> tag and the border width
by <|> or <||> tags.

<FILLRECT#n> Filled rectangle (<BGCOLOR>) without border


<FILLRECT+#n> Filled rectangle with border
<FILLRECT)#n> Filled rectangle with border et round corners.
Lines. www.4gl.fr

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

Unlike rectangles, an ellipse is always filled.

<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>

Only one point can be a <FROM> point at a time.


vpxPrint frames. www.4gl.fr

<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

…defines a work area in a page


applications. Thank you for your support, I like
your xPrint.dll very much and my company will
probably decide to purchase a full unlimited
license shortly. Thanks for your support, I find it
very pleasing that you respond so quick.

(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.

If the inserted text must continue on the next page


in the same frame (or frame chain), specify
<USE#1,AUTO>
Frame chaining. www.4gl.fr

Thank you for your great


support. Je me répète mais ...
<AT=30,50><#1>
merci merci merci, je suis
impressionné par la rapidité à
<AT=+70,+90>
laquelle vous appréhendez nos
besoins. You're solution works <FRAME#1>
great!!! Our reports look nice this

way. I will send a order


for xprint tomorrow
morning. Thank's a lot!,
<AT=110,90><#2>
it really help me out of
<NEXTFRAME>
<AT=+50,+30>
<FRAME#2>

productt to be supremelook nice


this way. I will send a order for
xprint tomorrow morning. Thank's a
<AT=170,50><#3>
lot!, it really help me out it in that
way !! I still find your support, and <AT=+20,+90>
product to be supreme and look
forward to implement it in <FRAME#3>

<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.

When the PROGRESS mode is activated (<PROGRESS>),


vpxPrint can detect labels of standard editions.
(vpxPrint scans for succession of dashes '----' that PROGRESS uses for
underlining column labels. With this information he can determine the
place and width of each column)
Customer Name Tel.
--------- ------------- -----------
12345 John 0477545584
12346

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 ?

vpxPrint can't always determine when a PROGRESS frame is terminated.

However, this is really true in two cases :

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.

vpxPrint uses two other cases :

end of PROGRESS mode: </PROGRESS>,


end of vpxPRINT frame : </USE>

as events 'END of FRAME'


for drawing automatic lines
If your page includes multiple PROGRESS frames, you
must indicate to vpxPrint each end-of-frame
with </USE> or </PROGRESS>
(in this last case, don't forget to add a <PROGRESS> tag to repeat the
PROGRESS automatic mode processing)
www.4gl.fr
'PROGRESS' automatic mode.

If your page includes multiple PROGRESS frames, you must indicate to


vpxPrint each end-of-frame with </USE> or </PROGRESS>

for each customer no-lock:


disp cust-num name with stream-io.
put control "</use>"
"<C20><#1><C+50><R+60><FRAME#1><USE#1>".
for each order
End of customer no-lock
of PROGRESS :
frame,
display order-date
The newformat "99/99/9999"
askorder-num
vpxPrint toDISPLAY
draw lines.
(PROGRESS frame ) will be
Order.Instructions
placed in awith stream-io.
vpxPrint frame on
end.
put control "</use>". the right.
end.
End of PROGRESS frame
for orders, tell that to
vpxPrint.
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

Page orientation can be set by :

<OLANDSCAPE>
<OPORTRAIT>

Orientation can be changed within a report, but if you a


preview is started, then each orientation update shows
the preview and create a new spool file.
www.4gl.fr
Printers

Printers can be selected by :


<PRINTER?>
<PRINTER<Name>>
<PrinterSETUP>
Printer? asks for a printer,
PrinterSETUP opens the printer setup dialog,
Printer<Name> opens the first printer whose
name begins by <Name>.

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

To select a particular tray for paper input,


use the <BIN> tag.
AUTO
CASSETTE
ENVELOPE
ENVMANUAL
<BIN=bin-name> LARGECAPACITY
LARGEFMT
LOWER
MANUAL
MIDDLE
ONLYONE
SMALLFMT
TRACTOR
UPPER
www.4gl.fr
Escape sequences

Escape sequences can be sent to the printer on


a per-page basis.
<ESCAPE=escape-sequence>
non-printable characters can be written with a # or \
prefix.
Example : ESC character (1B in hex, 033 base 8) is
coded as #027 or \027

This tag is not intented for bold characters, form feeds…


Its goal is to allow to send sequences at beginning of each
page. Tray selection, page reverse…
www.4gl.fr
International character sets

Character sets are selected with the CHARSET tag :

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.

You can write in your output :


"Page " Page-number " of <#PAGES>".
www.4gl.fr

Tutorial is over…

Summary
Quit
www.4gl.fr

Now you know why

is the solution
BEST solution
for printing from PROGRESS.

See you soon…

Вам также может понравиться