Files
harbour-core/harbour/contrib/hbcups
Viktor Szakats 3bb2070d79 2012-11-07 16:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % do not generate SVN ID comments into .hbx files

  * contrib/gtwvg/gtwvg.hbx
  * contrib/hbamf/hbamf.hbx
  * contrib/hbblat/hbblat.hbx
  * contrib/hbblink/hbblink.hbx
  * contrib/hbbz2/hbbz2.hbx
  * contrib/hbcairo/hbcairo.hbx
  * contrib/hbcomm/hbcomm.hbx
  * contrib/hbct/hbct.hbx
  * contrib/hbcups/hbcups.hbx
  * contrib/hbcurl/hbcurl.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbfbird/hbfbird.hbx
  * contrib/hbfimage/hbfimage.hbx
  * contrib/hbformat/hbformat.hbx
  * contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbfship/hbfship.hbx
  * contrib/hbgd/hbgd.hbx
  * contrib/hbgs/hbgs.hbx
  * contrib/hbgt/hbgt.hbx
  * contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbhttpd/hbhttpd.hbx
  * contrib/hblzf/hblzf.hbx
  * contrib/hbmagic/hbmagic.hbx
  * contrib/hbmemio/hbmemio.hbx
  * contrib/hbmisc/hbmisc.hbx
  * contrib/hbmlzo/hbmlzo.hbx
  * contrib/hbmxml/hbmxml.hbx
  * contrib/hbmysql/hbmysql.hbx
  * contrib/hbmzip/hbmzip.hbx
  * contrib/hbnetio/hbnetio.hbx
  * contrib/hbnf/hbnf.hbx
  * contrib/hbodbc/hbodbc.hbx
  * contrib/hboslib/hboslib.hbx
  * contrib/hbpgsql/hbpgsql.hbx
  * contrib/hbsms/hbsms.hbx
  * contrib/hbsqlit3/hbsqlit3.hbx
  * contrib/hbssl/hbssl.hbx
  * contrib/hbtinymt/hbtinymt.hbx
  * contrib/hbtip/hbtip.hbx
  * contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbunix/hbunix.hbx
  * contrib/hbwin/hbwin.hbx
  * contrib/hbxdiff/hbxdiff.hbx
  * contrib/hbxpp/hbxpp.hbx
  * contrib/hbzebra/hbzebra.hbx
  * contrib/hbziparc/hbziparc.hbx
  * contrib/rddads/rddads.hbx
  * contrib/xhb/xhb.hbx
  * extras/gtwvw/gtwvw.hbx
  * extras/hbusb/hbusb.hbx
  * extras/hbvpdf/hbvpdf.hbx
  * extras/hbxlsxml/hbxlsxml.hbx
  * include/harbour.hbx
  * include/hbcpage.hbx
  * include/hblang.hbx
  * include/hbscalar.hbx
  * include/hbusrrdd.hbx
    * deleted SVN ID comments
2012-11-07 16:01:33 +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.