Formatting reports / Escape sequences / Axiant Quiz

Dennis Hassell dennis@dhassell.com
Tue, 6 May 2003 16:53:38 -0400


I think you need to modify one of the defs:

Def esc char*1 = char(esc_num)[2:1]

The decimal 27 will sit in the rightmost part of the esc_num integer.
The [1:1] pulls the left part, a null.

Dennis Hassell
Dennis Hassell and Associates
(941) 746-4919
(941) 224-3981 - cell



-----Original Message-----
From: powerh-l-admin@cube.swau.edu [mailto:powerh-l-admin@cube.swau.edu]
On Behalf Of Ole Hansen, ScanConsult
Sent: Tuesday, May 06, 2003 12:49 PM
To: powerh-l@lists.swau.edu
Subject: Formatting reports / Escape sequences / Axiant Quiz


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 =


= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to
powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.