Files
harbour-core/harbour/contrib/hbcups
Viktor Szakats 23f154863e 2012-10-15 00:37 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbnf/tests/fttext.prg
    + added test code for FTTEXT API

  * contrib/hbnf/fttext.c
    + added MT compatibility by moving static vars to a structure 
      and that structure to TSD

  * contrib/hbnf/menutonf.prg
    * use HB_KEYPUT() instead of FT_PUTKEY()

  * extras/gtwvw/tests/cbtest1.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/wvwmouse.prg
    * KEYBOARD/__KEYBOARD() -> hb_keyPut()

  * extras/gtwvw/tests/inpfocus.prg
    ! Do not use K_* constants for characters.

  * contrib/gtwvg/tests/demowvg.prg
  * extras/gtwvw/tests/wvwtest9.prg
    * minor code cleanup

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/hbct/fcopy.prg
  * contrib/hbcups/tests/test.prg
  * contrib/hbcurl/tests/ftp_uldl.prg
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmysql/utils/dbf2mysq.prg
  * contrib/hbnf/amedian.prg
  * contrib/hbnf/tests/dfile.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbtip/tests/upld_ftp.prg
  * contrib/hbwin/tests/testcopy.prg
  * contrib/hbwin/tests/testmapi.prg
  * contrib/xhb/tests/testcp.prg
  * contrib/xhb/xhbtedit.prg
  * tests/ac_test.prg
  * tests/db_brows.prg
  * tests/stripem.prg
  * tests/testhtml.prg
    * deleted references to self-filename, or replaced them
      with __FILE__, so they will continue to work (and there
      won't be outdated comments) when files are renamed.

  * tests/sbartest.prg
    * minor
2012-10-14 22:44:32 +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.