Ignore:
Timestamp:
May 21, 2013, 4:58:24 PM (12 years ago)
Author:
Alex Taylor
Message:

Various GUI updates.

Location:
trunk/gui/printer/cupswiz
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/printer/cupswiz/cupswiz.VRX

    r34 r40  
    13551355RETURN
    13561356
     1357/*:VRX         PB_CREATEHELP_Click
     1358*/
     1359PB_CREATEHELP_Click:
     1360    CALL VRMethod 'SW_CREATE', 'InvokeHelp'
     1361return
     1362
    13571363/*:VRX         PB_CREATEOK_Click
    13581364*/
     
    13681374RETURN
    13691375
     1376/*:VRX         PB_HELP_Click
     1377*/
     1378PB_HELP_Click:
     1379    CALL VRMethod 'WN_MAIN', 'InvokeHelp'
     1380return
     1381
    13701382/*:VRX         PB_MODELCANCEL_Click
    13711383*/
     
    13871399    CALL SW_NETWORK_Fini
    13881400RETURN
     1401
     1402/*:VRX         PB_NETHELP_Click
     1403*/
     1404PB_NETHELP_Click:
     1405    CALL VRMethod 'SW_NETWORK', 'InvokeHelp'
     1406return
    13891407
    13901408/*:VRX         PB_NETOK_Click
     
    16791697    CALL NLSSetText 'PB_NEXT',    'Caption', 5         /* 5: Next > */
    16801698    CALL NLSSetText 'PB_CANCEL',  'Caption', 3         /* 3: Cancel */
    1681     CALL NLSSetText 'PB_REFRESH', 'Caption', 6         /* 6: Refresh */
     1699    CALL NLSSetText 'PB_HELP',    'Caption', 4         /* 6: Help */
    16821700
    16831701RETURN 1
     
    17221740    CALL VRSet 'PB_NEXT',  'Enabled', 0
    17231741    CALL VRSet 'LB_BRAND', 'Visible', 1
     1742
     1743    CALL VRSet 'WN_MAIN', 'HelpTag', 200
    17241744
    17251745    /* Resize LB_SELECT if necessary to make room for LB_BRAND */
     
    17751795
    17761796    globals.!page = 2
     1797    CALL VRSet 'WN_MAIN', 'HelpTag', 300
     1798
    17771799    CALL VRSet 'LB_BRAND', 'Visible', 0
    17781800    CALL VRSet 'PB_NEXT',  'Enabled', 0
     
    18041826
    18051827    globals.!page = 3
     1828    CALL VRSet 'WN_MAIN', 'HelpTag', 400
     1829
    18061830    CALL VRSet 'EF_DESC', 'Value', globals.!prt_nick
    18071831    CALL NLSSetText DT_NAME,     'Caption', 103             /* 103: Name: */
     
    18341858
    18351859    globals.!page = 4
     1860    CALL VRSet 'WN_MAIN', 'HelpTag', 100
     1861
    18361862    CALL VRSet 'LB_SELECT', 'Visible',    0
    18371863    CALL VRSet 'GB_INFO',   'Visible',    0
     
    19051931SW_CREATE_Init:
    19061932
     1933    CALL VRSet 'SW_CREATE', 'HelpFile', VRGet('WN_MAIN', 'HelpFile')
     1934
    19071935    CALL NLSSetText 'SW_CREATE',  'Caption', 115                 /* 115: Confirm Create Printer */
    19081936    CALL NLSSetText 'DT_CRMODEL', 'Caption', 102                 /* 102: Model: */
     
    20542082*/
    20552083SW_NETWORK_Init:
     2084
     2085    CALL VRSet 'SW_NETWORK', 'HelpFile', VRGet('WN_MAIN', 'HelpFile')
    20562086
    20572087    /* Flag to keep track of whether dialog is open */
  • trunk/gui/printer/cupswiz/cupswzen.ipf

    r32 r40  
    44:h1 res=100 name=intro
    55    x=left y=bottom width=100% height=100%.General Information
    6 :p.The eCups Printer Wizard is simple graphical front-end for creating CUPS-based
     6:p.The eCups Printer Wizard is a simple graphical front-end for creating CUPS-based
    77printers.
    88:p.This program allows you to select your printer make and model from the list of
     
    2727:ul.
    2828:li.Applications which require the existence of a local CUPS print queue will
    29 not be able to print in this mode.
     29not be able to print in this mode.  (This particularly applies to QT-based
     30programs.)
    3031:li.The remote CUPS server must not have password authentication enabled.
    3132:eul.
     
    3738:p.This section provides a brief explanation of how the eCups printing system
    3839works.
    39 :p.With standard (non-CUPS) printing, the printer configuration has three
    40 major parts&colon.
    41 :ul compact.
     40:p.CUPS (the Common Unix Printing System) is essentially a self-contained
     41print subsystem, which includes its own print spooler plus a collection of
     42plugin-like printer drivers.  The CUPS :hp1.server:ehp1. runs on the system
     43as a background process and manages all CUPS-based printers and jobs.
     44:p.In principle, CUPS itself operates independently of the standard desktop
     45printer system.  Applications which are &osq.CUPS-aware&csq.
     46can print directly to CUPS, bypassing any desktop printer objects entirely.
     47:p.However, most applications are not specifically written to use CUPS, which
     48means they must still submit print jobs through a standard desktop printer
     49object and queue.  With eCups, these jobs are then forwarded on to the CUPS
     50server, which controls the actual print processing.
     51:nt.&osq.eCups&csq.is the term used to describe the entire framework by which
     52the OS/2 printing system is linked together with the cross-platform CUPS
     53components, in order to provide seamless CUPS-based printing for all
     54applications.:ent.
     55:p.:hp2.Legacy Printing Logic:ehp2.
     56:p.With standard (non-CUPS or &osq.legacy&csq.) printing, the printer
     57configuration has three major parts&colon.
     58:ul.
    4259:li.The desktop printer object, which corresponds to a &osq.print queue&csq.
    4360controlled by the Presentation Manager spooler.
     
    4764job data to the printer, across the appropriate (physical or network) connection.
    4865:eul.
    49 :p.With eCups, a number of additional components are added by way of the CUPS
    50 server, which runs on the system as a background process and manages all
    51 CUPS-based printers and jobs.
    52 :p.In principle, CUPS itself operates independently of the standard desktop
    53 printer system.  Applications which are &osq.CUPS-aware&csq. can print
    54 directly to CUPS, bypassing any desktop printer objects entirely.
    55 :p.However, most applications are not specifically written to use CUPS, which
    56 means they must still submit print jobs through a standard desktop printer
    57 object and queue.
     66:p.
     67:p.:hp2.eCups Printing Logic:ehp2.
     68:p.An eCups printer configuration includes these components&colon.
     69:ul.
     70:li.The desktop printer object, which corresponds to a &osq.print queue&csq.
     71controlled by the Presentation Manager spooler.
     72:li.The presentation driver, which converts print data from an application
     73into a PostScript file which may (optionally) contain printer-specific job
     74properties.
     75:li.The eCups port driver, which is responsible for transmitting the
     76PostScript job file to the CUPS server.
     77:li.The CUPS server itself, which manages a separate CUPS printer definition
     78and queue for the printer in question.  The CUPS server takes the incoming
     79PostScript file, validates it, and applies any additional job properties
     80that are defined by the CUPS printer definition.
     81:li.The CUPS printer driver, which converts the validated PostScript data
     82into printer-specific format.  CUPS printer drivers are typically distributed
     83as omnibus driver packages from various sources (both commercial and
     84community-based); popular packages include Gutenprint, SpliX and HP-LIP.
     85:li.The CUPS &osq.backend&csq. (analogous to a port driver) which is
     86responsible for transmitting the converted print job data to the printer,
     87across the appropriate (physical or network) connection.
     88:eul.
     89:p.The eCups Printer Wizard is designed to automate the configuration of all
     90of these components according to your selections.
     91:p.As you can see, eCups printing is more complex than standard (legacy)
     92printing.  A common cause for confusion is the fact that every eCups
     93printer is essentially defined twice&colon. once as a desktop printer
     94object, and once as a CUPS printer within the CUPS server.
     95:p.This dual configuration makes the setting of print job properties somewhat
     96complicated.  Some points to be aware of&colon.
     97:ul.
     98:li.A normal (non-CUPS-aware) application is only capable of setting
     99job properties that are known to the desktop printer object.
     100:li.A CUPS-aware application, conversely, will only use the CUPS printer
     101definition to determine the job properties.
     102:li.Every CUPS printer has default job properties associated with it, as
     103defined within CUPS (using the browser-based CUPS administration GUI).
     104:li.However, you can also configure a printer's default job properties in
     105the desktop printer object.  Job properties defined in this way will only
     106apply to non-CUPS-aware applications.
     107:eul.
     108:p.Any job property which is not defined through the desktop printer object
     109will be taken from the CUPS printer definition.  This provides one notable
     110advantage&colon. it is thus possible to use a generic PostScript driver for
     111the desktop printer object, and still take advantage of printer-specific
     112features so long as the CUPS printer definition is aware of them.  (The
     113trade-off is that non-CUPS-aware applications would then be unable to set
     114printer-specific properties for a particular job at print time.)
     115:p.For more detailed information regarding these and related topics, refer to
     116the eCups FAQ at&colon. http&colon.//svn.netlabs.org/ecups/wiki/CupsFaq
    58117
    59118.* ----------------------------------------------------------------------------
     
    68127http&colon.//www.openprinting.org/printers
    69128
    70 :p.:hp7.Importing a PPD:ehp7.
     129:p.:hp2.Importing a PPD:ehp2.
    71130:p.If your printer natively supports PostScript, you can choose to import a
    72131manufacturer-supplied PPD file using the :hp2.--Custom--:ehp2.
     
    78137have been specially written for use with CUPS).:ent.
    79138
    80 :p.:hp7.Before continuing:ehp7.
     139:p.:hp2.Before Continuing:ehp2.
    81140:p.Make sure that your printer is connected (either physically or through a
    82141working network connection) and powered on before you select the :hp2.Next:ehp2.
     
    137196:edl.
    138197:dt.:hp2.Line Printer Remote daemon (LPD):ehp2.
    139 :dd.LPD (or LPR) is the oldest and most common TCP/IP printing protocol in use;
     198:dd.LPD (or LPR) is the oldest and most common network printing protocol in use;
    140199virtually all TCP/IP network printers and print servers should support it.
    141200:dl break=fit tsize=30.
     
    145204itself.
    146205:dt.Printer queue name
    147 :dd.Enter the name of the printer device on the server.  If no explicit print
    148 device is required (which may be the case when the LPD server is built into
    149 the printer itself), specify &osq.*&csq. or leave this field blank.
     206:dd.Enter the name of the printer device on the server.  If no explicit device
     207name is required (which may be the case when the LPD server is built into
     208the printer itself), specify :hp2.*:ehp2. or leave this field blank.
    150209:dt.User ID (if required)
    151210:dd.If the server requires a user ID, enter it here; otherwise, leave this
     
    201260user ID and password for printing.:ent.
    202261
     262.* ----------------------------------------------------------------------------
     263:h1 res=400 name=identify
     264    x=left y=bottom width=100% height=100%.Identify Printer
     265:p.On this page, you must enter some information which allows both CUPS and
     266the desktop printing system (as well as you) to identify the new printer.
     267:dl break=fit tsize=15.
     268:dt.Name
     269:dd.This is a short name which CUPS will use internally to identify the
     270printer.  It must start with a letter of the alphabet, and may not include
     271spaces, tabs, or the characters :hp2./:ehp2. or :hp2.#:ehp2..
     272:dt.Location
     273:dd.This is a brief, free-form description of where the printer is located
     274(such as "Office", "Home", or "North-east corner by the photocopier".)
     275:dt.Description
     276:dd.This is a human-readable name for the printer.  What you enter here
     277will be used for the title of the printer object that gets created on your
     278desktop.
     279:edl.
     280
     281.* ----------------------------------------------------------------------------
     282:h1 res=500 name=confirm
     283    x=left y=bottom width=100% height=100%.Confirm Create Printer
     284:p.This dialog appears when the eCups Printer Wizard is ready to create
     285the new printer.  You can review the selected settings before confirming
     286the printer creation.
     287:dl break=fit tsize=24.
     288:dt.Model, Name, etc.
     289:dd.These fields are purely informational, and correspond to the selections you
     290entered on the previous pages.
     291:dt.Create printer object
     292:dd.This checkbox determines whether a desktop printer object will be created.
     293If deselected, only a CUPS printer definition will be created.  Normally you
     294should leave this selected, as most applications require a desktop printer
     295object in order for printing to function.
     296:dt.Presentation driver
     297:dd.If you have multiple eCups-compatible presentation (desktop) printer drivers
     298installed, you may select the one which the desktop printer object will be
     299configured to use.  It is recommended, however, that you accept the default
     300selection.  This has no effect on the internal CUPS printer configuration.
     301:edl.
    203302:euserdoc.
    204303
  • trunk/gui/printer/cupswiz/readme.1st

    r32 r40  
    110110  - The CUPS printer is always created with default job options.  If you want
    111111    to change them, you will have to do so from the CUPS administration GUI.
    112   - There is no help.
    113112  - There may well be undiscovered bugs; please report any you find.
    114113
Note: See TracChangeset for help on using the changeset viewer.