Fw: Fw: Print codes

ken_wakeman at me.com ken_wakeman at me.com
Tue Apr 24 15:27:12 PDT 2012


Thanks Ken B

I think that will work. I will try it tonight.

Ken W


Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: Kenneth Brody <kenbrody at spamcop.net>
Sender: filepro-list-bounces+ken_wakeman=me.com at lists.celestial.com
Date: Tue, 24 Apr 2012 18:04:44 
To: <kgw at rogers.blackberry.net>
Cc: <filepro-list at lists.celestial.com>
Subject: Re: Fw: Print codes

On 4/24/2012 5:37 PM, Ken Wakeman wrote:
> JP,
>
> Correct the is actually a unix text file
>
> But created with the filepro jsfile command.
>
> I only need to change the pich for this one output. Using filepro rreport
> no problem. But since it is now a text file, i though inserting the pcl
> code at the begining of the file might work ?

Print codes are only applicable to printed output.  However, since you are 
talking about using PCL, why not just generate the PCL code to put into your 
text file?  The PCL code for setting 16.7 pitch is:

     ESC (s16.6H

(You can always check the PCL print code tables to find what you need.)

So you simply use:

     CHR("27") & "(s16.6H"

wherever you need to include it in your output.

Of course, you may want to put it in a variable:

     declare Pitch167 ; Pitch167 = CHR("27") & "(s16.6H"

and then use "Pitch167" as needed.

> -----Original Message----- From: "Jean-Pierre A. Radley"<appl at jpr.com>
> Sender: filepro-list-bounces+ken_wakeman=me.com at lists.celestial.com Date:
> Tue, 24 Apr 2012 17:12:54 To: FilePro Mailing
> List<filepro-list at lists.celestial.com> Subject: Re: Print codes
>
> ken_wakeman at me.com propounded (on Tue, Apr 24, 2012 at 09:04:03PM
> +0000): | Is it possible to place in an ascii file... | Filepro print
> codes.
>
> Huh?  What's an ascii file? | | I am using the Jsfile command to create
> unique files and | Need to change the pitch to 16.7.
>
> What is JSfile?
>
> | I would be using the unix lp command | To print the file.
>
>
> Is what you really want an option to the lp command to print in 16.7
> instead of the deafult?
>
> Then just edit your interface file to add such an option.

-- 
Kenneth Brody
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list