Printer Control
Brian K. White
brian at aljex.com
Wed Aug 11 10:20:36 PDT 2010
On 8/11/2010 1:06 PM, Rodgers Hemer wrote:
> filePro 5.0.14/SCO 5.07
>
> I want to set destination printers on a work group basis. I would like to avoid having to set the printer in the output format as a report may be requested by more than one work group. Placing PFPRT in the user's .profile pointing to the applicable filePro printer did not work, resulting in the following message:
>
> ***A SYSTEM ERROR HAS OCCURED***
> Cannot open print command
> adminprt: Permission denied
>
> What is the proper method to achieve the intended result?
>
> Thanks,
>
> Rodgers Hemer
> 206.523.2329
> r.hemer at w-link.net
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
exoport PFPRINTER=printername in the users .profile.
A better answer but requires more programming work is to store such
per-user settings in a filepro file that the users themselves can
administer instead of having an operating system admin manually edit
.profile files. The .profile variable will end up affecting all filepro
apps without modifying any of them, but isn't very flexible or
self-maintaining. Using a filepro file means the users can admin it, but
you'd have to put code all over the place to look up the users settings
and use printer "printername" commands and/or putenv
"PFPRINTER","printername" etc as appropriate.
--
bkw
More information about the Filepro-list
mailing list