[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Location of Form-Feed
We have been having problems printing the output from our SQR programs when
we put them into production that were not occurring in our test
environment. The form-feeds (^L) are not in the same location, so the
printing on labels and forms is not aligned properly. We compared the
programs, the files they included and the SQR initialization files and
could not find any differences. Finally, we noticed we are running an
older version of SQR in our test environment than we had thought we were.
Test Environment: SQR for PeopleSoft/8.18/HP 9000/HPUX B.11.00/Oracle
8.0.6/Jun 05 2002
Production Environment: SQR for PeopleSoft/8.19/HP 9000/HPUX
B.11.00/Oracle 8.0.6/Jan 02 2003
I wrote a very simple program and ran it in both environments to see if how
we were declaring the printer and layout was causing the problem.
begin-heading 5
print $sqr-ver (3,1)
end-heading
begin-program
show $sqr_ver
move 200 to #line
print 'Start' (+1, 1)
while #line > 0
print 'Line' (+1, 1)
print #line ( , 10) edit '999'
subtract 1 from #line
end-while
print 'End' (+1, 1)
end-program
Even with these minimal commands, the output was still different. The
form-feeds from the 8.18 version were at the end of each page, while those
from the 8.19 version were at the top. In the output from our regular
programs, 8.18 always puts the form-feeds at the end of the page, but 8.19
sometimes puts it at the end of the heading instead of the start of the
page. Line Printer (LP) was the printer type in all cases.
Has anyone experienced this change in the output from different versions of
SQR?
Daniel Vandenberg
Administrative Computing
University of Wisconsin Oshkosh
Email : vandberg@uwosh.edu
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users