|
Dear Richard, The programming trick that I have seen other people use is to write all of the PCL commands on line 1. Your program thinks you are printing data on top of itself and therefore sends no line termination commands. HTH Best Regards, /Paul -- Paul Tykodi National Product Manager Print4sight Inc. p: 603-431-0606 x115 f: 603-436-6432 E-mail: p.tykodi@xxxxxxxxxxxxxxx www.print4sight.com >date: Thu, 4 Dec 2003 10:44:27 -0500 >from: "Richard Casey" <casey_r@xxxxxxxxxxxxxxxx> >subject: Writing PCL to an AS/400 attached HP laser printer > >Hi! > >I'm trying to send PCL commands to my HP laser printer. After browsing >through the archives, I found that I can just build the necessary character >string (using X'1B' for the <esc> character) and send it to the printer. >That works great until the length of my PCL command is longer than my print >line length. If I break my PCL command into 2 lines and send them to the >printer, I get print positioning commands inserted between the two lines. Is >there a way to send lots of data to the printer without getting those pesky >print positioning commands in the way? > >Thanks in advance, >Richard Casey
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.