Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsPC HardwareCPUMotherboardsVideo CardsStorageNetworkingPeripheralsBrand Name Systems
Related Topics
Video GamesWindowsMS Server ProductsMS OfficeMore Topics ...

Hardware Forum / Brand Name Systems / HP / December 2004

Tip: Looking for answers? Try searching our database.

How to combine PCL codes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rover - 29 Dec 2004 03:11 GMT
I'm working on a Troy 521 (read that a HP 5si) I have these two lines of
PCL code

&l68f%-12400X
(10U(s0p13.0h0s0b4099T

The first two set the form length to 68 then turn on MICR printing.  The
second line sets the font and pich.  It works fine.

I want this in one line but what I have tried doesn't work.  i.e. -

&l68f%-12400x(10U(s0p13.0h0s0b4099T

won't do it.  The MICR doesn't get turned on or the font doesn't get set.

Any ideas?
Warren Block - 29 Dec 2004 03:24 GMT
> I'm working on a Troy 521 (read that a HP 5si) I have these two lines of
> PCL code
[quoted text clipped - 10 lines]
>
> won't do it.  The MICR doesn't get turned on or the font doesn't get set.

The "X" changed to lower case in your example...  But it may just be
that PCL command needs a carriage return terminator.

Signature

Warren Block * Rapid City, South Dakota * USA

Ben Myers - 29 Dec 2004 04:24 GMT
Honestly, once something is working well with PCL, it is not worth splitting
hairs to save a few bytes of data transmitted to the printer.

Way back when I was generating PCL graphics for a LaserJet II, I found the PCL
reference invaluable for clear descriptions of the rules for combining control
codes.  If you already don't have a PCL5 reference, get one... Ben Myers

>I'm working on a Troy 521 (read that a HP 5si) I have these two lines of
>PCL code
[quoted text clipped - 12 lines]
>
>Any ideas?
Rover - 29 Dec 2004 12:44 GMT
My real problem is line feeds.  I'm working on a tight form and the
extra line messes things up.

The lower case "X" is to combine commands.

> I'm working on a Troy 521 (read that a HP 5si) I have these two lines of
> PCL code
[quoted text clipped - 12 lines]
>
> Any ideas?
Rover - 30 Dec 2004 00:14 GMT
I got it to work.  Contrary to what I thought iw was supposed to be,
Each sequence ends in an upper case letter.  Lower case is for stringing
those codes that begin with the same Esc sequence.

&l68F%-12400X(10U(s0p13.0h0s0b4099T

Jim

> I'm working on a Troy 521 (read that a HP 5si) I have these two lines of
> PCL code
[quoted text clipped - 12 lines]
>
> Any ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.