(Free42) tips & tricks: local flags
|
07-25-2020, 02:11 AM
Post: #23
|
|||
|
|||
RE: (Free42) tips & tricks: local flags
(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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)