Can AppConfig do this?

From: Eduardo (oso_at_uncoma.edu.ar)
Date: 11/24/03


Date: 24 Nov 2003 13:48:25 -0800

Hi, I need to prepare an AppConfig file for which I can't seem to find
the proper syntax. Let's assume the objects to be described are
printers, and I must encode some attributes for each of them. I would
be happy with this config file:

printer printer1
printer printer2

printer1 page 72
printer1 type A4

printer2 page 64
printer2 form B5

The catch is, I need the app to detach itself from the number or name
of printers. After reading this file I'd like to have n different hash
variables, each holding one printer's attributes. The number of
printers would vary among instances of the app. I'd need to be able to
iterate over the set of printers, that is, I imagine this set would
have to be represented by a list as per AppConfig.

I am really having trouble understanding AppConfig documentation as to
how to set the proper defines(). Can anybody give me a clue? TIA



Relevant Pages

  • Re: Can AppConfig do this?
    ... > find the proper syntax. ... > printers, and I must encode some attributes for each of them. ... > this set would have to be represented by a list as per AppConfig. ... AppConfig does not deal well with multi-level hashes, ...
    (comp.lang.perl.modules)
  • Re: [2003] Why cant app print?
    ... Your application may be looking for the vb5fr.dll under the user's windows directory. ... you can set the compatibility flag for your app so that it will look under the "real" windows folder instead. ... Printers can have their permissions set so that only certain users/groups can print to them, however, there is no application-specific printer permissions. ... SYSTEM32 by our installer. ...
    (microsoft.public.windows.terminal_services)
  • Re: Migrating app from 3.2v4.2 to OpenServer 5.0.7?
    ... > terminal based application along with some dumb terminals and some ... It also communicates with two serial based printers. ... > The app looks as if it forks, or calls another process that wants to ... > Brian E. Lavender ...
    (comp.unix.sco.misc)
  • Power Users can printers from all sessions
    ... We recently deployed Windows 2003 Terminal Services. ... The app works fine, and we've locked down the server ... Power Users receive Manage Printer permissions by default, ... Because of the number of local and network printers at the office ...
    (microsoft.public.windows.terminal_services)
  • Re: Hardware wanna haves and just wanna haves
    ... Support for a flat bed scanner that scans 24"x30" or larger. ... Lexmark are supposed to be competing so vigrously - but all printers ... there is probably a little app that does that... ... there is a "loop" software program ...
    (comp.sys.mac.advocacy)