[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Obtaining XX from -PRINTER:XX
- Subject: Obtaining XX from -PRINTER:XX
- From: "Fay, Brannon" <brannon.fay@PAETEC.COM>
- Date: Fri, 23 Apr 1999 13:45:42 -0400
Oracle 7.3.4
SQR 4.3.2.2
Is it possible to obtain the current printer type being used??? We are
naming our reports from a parameter in an input file, but right now the
extension is hardcoded '.ps'. I now need to output in postscript, pdf and
html, depending on the command line given via -PRINTER:XX, thus would like
to be able to obtain what XX is and apply the appropriate extension for the
report. My current solution is to add -F<ext> to the command line where
<ext> will be .ps, .pdf, .html respectively and I can set:
let $rpt = $<var from file> || $sqr-report
since $sqr-report will have the value of -F, but this seems a little
redundant.
Any ideas???
THANX,
Brannon Fay