PFPOSTPRINT question

Kenneth Brody kenbrody at bestweb.net
Thu Jun 24 07:11:25 PDT 2004


Don Coleman wrote:
> 
> By using the getenv command and displaying its results I have narrowed
> my problem to one area
> on line #26.  When I display the results of getenv ("PFPOSTPRINT") my
> variable HY which contains
> a letter for a printer I am attempting to append, it appears as the
> dummy variable HY instead of the value of HY.  I have tried adding one
> pair of additional quotes in several places but each attempt fails
> the syntax check.

Huh?

What is the value of HY, and what exactly is not showing up correctly?

>  Can anyone shed light on where to add quotes (or some
> other method) so that the printer name will appear as:
> 
> C:\PRINTWIZ\PRINTWIZ.EXE /PI-4308R (where "R" is the value of dummy
> variable HY)
[...]
>          If: HY ne ""
>        Then: putenv "PFPOSTPRINT","C:\\PRINTWIZ\\PRINTWIZ.EXE
> /P\I-4308"{HY C:\\PRINTWIZ\\HARDCOPY.TXT";'goto pickprt

This is not a valid statement, and should be generating a syntax error,
as you do not have balanced quotes.

>          If: HY ne ""
>        Then: HP(70,*)=getenv("PFPOSTPRINT");msgbox "\r HP="{HP

What is the value of HY, and what shows up in the messagebox?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list