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

[sqr-users] RE: Printing order and performances



Hi Charly,

I don't know as that would impact performance at all; my guess is it would not. 
 What you need to keep in mind is that SQR does not actually 'print' a page 
until the entire page is filled.  In fact, if you have headers, the headers do 
not get 'printed' until the body of the page below them have already been 
written.  Therefore, with a header section, SQR will always be 'backing up' on 
every single page.  If you were printing directly, the printing would not occur 
line by line as you print them, but page by page, once each page is complete.

HTH,

Denise M. White
Sr. Software Engineer
Vicor 
--__--__--

Message: 2
Date: Thu, 13 Nov 2003 12:31:18 +0100 (CET)
From: =?iso-8859-1?q?Charly=20Lebrun?= <calebrun@yahoo.com>
To: sqr-users@sqrug.org
Subject: [sqr-users] Printing order and performances
Reply-To: sqr-users@sqrug.org

Hello Group !

I'm wondering wether the order of the printing commands are written in the code 
has an impact on
performances...

Obviously, if you are using a dot matrix printer, you better have you code 
writting data from the
top to the bottom of the page, without going backward...

In my case I never print directly. I always used the -ZIV or -KEEP options to 
print from the SPF
file on LASER printers.

Will my code have a performance impact ?

To be more precise, will the following code :

Print 'Line 1' (100, 50)
Print 'Line 2' (200, 50)
Print 'Line 3' (300, 50)

be faster than :

Print 'Line 2' (200, 50)
Print 'Line 1' (100, 50)
Print 'Line 3' (300, 50)

Both codes will give the same result on paper...

I'm running Brio SQR 6.2 on Windows 2000 with Oracle database.

Thanks for the hints. If noone has an answer, I will perhaps issue some 
testings...

Charly

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users