HPGL - printing # character

Bob Rasmussen ras at anzio.com
Mon May 19 07:50:35 PDT 2008


I think you are saying that the "#" is used to terminate the LB command. 
That character can be changed by the DT command. It is common to use a 
control-C for this purpose.

On Mon, 19 May 2008, Jose Lerebours wrote:

> I use HPGL to generate forms out of filePro applications every where 
> I get a chance.  I just ran into a problem.  Fact is, I am surprised
> it did not happen sooner.
> 
> When users type # as part of their string value, the printing process
> omits everything from that point on (from that field).  As you may know,
> the # is used to terminate line/text string thus it is interpreted as
> such.
> 
> Say I have this line
> xa="PU;PA1500,540;PD;DT#;SD1,41,2,1,4,10,5,1,6,3,7,4148;LB" < AA < "#;"
> 
> If AA were equal to
> "Order #134567890"
> 
> "Order" will print but nothing beyond that ...
> 
> Is there a workaround this?
> 
> For now I am replacing "#" with "No" prior to printing but wonder if there
> is a way to print #.
> 
> Thanks,
> 
> 
> --
> Jose Lerebours
> http://www.fpgroups.com
> 954-559-7186
> filePro + PHP Solution Developer
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 
> 
> 

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
 company e-mail: rsi at anzio.com
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
                 10240 SW Nimbus, Suite L9
                 Portland, OR  97223  USA


More information about the Filepro-list mailing list