Post Reply 
(Free42) tips & tricks: local flags
07-25-2020, 01:13 PM
Post: #24
RE: (Free42) tips & tricks: local flags
(07-25-2020 02:11 AM)Thomas Okken Wrote:  
(07-25-2020 01:54 AM)rprosperi Wrote:  That logic makes sense, except you should probably be using flag-21 instead of flag-55. Flag-55 is intended to indicate the physical presence of a printer (or module if IR). At each power-on the h/w sets SYSTEM flag-55 if it detects such presence and then it sets USER flag-21 to match the state of flag-55; thereafter the user can enable printer access by leaving flag-21 set, or disable printer access by clearing flag-21.

The code snippets I showed handle TRACE printing, and that only depends on the printer existing and TRACE mode being active. It is not disabled when flag 21 is clear. Smile

I understand what it was intending to do, I'm suggesting it should honor the flag-21 setting, as a real 41 would; why would you ignore the user's preference if she chose to disable the printer?

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Free42) tips & tricks: local flags - rprosperi - 07-25-2020 01:13 PM



User(s) browsing this thread: 2 Guest(s)