PCL in Output Formats
Rodgers Hemer
r.hemer at w-link.net
Tue Aug 17 16:28:47 PDT 2010
On Aug 17, 2010, at 10:32 AM, Richard Kreiss wrote:
>
> You can enter esc codes from a processing table by placing a dummy field(s) in the format and sending the code when needed.
>
> Here is a sample of code used in printing bar codes.
>
> Set in @once processing
> ◄ If:
> Then: x="0"; ec=chr("27"); px=ec{"*p0X"; pr=ec{"&a0R";
> 32 ------- - - - - - - - - - - - - - - - -
> ◄ If:
> Then: pn=ec{"&l0L"; ps=ec{"&l1L"; oa=ec{"&l-45U"; ob=ec{"&l1935U";
> 33 ------- - - - - - - - - - - - - - - - -
> ◄ If:
> Then: oc=ec{"&l3915U";
>
> In the run time portion:
>
> Su is the initialization sting that sets the column position on the label page 10X3
>
> So, the first 10 labels print down first column, etc.
>
> 25 ------- - - - - - - - - - - - - - - - -
> ◄ If: x="1"
> Then: su=oa{pr{px{pn
> 26 ------- - - - - - - - - - - - - - - - -
> ◄ If: x="11"
> Then: su=ob{pr{px
> 27 ------- - - - - - - - - - - - - - - - -
> ◄ If: x="21"
> Then: su=oc{pr{px{ps
>
> There is some additional coding that prints the order # and the number of pages of labels being printed in the top margin of of the label page, this area is not normally accessible but by using code within the processing table, the print position can be moved.
>
> The above coding comes from Jim Asman.
>
Thanks. That was the clue I needed.
Rodgers Hemer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20100817/f5600e33/attachment.html
More information about the Filepro-list
mailing list