Files
harbour-core/harbour/contrib/hbcups
Przemyslaw Czerpak 1cc8e1e88c 2013-01-10 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new internal C function:
         void hb_objCloneTo( PHB_ITEM pDest, PHB_ITEM pSource,
                             PHB_NESTED_CLONED pClonedList );
      it copies object or clone it if class overloaded clone operation.
    ; TODO: add support for user defined class clone operation

  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    * changed returned type of hb_itemCloneTo() to void

  * harbour/src/vm/itemapi.c
    * use hb_objCloneTo() in hb_itemClone*() functions.

  * harbour/src/vm/arrays.c
    * use hb_objCloneTo() in array/hash clone code.

  * harbour/src/vm/arrayshb.c
    ! fixed return values in AEVAL() and ACOPY() when array
      is passed by reference.

  * harbour/src/rtl/tclass.prg
  * harbour/src/vm/classes.c
    * declare :SUPER and :__SUPER messages as non virtual ones.
      Now ::SUPER and ::__SUPER messages executed in object method
      returns casting to 1-st super object of the class in which
      executed method was defined.

  * harbour/include/hbclass.ch
    * removed xtranslations for SUPER(): - this workaround for
      missing non virtual messages in some Clipper OOP implementations
      was breaking valid code which tried to use real :SUPER message
      and made SUPER reserved word, i.e. it was not possible to create
      code like:
         LOCAL super := ::parent2
         ? super:v1, super:v2
      Now this hack is not longer necessary and :SUPER is non virtual
      massage in Harbour.
      INCOMPATIBLE: If someone has some code like:
         SUPER():MSG()
         SUPER( PARENT ):MSG()
      then please change it to:
         ::SUPER:MSG()
         ::PARENT:MSG()

  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbmysql/tsqlbrw.prg
    ! fixed to use ::super() instead of super()

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
    + added GOCOLD() method - this method is necessary for WAs
      passed to HB_DBDETACH()

  * harbour/doc/xhb-diff.txt
    * small update

  * harbour/contrib/*/*.hbx
    * regenerated
2013-01-10 22:27:11 +00:00
..

#
# $Id$
#

hbcups provides access to the CUPS printing library.

Function Reference
=====================================

cupsGetDefault() --> cPrinterName
    Returns the CUPS name of the default printer on the default server,
    or an empty string if no printer is configured as default printer.

cupsGetDests() --> aPrinterNames
    Returns a list of all CUPS printers on the default server.

cupsPrintFile( cPrinterName, cFileName, cTitle, [ aOptions | hOptions ] )
        --> nJobNumber
    Prints the named file on the named printer (on the default server), using
    the given title.  Options may be passed as an array of strings of the form
    "option=value" or as a hash of options and values (again expressed as
    character strings).  Returns the job number, or 0 on error.

Refer to the CUPS documentation for more details of these operations, including
a list of valid printing options.