<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">I use different methods of
printing based on the details and variables needed for the
output. A basic form will use the report filePro function and
more complex printing will use an input process calling separate
forms that build one report, such as inv_hdr, inv_det, inv_sub,
and inv_ftr. <br>
<br>
The Odd part is when the same printer name is used and the same
print codes are on the top of both types of forms, they do not
command the printer in the same way.<br>
<br>
Example the ESC codes in the file of one that works, selecting
tray 4 and sending 3 copies using a report method: (spaces added
to show more clearly)<span style="font-size: 10.5pt; color:
rgb(51, 51, 51);"><o:p></o:p></span><br>
<span style="font-size: 10.5pt; color: rgb(51, 51, 51);"><o:p></o:p></span><br>
<span style="font-size: 10.5pt; color: rgb(51, 51, 51);">ESC
E ESC (10UESC(s0p10h0s0b4099T ESC &l3X ESC &l8H</span><br>
<span style="font-size: 10.5pt; color: rgb(51, 51, 51);"></span><br>
<span style="font-size: 10.5pt; color: rgb(51, 51, 51);">The same
print code on an output using the formm and form commands from
the input process looks like this:</span><br>
<span style="font-size: 10.5pt; color: rgb(51, 51, 51);"></span><span
style="font-size: 10.5pt; color: rgb(51, 51, 51);"> </span><span
style="font-size: 10.5pt; line-height: 106%; color: rgb(51, 51,
51);"> ESC E ESC (10UESC(s0p10h0s0b4099T ESC ESC E3X ESC
&l8H</span><br>
<span style="font-size: 10.5pt; line-height: 106%; color: rgb(51,
51, 51);"><br>
Has anyone come across this, or have a better method of setting
the print codes so what gets to the device will be as needed?</span><br>
<span style="font-size: 10.5pt; line-height: 106%; color: rgb(51,
51, 51);"><br>
Thanks, </span><span style="font-size: 10.5pt; line-height:
106%; color: rgb(51, 51, 51);"><br>
</span></font>
<p><font face="Helvetica, Arial, sans-serif"><span style="font-size:
10.5pt; line-height: 106%; color: rgb(51, 51, 51);"><br>
</span></font></p>
<p><font face="Helvetica, Arial, sans-serif"><span style="font-size:
10.5pt; line-height: 106%; color: rgb(51, 51, 51);"><br>
</span></font></p>
</body>
</html>