Changeset 96 for trunk/gui/printer


Ignore:
Timestamp:
Jan 28, 2023, 7:56:56 PM (3 years ago)
Author:
Alex Taylor
Message:

Various updates for CUPS-PDF support

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

Legend:

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

    r95 r96  
    77VRXWindow: __VREMainWindow,1,650,2746,5770,9106
    88VRXWindow: __VRESectionListWindow,1,795,11900,4529,3891
    9 VRXWindow: __VREToolsWindow,1,1722,9973,5474,1669
     9VRXWindow: __VREToolsWindow,1,1722,9973,5477,1659
    1010VRXWindow: __VREWindListWindow,1,5264,11900,2650,3891
    1111UserFile: 1
  • trunk/gui/printer/cupswiz/cupswiz.VRX

    r95 r96  
    485485    idx = VRGet('DDCB_PROTOCOL', 'Selected')
    486486    which = VRMethod('DDCB_PROTOCOL', 'GetItemData', idx )
     487    show_server = 1
    487488    SELECT
    488489        WHEN which == 1 THEN DO     /* IPP */
     
    523524        END
    524525        WHEN which == 6 THEN DO     /* CUPS-PDF */
    525             show_queue = 0
    526             show_user  = 0
    527             show_pass  = 0
    528             show_pick  = 0
     526            show_server = 0
     527            show_queue  = 0
     528            show_user   = 0
     529            show_pass   = 0
     530            show_pick   = 0
    529531            server_caption = 83          /* 83: Print server name: */
    530532            queue_caption  = 84          /* 84: Printer queue name: */
     
    546548    r = NLSSetText('DT_USERID', 'Caption', userid_caption )
    547549
     550    CALL VRSet 'DT_SERVER',      'Visible', show_server
     551    CALL VRSet 'EF_SERVER',      'Visible', show_server
    548552    CALL VRSet 'DT_QUEUE',       'Visible', show_queue | show_pick
    549553    CALL VRSet 'EF_QUEUE',       'Visible', show_queue
     
    15701574        END
    15711575        WHEN which == 6 THEN DO     /* CUPS-PDF */
    1572             IF server == '' THEN invalid = 1
    1573             ELSE DO
    1574                 uri = 'cups-pdf://'
    1575             END
     1576            /* TODO use lpstat -v to see if cups-pdf:// exists and if so add a queue name? */
     1577            uri = 'cups-pdf://'
    15761578        END
    15771579        OTHERWISE DO                /* Existing CUPS */
  • trunk/gui/printer/cupswiz/cupswzen.ipf

    r95 r96  
    8585:li.The CUPS &osq.backend&csq. (analogous to a port driver) which is
    8686responsible for transmitting the converted print job data to the printer,
    87 across the appropriate (physical or network) connection.
     87across the appropriate (physical, network or virtual) connection.
    8888:eul.
    8989:p.The eCups Printer Wizard is designed to automate the configuration of all
     
    152152detected automatically.  If your network printer is not detected, select
    153153:hp2.Network or other printer (manual configuration):ehp2. and configure it
    154 manually.  (See :link reftype=hd refid=network.Configuring a network printer
    155 :elink. for details.)
     154manually.  (See :link reftype=hd refid=network.Configuring a network or virtual
     155printer:elink. for details.)
    156156
    157157:p.If you are installing a USB printer, it should appear in the list of
     
    162162.* ............................................................................
    163163:h2 res=310 name=network
    164     x=left y=bottom width=100% height=100%.Configuring a network printer
    165 :p.The settings on this dialog specify how your network printer is connected.
     164    x=left y=bottom width=100% height=100%.Configuring a network or virtual printer
     165:p.The settings on this dialog specify how your network or virtual printer is connected.
    166166:p.First, you must select the type of network connection using the
    167 :hp2.Network protocol:ehp2. control.  The remaining options will vary
    168 depending on the network type.
     167:hp2.Protocol:ehp2. control.  The remaining options will vary depending on
     168the network type.
    169169:dl break=all.
    170170:dt.:hp2.Internet Printing Protocol (IPP):ehp2.
     
    255255in the directory specified in the file &osq.cups-pdf.conf&csq. which resides
    256256in the CUPS configuration directory (usually %UNIXROOT%\etc\cups).  The
    257 normal default location is %UNIXROOT%\var\spool\cups.  (If you specify a server
    258 other than the local computer, the file will be created on that server.)
     257default location is %UNIXROOT%\var\spool\cups.
    259258:p.This option is only available if the :hp2.cups-pdf:ehp2. module is
    260259installed on your system.
    261260:edl.
    262 :p.All network protocols except for :hp2.Existing CUPS printer:ehp2. require
     261:p.All protocols except for :hp2.Existing CUPS printer:ehp2. require
    263262CUPS to be installed on the local system.
    264263:p.Choose whichever protocol your printer (or its print server) best supports.  Consult
  • trunk/gui/printer/cupswiz/cupswzen.mkm

    r95 r96  
    9696;
    9797; Network settings dialog
    98 CWZ0080I: Network Printer
    99 CWZ0081I: Network protocol:
     98CWZ0080I: Network or Virtual Printer
     99CWZ0081I: Protocol:
    100100CWZ0082I: Printer or server address:
    101101CWZ0083I: Print server name:
Note: See TracChangeset for help on using the changeset viewer.