HP to Windows QUIZ printing
Joe Boyle
atla38@dsl.pipex.com
Thu, 31 Mar 2005 16:43:47 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0046_01C53610.D0573540
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
in that case you can usually code as below to dynamically set the printer
(but I suspect that escape chars won't survive) where qz1 is a compiled
report,
Quiz
exe qz1.qzc NOGO
set rep dev printer \\node\name <file:///\\node\name>
GO
This requires that you write the script before it is called, but you can do
this using quiz.
Regards, Joe.
_____
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Deskin, Bob
Sent: 31 March 2005 15:25
To: Don Baird @ Encore; powerh-l@lists.sowder.com
Subject: RE: HP to Windows QUIZ printing
I ran some fast tests and couldn't get PH_PRINTER or DESTINATION to do
anything. However, the string option can be used to direct output to a
specific printer by using the network printer name which is typically in the
form \\node\name <file:///\\node\name> . We'll have to look into the other
two.
Bob Deskin
Senior Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Don Baird @ Encore
Sent: March 30, 2005 8:16 PM
To: powerh-l@lists.sowder.com
Subject: HP to Windows QUIZ printing
Hi,
I am in the middle of migrating a fairly large app from the HP3000 to
Windows. Fooling around with all the various ways to handle printed output
from QUIZ (8.41.D). I need to settle on a method for re-directing printed
output from batch jobs.
I am wondering if anyone has any doco, or better yet a working example, of
the PH_PRINTER env variable on Windows. Can't figure out what to set it to,
or even if it works. Would be a nice option in some cases if I could make
it behave.
I have a similar problem with the DESTINATION option of SET REPORT. Anyone
made this work on Windows? Output just keeps going to the default printer
regardless of what I try.
Last but not least anyone tried SET REPORT DEVICE PRINTER <string> - this
one is in the migration guide. Not sure what <string> should be. I did
check my QUIZ reference manual, but it was not much help. It mentions all
these approaches, but that's about it. Where can I find any doco on this?
I am probably not looking in the right place.
I sure wish Windows had file equations - so far this is the thing I miss the
most. Any help would be appreciated.
Don Baird
EnCore Systems
Houston TX
This message may contain privileged and/or confidential information.
If you have received this e-mail in error or are not the intended recipient,
you may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.
------=_NextPart_000_0046_01C53610.D0573540
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40"
xmlns:ns0=3D"http://www.exclaimer.co.uk">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Message</title>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PostalCode"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"State"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"address"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>in that case you can usually code =
as below
to dynamically set the printer (but I suspect that escape chars =
won’t survive)
where qz1 is a compiled report,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Quiz <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>exe qz1.qzc =
NOGO<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>set rep dev printer =
</span></font><font
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:blue'><a =
href=3D"file:///\\node\name">\\node\name</a><o:p></o:p></span></font></p>=
<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>GO</span></font><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span=
></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>This requires that you write the =
script
before it is called, but you can do this using =
quiz.<o:p></o:p></span></font></p>
<div>
<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>Regards, Joe.</span></font><font color=3Dnavy><span
style=3D'color:navy'> <o:p></o:p></span></font></p>
</div>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D3 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
powerh-l-admin@lists.sowder.com [mailto:powerh-l-admin@lists.sowder.com] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Deskin, Bob<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 31 March 2005 =
15:25<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Don Baird @ Encore;
powerh-l@lists.sowder.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: HP to =
Windows QUIZ
printing</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>I ran some fast tests and couldn't =
get
PH_PRINTER or DESTINATION to do anything. However, the string option can =
be
used to direct output to a specific printer by using the network printer =
name
which is typically in the form <a =
href=3D"file:///\\node\name">\\node\name</a>.
We'll have to look into the other two.</span></font><o:p></o:p></p>
</div>
<div>
<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><!-- Converted from =
text/rtf format -->Bob
Deskin &=
nbsp;
</span></font><br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Senior
Product Manager, Application Development Tools, Cognos =
Inc.</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>bob.deskin@cognos.com
(613) 738-1338 ext 7268 FAX: <st1:address w:st=3D"on">(<st1:Street =
w:st=3D"on">613)
727-1178<font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
font-family:"Times New Roman"'> <br>
</span></font>3755 Riverside Drive P.O. Box =
9707</st1:Street></st1:address>
Stn. T, <st1:place w:st=3D"on"><st1:City w:st=3D"on">Ottawa</st1:City> =
<st1:State
w:st=3D"on">ON</st1:State> <st1:PostalCode w:st=3D"on">K1G =
4K9</st1:PostalCode> <st1:country-region
w:st=3D"on">CANADA</st1:country-region></st1:place></span></font> =
<o:p></o:p></p>
</div>
<blockquote =
style=3D'margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
powerh-l-admin@lists.sowder.com [mailto:powerh-l-admin@lists.sowder.com] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Don Baird @ =
Encore<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> March 30, 2005 8:16 =
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
powerh-l@lists.sowder.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> HP to Windows =
QUIZ
printing</span></font><o:p></o:p></p>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi,</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am in the middle of migrating a fairly large app =
from the
HP3000 to Windows. Fooling around with all the various ways to =
handle
printed output from QUIZ (8.41.D). I need to settle on a method for
re-directing printed output from batch =
jobs.</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> I am wondering if anyone has any doco, or =
better yet a
working example, of the PH_PRINTER env variable on Windows. Can't =
figure
out what to set it to, or even if it works. Would be a nice option =
in
some cases if I could make it behave. </span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a similar problem with the DESTINATION option =
of SET
REPORT. Anyone made this work on Windows? Output just keeps =
going
to the default printer regardless of what I =
try.</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Last but not least anyone tried SET REPORT DEVICE =
PRINTER
<string> - this one is in the migration guide. Not sure what
<string> should be. I did check my QUIZ reference manual, =
but it
was not much help. It mentions all these approaches, but that's =
about
it. Where can I find any doco on this? I am probably not =
looking in
the right place.</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I sure wish Windows had file equations - so far this =
is the
thing I miss the most. Any help would be appreciated. =
</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Don Baird</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>EnCore Systems</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><st1:place w:st=3D"on"><st1:City w:st=3D"on"><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Houston</span></font></st1:C=
ity><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> <st1:State
w:st=3D"on">TX</st1:State></span></font></st1:place><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
</blockquote>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </sp=
an></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>This message
may contain privileged and/or confidential information. If you =
have
received this e-mail in error or are not the intended recipient, you may =
not
use, copy, disseminate or distribute it; do not open any attachments, =
delete it
immediately from your system and notify the sender promptly by e-mail =
that you
have done so. Thank you.</span></font> <o:p></o:p></p>
</div>
</div>
</body>
</html>
------=_NextPart_000_0046_01C53610.D0573540--