home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_q_t / draft-ietf-svrloc-lpr-scheme-00.txt < prev    next >
Text File  |  1997-07-31  |  18KB  |  618 lines

  1.  
  2. Service Location Working Group                          Pete St.  Pierre
  3. INTERNET DRAFT                                          Sun Microsystems
  4.                                                             31 July 1997
  5.  
  6.          Definition of lpr:  URLs for use with Service Location
  7.                   draft-ietf-svrloc-lpr-scheme-00.txt
  8.  
  9.  
  10. Status of This Memo
  11.  
  12.    This document is a submission by the Service Location Working Group
  13.    of the Internet Engineering Task Force (IETF).  Comments should be
  14.    submitted to the srvloc@corp.home.net mailing list.
  15.  
  16.    Distribution of this memo is unlimited.
  17.  
  18.    This document is an Internet-Draft.  Internet-Drafts are working
  19.    documents of the Internet Engineering Task Force (IETF), its areas,
  20.    and its working groups.  Note that other groups may also distribute
  21.    working documents as Internet-Drafts.
  22.  
  23.    Internet-Drafts are draft documents valid for a maximum of six months
  24.    and may be updated, replaced, or obsoleted by other documents at
  25.    any time.  It is inappropriate to use Internet-Drafts as reference
  26.    material or to cite them other than as ``work in progress.''
  27.  
  28.    To learn the current status of any Internet-Draft, please check
  29.    the ``1id-abstracts.txt'' listing contained in the Internet-Drafts
  30.    Shadow Directories on ftp.is.co.za (Africa), nic.nordu.net (North
  31.    Europe), ftp.nis.garr.it (South Europe), munnari.oz.au (Pacific Rim),
  32.    ds.internic.net (US East Coast), or ftp.isi.edu (US West Coast).
  33.  
  34.  
  35. Abstract
  36.  
  37.    This document defined the service:lpr scheme and attributes
  38.    associated with it.  This template is designed to be used in
  39.    conjuction with the Service Location Protocol [1], but may be
  40.    used with any directory service supporting attribute/value pair
  41.    registration.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. St.Pierre                Expires 31 January 1998                [Page i]
  57.  
  58. Internet Draft          Service Templates and URLs          31 July 1997
  59.  
  60.  
  61.  
  62.  
  63.                                 Contents
  64.  
  65.  
  66.  
  67. Status of This Memo                                                    i
  68.  
  69. Abstract                                                               i
  70.  
  71.  1. lpr service: URL Scheme                                            1
  72.  
  73.  2. urlpath Definition                                                 1
  74.  
  75.  3. Printer Scheme Background                                          1
  76.  
  77.  4. lpr Service Template                                               2
  78.  
  79.  5. Attribute Origins                                                  8
  80.  
  81.  6. References                                                         8
  82.  
  83.  
  84. 1. lpr service: URL Scheme
  85.  
  86.    Service Type templates are used to describe in a standard way those
  87.    services which use the service: URL. The template described in this
  88.    document is for the printing protocol defined in RFC 1179 [2], ``Line
  89.    Printer Daemon Protocol''.  The service type for this service: URL is
  90.    lpr.
  91.  
  92.  
  93. 2. urlpath Definition
  94.  
  95.    The URL has service specific information that specifies protocol used
  96.    to access the printer, and the name of the print queue.  The syntax
  97.    for the urlpath for specifying this is:
  98.  
  99.       qname    = 1*[ DIGIT / ALPHA ]
  100.       urlpath  = "/" qname
  101.  
  102.  
  103.    A null value the qname assumes the default value, as defined by the
  104.    print server.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. St.Pierre                Expires 31 January 1998                [Page 1]
  113.  
  114. Internet Draft          Service Templates and URLs          31 July 1997
  115.  
  116.  
  117. 3. Printer Scheme Background
  118.  
  119.    The printer scheme provides for consistent registration of printer
  120.    services.  The attributes described within this draft are a
  121.    combination of previous works conducted by the IETF Printer MIB WG,
  122.    the IETF IPP WG and the Salutation Consortium.
  123.  
  124.    The attributes specified are intended to facilitate both automatic
  125.    as well as manual selection of services not to provide service
  126.    statistics or notification.  In short, the target audience of service
  127.    attributes are users, either programatic or end users, where the
  128.    audience of MIB statistics are network managers.
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. St.Pierre                Expires 31 January 1998                [Page 2]
  169.  
  170. Internet Draft          Service Templates and URLs          31 July 1997
  171.  
  172.  
  173. 4. lpr Service Template
  174.  
  175.    The lpr template, as defined below, conforms to the grammar described
  176.    in ``Service Templates and service:  Schemes''.  Please refer to [2]
  177.    for detailed explaination of the syntax.
  178.  
  179.         type = lpr
  180.  
  181.         version = 0.0
  182.  
  183.         language = en
  184.  
  185.         description =
  186.             The lpr service template describes the attributes supported by
  187.             network printing devices that support RFC 1179.  These
  188.             devices may be either directly connected to a network, or
  189.             connected to a printer spooler that understands the protocol
  190.             described in RFC 1179.
  191.  
  192.         url-syntax =
  193.             qname = 1*[ DIGIT / ALPHA ]
  194.             urlpath = "/" qname
  195.  
  196.         description = STRING
  197.             # This attribute is a free form string that can contain any
  198.             # site-specific descriptive information about this printer.
  199.  
  200.         make-model = STRING L
  201.             # This attribute is a simple text string defined by the
  202.             # manufacturer that contains some reference to the make
  203.             # and model of the entity being represented to the end-user
  204.             # by this Printer object.  The syntax shall be:
  205.             # vendor-name "/" model-name
  206.             # where the vendor-name is the same as that registered with
  207.             # IANA for use in domain names.
  208.             # For example:  "vendor-x/super-duper-printer".
  209.  
  210.         location-description = STRING
  211.             # A free form description of this printer's physical location
  212.             # For example:  "2nd floor, near the fire escape"
  213.  
  214.  
  215.         location-address = STRING O
  216.             # Pysical/Postal address for this device.  Useful for
  217.             # nailing down a group of printers in a very large corporate
  218.             # network.  For example:  960 Main Street, San Jose, CA 95130
  219.  
  220.  
  221.  
  222.  
  223.  
  224. St.Pierre                Expires 31 January 1998                [Page 3]
  225.  
  226. Internet Draft          Service Templates and URLs          31 July 1997
  227.  
  228.  
  229.         operator = STRING L M
  230.             # A person, or persons responsible for maintaining a
  231.             # printer on a day-to-day basis, including such tasks
  232.             # as filling empty media trays, emptying full output trays,
  233.             # replacing toner cartridges, clearing simple paper jams, etc.
  234.  
  235.         duplex-mode = STRING M
  236.             simplex
  237.             # The Duplex Mode attribute indicates what duplex
  238.             # capabilities a printer is capable of handling.
  239.             simplex, duplex, left-binding-duplex, right-binding-duplex,
  240.             top-binding-duplex, other
  241.  
  242.         priority-queue = BOOLEAN O
  243.             FALSE
  244.             # TRUE indicates this printer or print queue is a priority
  245.             # queuing device.
  246.  
  247.         fonts-supported = STRING L M
  248.             # This attribute takes on a list of fonts that are
  249.             # supported by the printer.
  250.  
  251.         media-size = STRING L M
  252.             na-letter
  253.             # The standard values defined for media sizes follow
  254.             # the ISO standards.
  255.             iso-a0, iso-a1, iso-a2, iso-a3, iso-a4, iso-a5, iso-a6,
  256.             iso-a7, iso-a8, iso-a9, iso-a10, iso-b0, iso-b1, iso-b2,
  257.             iso-b3, iso-b4, iso-b5, iso-b6, iso-b7, iso-b8, iso-b9,
  258.             iso-b10, na-letter, na-legal, executive, folio, invoice,
  259.             ledger, quarto, iso-c3, iso-c4, iso-c5, iso-c6,
  260.             iso-designated-long, na-10x13-envelope, na-9x12-envelope,
  261.             na-number-10-envelope, na-7x9-envelope, na-7x9-envelope,
  262.             na-9x11-envelope, na-10x14-envelope, na-number-9-envelope,
  263.             na-6x9-envelope, na-10x15-envelope, monarch-envelope, a,
  264.             b, c, d, jis-b0, jis-b1, jis-b2, jis-b3, jis-b4, jis-b5,
  265.             jis-b6, jis-b7, jis-b8, jis-b9, jis-b10, unknown
  266.  
  267.         media-color = STRING M O
  268.             unknown
  269.             # The Media color describes the color of what is printed
  270.             # upon.  The value from the default prtInputEntry should be
  271.             # used.
  272.             other, unknown, white, pink, yellow, buff, goldenrod, blue,
  273.             green, transparent
  274.  
  275.         color-supported = STRING L M O
  276.             none
  277.  
  278.  
  279.  
  280. St.Pierre                Expires 31 January 1998                [Page 4]
  281.  
  282. Internet Draft          Service Templates and URLs          31 July 1997
  283.  
  284.  
  285.             # This attribute specifies whether the Printer supports
  286.             # color and, if so, what type.
  287.             none, highlight, three color, four color, monochromatic
  288.  
  289.         max-speed = INTEGER O
  290.             # The maximum speed of the printer expressed in Speed units.
  291.  
  292.         speed-units = STRING O
  293.             sheetsPerHour
  294.             # This value determines unit of speed for the Max speed.
  295.             tenThousandthsOfInchesPerHour, micrometersPerHour,
  296.             charactersPerHour, linesPerHour, impressionsPerHour,
  297.             sheetsPerHour, dotRowPerHour, feetPerHour, metersPerHour
  298.  
  299.         interpreter-language = STRING M L
  300.             PSPrinter, SimpleText
  301.             # The Interpreter Language determines what forms of
  302.             # input the printer can accept and interpret.
  303.             other, PCL, HPGL, PJL, PS, IPDS, PPDS, EscapeP, Epson,
  304.             DIFF, Interpress, ISO6429, LineData, MODCA, REGIS, SCS,
  305.             SPDL, TEK4014, PDS, IGP, CodeV, DSCDSE, WPS, LN03, CCITT,
  306.             QUIC, CPAP, DecPPL, SimpleText, NPAP, DOC, imPress,
  307.             Pinwriter, NPDL, NEC201PL, Automatic, Pages, LIPS, TIFF,
  308.             Diagnostic, PSPrinter, CaPSL, EXCL, LCDS, XES, PCLXL, ART,
  309.             TIPSI, Prescribe, LinePrinter, IDP, XJCL
  310.  
  311.         paper-output = STRING M L O
  312.             standard
  313.             # This attribute describes the mode in which pages output
  314.             # are arranged.
  315.             standard, noncollated sort, collated sort, stack, unknown
  316.  
  317.         media-direction = STRING O
  318.             portrait
  319.             # The orientation of the media as it is feed to the
  320.             # printer.
  321.             portrait, landscape, unknown
  322.  
  323.         print-quality = STRING O
  324.             normal
  325.             # This attribute indicates a somewhat subjective evaluation
  326.             # of the overall printing quality.
  327.             draft, normal, high
  328.  
  329.         resolution = STRING L M O
  330.             unknown
  331.             # Resolution defines the output quality of the printer.
  332.             # In general, this will be in dots per inch.
  333.  
  334.  
  335.  
  336. St.Pierre                Expires 31 January 1998                [Page 5]
  337.  
  338. Internet Draft          Service Templates and URLs          31 July 1997
  339.  
  340.  
  341.             other, res-100, res-200, res-240, res-300, res-600, res-800,
  342.             res-1200, res-1800, res-100x200, res-300x600, res-600x300,
  343.             res-400x800, res-800x400, res-600x1200, res-1200x600,
  344.             res-1800x600, unknown
  345.  
  346.         copy-count = INTEGER O
  347.             -1
  348.             # Copy count is the maximum number of copies of a document
  349.             # that will be printed as a single job.  A value of -1
  350.             # indicates there is no limit.
  351.  
  352.         max-job-size = INTEGER O
  353.             -1
  354.             # Max job size is the maximum size, in Kilobytes(KB)of a
  355.             # print job that the print queue will accept." A value of
  356.             # -1 indicates there is no limit.
  357.  
  358.         device-ID = STRING L O
  359.             # This attribute can be used for automatic driver download,
  360.             # database access, or other automatic configuration tasks.
  361.             # It might be used to generate a platform specific id such
  362.             # as the Windows Plug-and-Play id.  It could be the URI for
  363.             # a Java class file.
  364.  
  365.         finishing = STRING M O
  366.             none
  367.             # This attribute identifies the finishing operations
  368.             # supported by the printer.
  369.             none, staple, staple-top-left, staple-bottom-left,
  370.             staple-top-right, staple-bottom-right, saddle-stitch,
  371.             edge-stitch, punch, cover
  372.  
  373.         stacking-order = STRING O
  374.             unknown
  375.             # The current state of the stacking order for the associated
  376.             # output sub-unit.  'firstToLast' means that as pages are
  377.             # output, the front of the next page is placed against the back
  378.             # of the previous page.  'lastToFirst' means that as pages are
  379.             # output, the back of the next page is placed against the front
  380.             # of the previous page.
  381.             unknown, First to Last, Last to First
  382.  
  383.         delivery-orientation = STRING O
  384.             unknown
  385.             # Orientation of#pagestashtheearepprintedrandiejectednfromter.
  386.             unknown, face up, face down
  387.  
  388.         protocol = STRING L O M
  389.  
  390.  
  391.  
  392. St.Pierre                Expires 31 January 1998                [Page 6]
  393.  
  394. Internet Draft          Service Templates and URLs          31 July 1997
  395.  
  396.  
  397.             LPDServer
  398.             # The network protcol used to access this printer.
  399.             other, SerialPort, ParallelPort, IEEE1284Port, SCSIPort,
  400.             AppleTalkPAP, LPDServer, NetwareRPrinter, NetwarePServer,
  401.             Port9100, AppSocket, FTP, TFTP, DLCLLCPort, IBM3270,
  402.             IBM5250, Fax, IEEE1394, Transport1, CPAP, PCPrint,
  403.             ServerMessageBlock, PSM, SystemObjectManager, DECLAT,
  404.             NPAP, USB, IRDA, PrintXChange, PortTCP, BidirPortTCP, UNPP,
  405.             AppleTalkADSP, PortSPX, PortHTTP, NDPS, PortIPP
  406.  
  407.         service-person = STRING O M
  408.             # This attribute is a list of contact names for this printer.
  409.             # It is intended to provide information over and above that
  410.             # of the person responsible for maintaining the printer
  411.             # supplies (operator) above.
  412.  
  413.         media-type = STRING O M
  414. stationery
  415.             # The generalization of the media type available to
  416.             # be printed upon.
  417.             stationery, transparency, envelope, envelope-plain,
  418.             envelope-window, continuous-long, continuous-short,
  419.             tab-stock, multi-part-form, labels, multi-layer, unknown
  420.  
  421.         media-length = INTEGER O
  422.             -1
  423.             # This value indicates the length (in the direction of the
  424.             # printer feed) of the media.  The value -2 indicates that
  425.             # the length is unknown -1 means there is no limit.
  426.  
  427.         media-thickness = INTEGER O
  428.             # Media size is the thickness of one piece of media.  That
  429.             # media may be any of the valid media types.
  430.  
  431.         media-thickness-units = STRING O
  432.             -1
  433.             # Units of measurement that describes the thickness of the media
  434.             # -1 indicates the units are unknown.
  435.             -1, .0001 inches, micrometers
  436.  
  437.         media-capacity = INTEGER O
  438.             # The total amount of media that may be contained in a
  439.             # media tray.  Used with the media size, the maximum size of
  440.             # a print job may be calculated.  This assumes the media
  441.             # tray is full.
  442.  
  443.         media-capacity-units = STRING O
  444.             -1
  445.  
  446.  
  447.  
  448. St.Pierre                Expires 31 January 1998                [Page 7]
  449.  
  450. Internet Draft          Service Templates and URLs          31 July 1997
  451.  
  452.  
  453.             # The type unit used to express the media capacity.
  454.             # -1 indicates the units are unknown.
  455.             -1, .0001 inches, micrometers, sheets, feet, meters
  456.  
  457.         marker-color = STRING O L M
  458.             black
  459.             # The name of the color(s) of this colorant(ink).
  460.             other, unknown, white, red, green, blue, cyan, magenta, yellow,
  461.             black
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504. St.Pierre                Expires 31 January 1998                [Page 8]
  505.  
  506. Internet Draft          Service Templates and URLs          31 July 1997
  507.  
  508.  
  509. 5. Attribute Origins
  510.  
  511.    The following table summarizes the attributes included in the printer
  512.    scheme and their origins.  This table does not include attributes
  513.    required in the "Service Templates and URLs" Draft.
  514.  
  515.     Attribute     Printer MIB[1]    IPP[5]        Salutation[6]
  516. Printer Description                    X
  517. Make/Model                             X
  518. Location Description                   X
  519. Location Address
  520. Operator               X
  521. Duplex Mode                                          X
  522. Priority Queue                                       X
  523. Fonts Supported                        X
  524. Media Size                             X             X
  525. Media Color            X
  526. Color Supported                        X
  527. Max Speed              X               X
  528. Speed Units            X               X
  529. Interpreter Language                   X             X
  530. Paper Output                           X
  531. Media Direction                        X
  532. Stacking Order         X
  533. Stacking Orientation   X                             X
  534. Print Quality                          X
  535. Resolution             X               X
  536. Max Copy Count                                       X
  537. Max Job Size           X
  538. Device ID                              X
  539. Finishings Supported                   X
  540. Protocol               X
  541.  
  542. Service Person         X
  543. Media Type             X
  544. Media Length           X
  545. Media Width            X
  546. Media Size Units       X
  547. Media Capacity         X
  548. Media Capacity Units   X
  549.  
  550.  
  551.  
  552. 6. References
  553.  
  554.  
  555.     [1]J. Veizades, E. Guttman, C. Perkins, and S. Kaplan.  ``Service
  556.     Location Protocol'', RFC 2165.  June 1997.
  557.  
  558.  
  559.  
  560. St.Pierre                Expires 31 January 1998                [Page 9]
  561.  
  562. Internet Draft          Service Templates and URLs          31 July 1997
  563.  
  564.  
  565.  
  566.     [2]L. McLaughlin III, ``Line Printer Daemon Protocol'',
  567.     RFC 1179.  August 1990.
  568.  
  569.     [3]E. Guttman, C. Perkins, ``Service Templates and service:
  570.     Schemes'', Work in Progress, July, 1997
  571.     draft-ietf-svrloc-service-scheme-02.txt
  572.  
  573.     [4]R. Turner, F. Wright, R. Smith, "Printer MIB", Work in
  574.     progress, April 1997.
  575.  
  576.     [5]K. Carter, S. Isaacson, ``IPP/1.0:  Directory Schema'', Work
  577.     in progress, March 1997.
  578.  
  579.     [6]Salutation Consortium, Inc., "Salutation Architecture
  580.     Specification V2.0", December 1996.
  581.  
  582.  
  583.  
  584.  
  585. Authors' Addresses
  586.  
  587.    Questions about this memo can be directed to:
  588.  
  589.    Pete St. Pierre
  590.    Sun Microsystems
  591.    901 San Antonio Avenue
  592.    Palo Alto, CA 94043
  593.    USA
  594.    Phone: +1 415 786-5790
  595.    email: Pete.StPierre@Eng.Sun.COM
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616. St.Pierre               Expires 31 January 1998                [Page 10]
  617.  
  618.