[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
How can I get SQR3 to link to a Xerox printer?
Hi All,
I'm using SQR version 3.0.5 on an HP-UX platform backed by an Oracle
database. Most of the SQR reports I produce go to an HP laser printer but
there are a few that need to print on a huge Xerox high speed
printer/copier. Unfortunately, this beast is not directly supported as a
printer type by SQR. In order to get my reports formatted correctly, I will
have to convert my .lis file for each report to a straight ASCII file. The
reports in question are set up as direct prints and can easily be defined as
line printer. My question is how do I get the .lis files changed to a
straight ASCII file? One idea is to encode a hidden ASCII escape character
and print it at the end of every line. Later, a UNIX script could open the
.lis file and remove the hidden character as well as the <return> character
that would come after it. This ostensibly would make the .lis file a group
of ASCII characters that could be aligned using Xerox's formatting program
that accompanies this huge printer. Does that sound plausible? Anyone done
anything similar? Do you have examples of your code that you could e-mail
me? Any suggestions would be appreciated...
Thanks!
Kent Cys