printing thru GoToMyPc

Brian K. White brian at aljex.com
Thu Jun 23 10:41:40 PDT 2005


----- Original Message ----- 
From: "GCC" <gccconsulting at comcast.net>
To: "'Kenneth Brody'" <kenbrody at bestweb.net>; 
<filepro-list at lists.celestial.com>
Sent: Thursday, June 23, 2005 12:22 PM
Subject: RE: printing thru GoToMyPc


>>
>> (It's on page 81 of the first release of the QRG, and page 83
>> of the second release.)
>>
>> Since PFPRINTER is what pmaint sets in order to define the
>> default printer, they are one and the same.
>>
>> Setting PFPRINTER in the environment "overrides" the default
>> printer only because the environment overrides the config
>> file, and so your PFPRINTER environment variable overrides
>> the PFPRINTER in the config file.  (In other words, you have
>> changed your default printer.)
>>
> Ken,
>
> This still begs the question - setting pfprinter=gotomypc hardcopy of a 
> screen
> worked fine.  However pressing <F> and selecting a form to print did not.
>
> When I removed the defined printer name from the output format, everything
> printed at my remote printer.
>
> Should pfprinter=xxxxxx override a defined printer on an output when set 
> in a
> calling batch file?

Think about two concepts.
Specific vs Default.
A default is a catch-all, a way to say what to do if no one says what to do.
A specific is when you say what to do.

pfprinter is a default
defining a printer in the output format is a specific

It is the only logical way for anything to work, (not just fp or programming 
laguages) that any specific overrides any default.

Then there is a heirarchy of which specifics override which other specifics 
but that's just an arbitrary order handed down from fp.
But pfprinter isn't the same as all the other options, it's a special case 
and it's correct that everything else overrides it and it overrides nothing.

What you are supposed to have is almost no output formats with printers hard 
coded in. That is for special cases like a check form that must always print 
only on the check printer.
Then you can have pfprinter set in the config file and most jobs will go 
there, and you can set pfprinter in this one users environment in their 
batch file when they connect from gotomypc and that pfprinter setting will 
override the same variable in the config file and for that user, most of 
their jobs will go to the alternate default. Any hard coded forms will still 
go to their defined printers so a special label will still print on the 
special label printer no matter where the user logged in from.

So unfortunately, yes, if most of your forms have printers defined in them, 
they should almost all be removed.

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani



More information about the Filepro-list mailing list