[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Puzzled over DECLARE-PRINTER
Hi !!
If I have understood your problem correctly. You're unable to
print duplex and change POINT size, PITCH etc...
This is how I do. Encode and print the below escape seq. once at the
beginning of the output file.
/* Command */
encode '<27>&l1S' into $flip-over
print $flip-over ()
/* Command */
Use alter-printer to change the point size, pitch,font etc within the report
just before
the print statement. Please check all the arguments.
/* Command */
alter-printer
point-size = 11
/* Command */
Hope I did not misunderstand the problem...
Regards,
BHB
-----Original Message-----
From: Sivaram Gowkanapalli [mailto:sillysiva@YAHOO.COM]
Sent: February 22, 1999 9:48 AM
To: Multiple recipients of list SQR-USERS
Subject: Re: Puzzled over DECLARE-PRINTER
Hi,
try using
use-printer-type=...........
before ur print statements. i had the same problem and
the above command helps.
---Guy Simonian <SIMOGUY@PSNC.COM> wrote:
>
> I've got both DECLARE-REPORT and DECLARE-LAYOUT working as expected.
>
> DECLARE-PRINTER has no effect on my output file. I thought it would
override the PRINTER-TYPE declaration made by DECLARE-REPORT, but it
does not, regardless of where it is placed within the setup section.
I've also tried using for-reports=(ALL) also with no effect.
>
>
>
> BEGIN-SETUP
>
> declare-printer xyz
> for-reports=(duplex-report)
> type=PS
> point-size=10
> pitch=17
> font=3
> end-declare
>
> Declare-Layout duplex-layout
> paper-size=(8.5,11)
> orientation=LANDSCAPE
> max-columns=177
> max-lines=58
> left-margin=0
> top-margin=0
> line-height=9
> char-width=4.32
> End-Declare
>
> Declare-Report duplex-report
> layout=duplex-layout
> printer-type=lineprinter
> End-Declare
>
> END-SETUP
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com