[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Remove the reset Character.



SQR version 4 was supposed to fix a problem in which the printer-init string 
was being output before the reset character.  I had to solve this in version 3 
by doing an encode and print-direct before printing anything to the file.

If your program might not create any report at all, this causes the annoyance 
of files with only the initialization string in them.

It looks like this:

#define init-print-direct <27>E<27>&l1O

encode {init-print-direct} into $text
print-direct nolf $text




Dave

At 09:20 AM 5/6/1999 -0400, you wrote:
>Look in the #include file that sets up your printer.  You will find the reset 
>character in there.
>Sam
>
><<< Ngo Bao Chau <baochaun@MAIL.TRANSCONTINENTAL.CA>  5/ 6  9:01a >>>
>Hi everyone.
>
>        I use SQR with peoplesoft ver: 7.05.  I want to remove all the reset
>character (<27>E<27>)in my lis file.  After doing some test, I think SQR
>generate automtically a reset character in the lis file, if I use
>declare-layout and declare-printer.  I try to put init-string = <27>&l0L in
>declare-printer, but after this string the Reset character is following.
>
>        Any suggestion will be appreciate
>
>Merci
>
>Ngo Baochau
>mailto:baochaun@transcontinental.ca
>tel: (514) 335 - 1466/4943
>http://www.transcontinental.ca
>