English see for info for updated version WBsagra is solution for a menu for popular festivals realized for the U.S.D.Cogornese from Gianni Rossini taking advantage of the semplicità and the elegance of Winbinder. Free use as is. To use it please take this in mind: the file portate.ini contain: - the first 4 lines of heading for menu printing purpose - 4 block of food's categories where the voices [Primi] [Secondi] [Contorni] [Bevande] are mandatory - Inside of the blocks can be present 1 or more (max 7 for the first three, max 9 for bevande ) courses represented with description and price. Use the present portate.ini file as template example. The use in my intentions would have to be for dummy ..... and I hope that it is therefore. The menu is printed on default printer in A4 format. The program creates a file with name that contains total of courses and in the first line the total of the day. Installation - unzip with folder flag on in c:\ or d:\ or other unit to pleasure. To run program launch the file .cmd if you want the window with the output of echo or the errors (!!). or launch the file .cmd that it will open a window cmd that will disappear to the escape of the program. crating a link to the cmd flagging in the property to execute in window reduced to icon. If is present a file named piede.bmp (I have put an example piede_cog.bmp) it comes printed in the low part of the page (must be 1100x478). for today that's all folks. Gianni - magiainformatica@alice.it - se us at htt://www.cogornese.it Update 2007-august -version2b headers to print in section [intestazioni] of portate.ini are not trimmed so they can centered with space adjusted vertical spaces in printout so an all-items menu (buon appetito) in not tuncated. Handled more portate (8 in every quadrant - 9 in bevande) You can use label to describe group of dishes (se attached portate.ini) - the description is displayed in screen group and printed in report in printed menu is reported menu number and added a field for table info (to be compiled by waiter). Update 2007 september verson 2d present in zip file a version in test: sagra_cog_v2d.phpw (launched by sagra_cog_v2d.cmd) if you add in ini file after price a value (number of courses) separated by ? , the log (cvs file) contains the residual courses as last field. example: Penne agli Scampi = 7.00 ?81 (today you can serve a max of 81 penne agli scampi) the corrispondent line of yyyy-mm-dd.cvs can be: Penne agli Scampi,7.00 ,1,7,80 ( delivered 1 - residual 80) No value after price (old ini) is intended as -1 or nolimit. example: Acciughe allo Scabecio = 5.00 Acciughe allo Scabecio,5.00,2,10,-3 (delivered 2 but no limit ) you can use an auxiliary script - portateinfo.phpw (launched by portateinfo.cmd) to display status, refreshed every 10 sesconds, of courses delivery. removed checkbox (never used in code) and reported in front of every course the residual if the course is limited in number ( ?xxx in ini file). Added also a field to manage cash change. A trick to remember field with focus when the windows leaves focus. Update 2007 september verson 2e A in depht study about more than one windows active - you can see what I learned in line // lesson. Now you can open a portate info windows (continuosly updated) with a pushbuton - close it - reopen - have it under mainwindows and close. All without problem in my test at the moment. Italiano WBsagra est un progetto per un menu delle Sagre realizzato per la U.S.D.Cogornese da Gianni Rossini sfruttando la semplicità e l'eleganza di Winbinder. Utilizzo gratuito sempre che vi accontentiate .. as is. utilizzo: il file portate.ini contiene - le prime 4 righe di intestazione che serviranno per la stampa del menu. - 4 blocchi di portate dove le voci [Primi] [Secondi] [Contorni] [Bevande] sono obbligatorie. - All'interno dei blocchi possono essere presenti 1 o più portate (max 7 per le prime 3 voci max 9 per le bevande) con descrizione e prezzo personalizzabili. utilizzare come traccia il file portate.ini presente. L'utilizzo nelle mie intenzioni dovrebbe essere a prova di ..... e spero che sia così. La stampa avviene sulla stampante di default in formato A4. per la quadratura della cassa viene creato un file csv con nome aaaa-mm-gg.csv che riporta i progressivi dei vari piatti e nella prima riga il totale del giorno. Installazione - unzip con creazione delle dir in c:\ o d:\ o altra unità a piacere RUN Lancio del file cmd se si vuole che appaia nella finestra gli output degli echo o gli errori (!!). del file cmd che aprirà una finestra cmd che sparirà all'uscita del programma. con un collegamento (crea collegamneto) al cmd precedente (lancio_sagra_cog.cmd) con l'avvertenza di sceglire nelle proprietà: esegui in finestra ridotta a icona. Se è presente un file (ho messo un esempio piede_cog.bmp) esso viene stampato nella parte bassa della pagina (deve essere 1100x478). Buon appetito......... per aggiornamenti vedi testo in inglese upgrade 2011 - · la stampa di menu omaggio e la relativa contabilizzazione · la possibilità di rilasciare oltre al menu vero e proprio per il servizio a tavola anche dei ticket per il selfservice di dolci o, come nel caso delle sagre di Cogorno, i testaieu o altri piatti tipici preparati in stand appositi. · Lo storno di singole portate e la relativa rettifica sul totale per errori e/o impossibilità da parte della cucina di fornire i relativi piatti. script_version = 2011 # added feature 2011 to handle self service item (only in contorni) # the items with @ at first position are not printed on waiter list # but added in total cash # on screen there is additional info for the ticket to be delivered # todo in bevande we can change descrition only in printed output # to set this feature portata for bevande must contain * # to handle this feature we use note[] script_version = "1.13 - 20150817 - " # le portate finite sono colorate in rosso per meglio evidenziarle # se c'è incoerenza fra il file di log del giorno (esempio mezzogiorno e sera) e portate.ini # è possible /rinominare il file di log aggiungendo l'ora - minuti - secondi # reset total ticket label to reflect real status (if returned to 0 is not displayed) # correct problem in count residui when printed menu omaggi (see piatti_log_update) # ---------------------------------------------------------- #