Formatting reports / Escape sequences / Axiant Quiz
Ole Hansen, ScanConsult
oh@scanconsult.dk
Tue, 6 May 2003 18:49:17 +0200
Hi,
In order to print a very wide report (165 chars), I am (foolishly?) trying
to embed an escape sequence in my Axiant Quiz report - the good ol'
PowerHouse way :
access tbl_misc
choose f_key "UNIQUERECORD"
def esc_num int*2 = 27
def esc char*1 = char(esc_num)[1:1]
def esc_seq char*20 = esc + "&k2s&l1O"
set report device printer noejectpage
initial heading esc_seq
report "Condensed and Landscape ?"
Windows seems to swallow the escape-character as I get :
<square>&k2s&l1O Condensed and Landscape ?
in 12 pitch and Portrait (the printers' default).
I have verified that I indeed have an escape character as the character
preceeding the first '&' (by specifying 'set rep dev disc name' and reading
the file with a hex editor).
Am I missing something? Or does anyone know of another way to format
odd-sized reports in Axiant - short of generating a RTF-file from Quiz and
printing it automatically via Wordpad?
TIA.
With kind regards
Ole Hansen
===========================================================
E-mail: oh@scanconsult.dk Cell Phone: +45 4040 1150
===========================================================
ScanConsult IT-Partners ApS Voice : +45 8738 7474
Jegstrupvej 96A Fax : +45 8738 7475
DK-8361 Hasselager Support : support@scanconsult.dk
Denmark Sales : sales@scanconsult.dk
http://www.scanconsult.dk
= ParaSuite : A Suite of Air Cargo Handling solutions =
= ParaSafe : A Suite of IT-Security solutions =
= Partners : Hewlett-Packard, Cognos, Microsoft and more =