× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Thanks for the reply... But I have a question concerening this..
Ec%-12345X@PJL <CR> <LF> @PJL SET COPIES = 3 <CR> <LF> Ec%-12345X
the Ec%  is that straight text?  Or do I need a hex value to emulate the
escape sequence?

Thanks, tim

> -----Original Message-----
> From: Vernon Hamberg [SMTP:vhamberg@attbi.com]
> Sent: Monday, August 19, 2002 9:51 PM
> To:   midrange-l@midrange.com
> Subject:      Re: pjl help, once again...
>
> I seem to remember having a single field in a single format, SPACEB(0).
> You
> set the field to the string you want to send. You can fill it with hex
> strings as well as regular strings. Maybe put the various pieces into a
> file and just read it. Where I used to work we had an extensive system
> like
> this that built PCL on the fly - sorry, no code.
>
> DDS to define the format in a PRTF. And, optionally, a PF to contain the
> codes.
> RPG to set the field value and WRITE to the PRTF
>
> HTH
>
> Vern
>
> At 04:24 PM 8/19/02 -0700, you wrote:
> >How do I send these type of commands, to a printer connected to the
> as/400
> >via tcp/ip
> >
> >Is it via a CL? RPG?  DDS?  PRTF?
> >
> >Could someone please help, with a sample piece of code?
> >
> >Thanks...  Tim
> >
> >
> >%-12345X@PJL JOB NAME="Book2"
> >@PJL SET RET=ON
> >@PJL SET DUPLEX=OFF
> >@PJL SET ECONOMODE=OFF
> >@PJL SET OUTBIN=UPPER
> >@PJL SET FINISH=NONE
> >@PJL SET PAGEPROTECT=AUTO
> >@PJL SET PAPER=LETTER
> >@PJL SET HOLD=ON
> >@PJL SET JOBNAME="PRINTTEST1234567"
> >@PJL SET RESOLUTION=600
> >@PJL SET BITSPERPIXEL=2
> >@PJL SET EDGETOEDGE=NO
> >@PJL ENTER LANGUAGE=PCLXL
> >) HP-PCL XL;2;0;Comment Copyright Hewlett-Packard Company 1989-2000.
> Version
> >4.0.2.0
> >XX? ?A ^'H (& Plain' LETTER%C Ttd d *u
> >)v  EUR?  EUR?+w Np Kzj      yj  cT^
> >YB Sh-x-|,{... -x -| Arial           
> >BuorGLk Line 1 ....-x-|T^d
> >B Sh... -x -|rLk Line 2 ....-x-|T^
> >'B Sh... -x -|rLk Line 3 ....-x-|
> >1DIB%-12345X@PJL EOJ NAME="Book2"
> >%-12345X
> > >
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information.  Any unauthorized review; use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.