Re: HMG 3.4.1
Posted: Wed Aug 12, 2015 12:24 am
Gracias Claudio.....
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://hmgforum.com/
Hola RathinagiriRathinagiri wrote:Thank you Claudio. The patch file is updated in the download page also.
Code: Select all
- New <FormName>.<ControlName>.GetTextLength --> nLengthText for the EDITBOX and TEXTBOX controls
- New <FormName>.<ControlName>.CaretPos := -1 move the caret to the end of text and scroll text in EDITBOX and TEXTBOX controls
- New StatusBar CLOCK [ INTERVAL <nIntervalUpdate> ]
- New StatusBar KEYBOARD [ INTERVAL <nIntervalUpdate> ]
- New START PRINTDOC [ NAME <name> ] [ STOREJOBDATA <aJobData> ]
- aJobData memvar must be declared Public or Private
- aJobInfo := HMG_PrintGetJobInfo ( aJobData ) --> {} or { nJobID, cPrinterName, cMachineName, cUserName, cDocument, cDataType, cStatus, nStatus
nPriorityLevel, nPositionPrintQueue, nTotalPages, nPagesPrinted, cLocalDate, cLocalTime }
cStatus --> This member should be checked prior to nStatus and, if cStatus is empty, the status is defined by the contents of the nStatus member.
nStatus --> The value of this member can be zero or a combination of one or more of the following values.
A value of zero indicates that the print queue was paused after the document finished spooling.
JOB_STATUS_PAUSED
JOB_STATUS_ERROR
JOB_STATUS_DELETING
JOB_STATUS_SPOOLING
JOB_STATUS_PRINTING
JOB_STATUS_OFFLINE
JOB_STATUS_PAPEROUT
JOB_STATUS_PRINTED
JOB_STATUS_DELETED
JOB_STATUS_BLOCKED_DEVQ
JOB_STATUS_USER_INTERVENTION
JOB_STATUS_RESTART
JOB_STATUS_COMPLETE
* JOB_STATUS_RETAINED
Code: Select all
- New HMG_PrinterGetStatus ( [ cPrinterName ] ) --> nStatusPrinter (contrib by BPD2000)
nStatusPrinter --> The value of this member can be zero or a combination of one or more of the following values.
PRINTER_STATUS_OK
PRINTER_STATUS_PAUSED
PRINTER_STATUS_ERROR
PRINTER_STATUS_PENDING_DELETION
PRINTER_STATUS_PAPER_JAM
PRINTER_STATUS_PAPER_OUT
PRINTER_STATUS_MANUAL_FEED
PRINTER_STATUS_PAPER_PROBLEM
PRINTER_STATUS_OFFLINE
PRINTER_STATUS_IO_ACTIVE
PRINTER_STATUS_BUSY
PRINTER_STATUS_PRINTING
PRINTER_STATUS_OUTPUT_BIN_FULL
PRINTER_STATUS_NOT_AVAILABLE
PRINTER_STATUS_WAITING
PRINTER_STATUS_PROCESSING
PRINTER_STATUS_INITIALIZING
PRINTER_STATUS_WARMING_UP
PRINTER_STATUS_TONER_LOW
PRINTER_STATUS_NO_TONER
PRINTER_STATUS_PAGE_PUNT
PRINTER_STATUS_USER_INTERVENTION
PRINTER_STATUS_OUT_OF_MEMORY
PRINTER_STATUS_DOOR_OPEN
PRINTER_STATUS_SERVER_UNKNOWN
PRINTER_STATUS_POWER_SAVE