<div>Thank you Jeff,</div>
<div>&nbsp;</div>
<div>Sorry for this late mail. I'd been on vacation.</div>
<div>Thank you for your detailed explanation and sample code.</div>
<div>I have never used PCL before. That is why this many questions.</div>
<div>&nbsp;</div>
<div>May I please know,</div>
<div>1. How I can get the documentation about using PCL in QUIZ and the commands I should use?</div>
<div>&nbsp;&nbsp;&nbsp; I could not find any help in QUIZ documentation </div>
<div>2. How do I know if the laserjet printer supports PCL?</div>
<div>3. In your example, is the INITIAL HEADING command instructs the printer to print in the defined font?</div>
<div>&nbsp;</div>
<div>I printed&nbsp;my test report with TWELVE-CPI&nbsp;&nbsp; and TEN-CPI. But there seems to be no difference.</div>
<div>What change can show me some visible change?</div>
<div>I have changed definition ESCAPE to ESCAPE1 as it is a key word.</div>
<div>RESET is also a keyword. But I didn't change it. I have listed the code I used to test. (in fact it is yours).</div>
<div>&nbsp;</div>
<div>I'll appreciate if you can help me in this.</div>
<div>&nbsp;</div>
<div>;**********************************************</div>
<div>SET REPORT DEVICE PRINTER NAME $UEV_PRINTER1</div>
<div>
<p>define esc_n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int*2&nbsp;&nbsp; = 27<br>define esc_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char*2&nbsp; = characters(esc_n)<br>DEFINE ESCAPE1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*1&nbsp; = esc_c[1:1]<br>DEFINE SIZE-A4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+ &quot;&amp;l26A&quot;<br>DEFINE LANDSCAPE-MODE CHAR*8 = ESCAPE1+ &quot;&amp;l1O&quot;
<br>DEFINE LANDSCAPE-LPP&nbsp; CHAR*8 = ESCAPE1+&quot;&amp;l41P&quot;<br>DEFINE LANDSCAPE-LPI&nbsp; CHAR*8 = ESCAPE1+&quot;&amp;l6D&quot;<br>DEFINE PORTRAIT-MODE&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;&amp;l0O&quot;<br>DEFINE PORTRAIT-LPP&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;&amp;l85P&quot;
<br>DEFINE PORTRAIT-LPI&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;&amp;l8D&quot;<br>DEFINE TWELVE-CPI&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;(s12H&quot;<br>DEFINE TEN-CPI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;(s10H&quot;<br>DEFINE POINT-SIZE-10&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;(s10V&quot;
<br>DEFINE NORMAL-PRINT&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;(s0B&quot;<br>DEFINE Compress&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp; = ESCAPE1+&quot;&amp;k2S&quot;<br>DEFINE RESET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*2&nbsp; = ESCAPE1 + &quot;E&quot;<br>;------------------------------------------------------------
</p>
<p>set rep nolim<br>set rep dev pri<br>set page len 85<br>set page width 132<br>SET PAGE NUMBER 1</p>
<p>INITIAL HEADING&nbsp;&nbsp; &amp;<br>TAB 001 LANDSCAPE-mode LANDSCAPE-lpp LANDSCAPE-lpi TEN-CPI size-a4 &amp;<br>SKIP PAGE</p>
<p>REPORT &nbsp;&nbsp;&amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>
SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP &amp;
<br>TAB 1 &quot;HELLO THERE&quot;&nbsp; &amp;<br>SKIP </p>
<p><br>FINAL FOOTING &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SKIP 3 TAB 28 &quot;*** END OF REPORT ***&quot;&nbsp; &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skip tab 1 reset</p>
<p><br>BUILD Report4_PCL_TEST<br>;***************************************************************************</p></div>
<div>Best Regards,</div>
<div>SYED.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/20/05, <b class="gmail_sendername">Jeff Hoffman</b> &lt;<a href="mailto:wonicon@optusnet.com.au">wonicon@optusnet.com.au</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Syed<br><br>If the generic option works and the printer are in good condition, go for it.<br><br>However I would start experimenting using laser printers as they are
<br>usually available all over the network (that is the users have their own,<br>no cost to your dept.). You could set up a default printer for each user at<br>their specific location.<br><br>Also you can print in landscape mode at 
16.6 chars per inch (small but<br>legible, you would have to find out if your users if the size is<br>acceptable) this would give you over 182 character per line, at 12 chars<br>per inch you get over 132 chars per line.<br>
At&nbsp;&nbsp;8 line per inch you can get over 48 lines per page landscape.<br><br>In this I am assuming that you laser printers support PCL.<br><br>Something there doing where I work at the moment is convert the print files<br>to PDL format (for use with acrobat reader) these can then be e-mailed or
<br>put onto the web for distribution, but I think this is over kill, but worth<br>looking into for the future.<br><br>The following is an indication of how to use PCL in quiz report.<br><br>Good luck<br><br>Jeff<br><br>****************************************************************************************************************************
<br>;------------------------------------------------------------<br>define esc_n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int*2&nbsp;&nbsp; = 27<br>define esc_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char*2&nbsp;&nbsp;= characters(esc_n)<br>DEFINE ESCAPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*1&nbsp;&nbsp;= esc_c[1:1]<br>DEFINE ESCAPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*1&nbsp;&nbsp;= esc_c[1:1]
<br>DEFINE SIZE-A4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CHAR*8&nbsp;&nbsp;= ESCAPE+ &quot;&amp;l26A&quot;<br>DEFINE LANDSCAPE-MODE CHAR*8 = ESCAPE+ &quot;&amp;l1O&quot;<br>DEFINE LANDSCAPE-LPP&nbsp;&nbsp;CHAR*8 = ESCAPE+&quot;&amp;l41P&quot;<br>DEFINE LANDSCAPE-LPI&nbsp;&nbsp;CHAR*8 = ESCAPE+&quot;&amp;l6D&quot;
<br>DEFINE PORTRAIT-MODE&nbsp;&nbsp;CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;&amp;l0O&quot;<br>DEFINE PORTRAIT-LPP&nbsp;&nbsp; CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;&amp;l85P&quot;<br>DEFINE PORTRAIT-LPI&nbsp;&nbsp; CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;&amp;l8D&quot;<br>DEFINE TWELVE-CPI&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;(s12H&quot;
<br>DEFINE TEN-CPI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;(s10H&quot;<br>DEFINE POINT-SIZE-10&nbsp;&nbsp;CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;(s10V&quot;<br>DEFINE NORMAL-PRINT&nbsp;&nbsp; CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;(s0B&quot;<br>DEFINE Compress&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR*8&nbsp;&nbsp;= ESCAPE+&quot;&amp;k2S&quot;
<br>DEFINE RESET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CHAR*2&nbsp;&nbsp;= ESCAPE + &quot;E&quot;<br>;------------------------------------------------------------<br><br>set rep nolim<br>set rep dev pri<br>set page len 85<br>set page width 132<br>SET PAGE NUMBER 1
<br><br>INITIAL HEADING&nbsp;&nbsp; &amp;<br>TAB 001 portrait-mode portrait-lpp portrait-lpi compress size-a4 &amp;<br>SKIP PAGE<br><br>FINAL FOOTING &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SKIP 3 TAB 28 &quot;*** END OF REPORT ***&quot;&nbsp;&nbsp;&amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;skip tab 1 reset
<br>**************************************************************************<br>SET REPORT NOLIMIT<br>set rep dev pri<br>set page len 41<br>set page width 132<br>SET PAGE NUMBER 1<br><br>INITIAL HEADING&nbsp;&nbsp; &amp;<br>TAB 001 LANDSCAPE-mode LANDSCAPE-lpp LANDSCAPE-lpi twelve-CPI size-a4 &amp;
<br>SKIP PAGE<br><br>FINAL FOOTING &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SKIP 3 TAB 28 &quot;*** END OF REPORT ***&quot;&nbsp;&nbsp;&amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;skip tab 1 reset<br><br>****************************************************************************************************************************
<br><br>At 08:50 AM 19/10/2005, you wrote:<br>&gt;Hi Syed,<br>&gt;We have used Hp2566 and similar.<br>&gt;They need a serial attachment {or network/parallel} if they have it to any<br>&gt;PC/Print sharer. They need to be shared from that machine, thus visible from
<br>&gt;the server via UNC i.e. \\PSERVER1\HP2566 etc<br>&gt;As Jeff mentioned below; you will have to use the NT<br>&gt;Print<br>&gt;Command as per the insert below<br>&gt;<br>&gt;Rem ================================================
<br>&gt;Rem&nbsp;&nbsp;Report Printer<br>&gt;Rem ================================================<br>&gt;Set My_Prn_Device=\\PServ2\HPI1<br>&gt;Rem ================================================<br>&gt;Rem&nbsp;&nbsp;Send Output to Chosen Printer
<br>&gt;Rem ================================================<br>&gt;If Exist %Ph_ZOutput%.txt Print /d:%My_Prn_Device% %Ph_ZOutput%.txt<br>&gt;<br>&gt;or similar! This is an snippet from a server executed bat file.<br>&gt;
<br>&gt;This method will honour any embedded escape sequences for compressed etc<br>&gt;that may have been used on the Hp.<br>&gt;We use a series of escape sequences embedded into Page Headings etc to<br>&gt;address laser printers.
<br>&gt;If you have any let me know and I can forward a PCL.QZS use file; which I<br>&gt;received from the list some years back.<br>&gt;<br>&gt;In short you shouldn't have to replace your printers - unless you choose to.<br>
&gt;You WILL need a non Hp3000 serial printer cable to connect the Hp2566 etc to<br>&gt;a PC/Print sharer. I'll check those specifications and get back to you. From<br>&gt;emmory it's a &quot;standard&quot; serial printer cable UNLIKE the Hp cable you may be
<br>&gt;using. This might explain your lack of output.<br>&gt;Sincerely<br>&gt;Glenn Baxter<br>&gt;=======================<br>&gt;Baxter IT Solutions Pty Ltd<br>&gt;=======================<br>&gt;-----Original Message-----
<br>&gt;From: Jeff Hoffman [mailto:<a href="mailto:wonicon@optusnet.com.au">wonicon@optusnet.com.au</a>]<br>&gt;Sent: Wednesday, 19 October 2005 8:21 AM<br>&gt;To: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com
</a><br>&gt;Subject: Re: Printer Question - AXIANT 4GL - A3 Size Reports<br>&gt;<br>&gt;Syed<br>&gt;<br>&gt;I forgot to add that if you start using PCL control characters (the<br>&gt;temptation will be great to use some of the facilities of a laser), windows
<br>&gt;printing will strip some of the control characters out, so you would have<br>&gt;to print to a file then use DOS print command, now that is fun!!!!<br>&gt;<br>&gt;Jeff<br>&gt;<br>&gt;At 08:11 AM 19/10/2005, you wrote:
<br>&gt;<br>&gt; &gt;Syed<br>&gt; &gt;<br>&gt; &gt;Laser printers I think are the best, just set the default font to courier<br>&gt; &gt;size 10 or 11 depending upon what will fit your largest report. The main<br>&gt; &gt;problem is volume of printing required at each print station, the cheapies
<br>&gt; &gt;only support low volume work, if you get one that has a 2 to 3,000 sheet<br>&gt; &gt;feeder should suffice. You could most probable replace a few of the old<br>&gt; &gt;dot matix printers with one laser but do not forget redundancy, you should
<br>&gt; &gt;allow for the fact that they do break down.<br>&gt; &gt;<br>&gt; &gt;I personally would recommend a HP laser (has the best PCL support), but I<br>&gt; &gt;have used a Lexmark lasers as it had a 4,000 sheet (A4) feeded, I could
<br>&gt; &gt;load the paper at the beginning of the day and just forget about it.<br>&gt; &gt;<br>&gt; &gt;Jeff<br>&gt; &gt;<br>&gt; &gt;At 05:07 AM 19/10/2005, you wrote:<br>&gt; &gt;<br>&gt; &gt;&gt;Dear Gurus,<br>&gt; &gt;&gt;Quick Intro: I've migrated a PH/MPEIX application to AXIANT4GL/WINDOWS
<br>&gt; &gt;&gt;(Thin Client).<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;The printers currently in use in MPEIX are<br>&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(1) HP 2566 C<br>&gt; &gt;&gt;and&nbsp;&nbsp;(2) HP 2563 A.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;These dot matrix printers doesn't seem to work with Windows. The
<br>&gt; &gt;&gt;infrastructure guys say that no Windows XP drivers are available for<br>&gt; &gt;&gt;these printers.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;My problem is, these printers are printing A3 size reports.<br>&gt; &gt;&gt;Can anyone help me in knowing the best replacement for these printers in
<br>&gt; &gt;&gt;Windows XP/2003 to print A3 reports.<br>&gt; &gt;&gt;I don't have the option of reformatting the reports to A4 size.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;I'd appreciate your efforts to help me out of this issue.
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;Thanks and Regards,<br>&gt; &gt;&gt;SYED<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;--<br>&gt; &gt;&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>&gt; &gt;&gt;Mailing list: 
<a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>&gt; &gt;&gt;Subscribe: &quot;subscribe&quot; in message body to<br>&gt;<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com
</a><br>&gt; &gt;&gt;Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br>&gt; &gt;&gt;<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>&gt; &gt;&gt;
<a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>&gt; &gt;&gt;This list is closed, thus to post to the list you must be a subscriber.<br>&gt; &gt;<br>&gt; &gt;--
<br>&gt; &gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>&gt; &gt;Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>&gt; &gt;Subscribe: &quot;subscribe&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>&gt; &gt;Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br>&gt; &gt;<a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br>&gt; &gt;<a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>&gt; &gt;This list is closed, thus to post to the list you must be a subscriber.
<br>&gt;<br>&gt;--<br>&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>&gt;Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>&gt;Subscribe: &quot;subscribe&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>&gt;Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br>&gt;<a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br>&gt;<a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>&gt;This list is closed, thus to post to the list you must be a subscriber.
<br>&gt;--<br>&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>&gt;Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>&gt;Subscribe: &quot;subscribe&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>&gt;Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br>&gt;<a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br>&gt;<a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>&gt;This list is closed, thus to post to the list you must be a subscriber.
<br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">
http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.<br></blockquote></div><br>