|
Richard, try printer device type (*userascii) on the crtprtf command. also, if you spaceb(0) you might not have the system inserting any line feeds. -Steve -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Richard Casey Sent: Thursday, December 04, 2003 10:44 AM To: MIDRANGE-L 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 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.