Ignore:
Timestamp:
Feb 24, 2019, 4:38:22 AM (7 years ago)
Author:
Alex Taylor
Message:

Fix default port names for various drivers.
Show error message when trying to create a USB port.

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

Legend:

Unmodified
Added
Removed
  • trunk/gui/printer/manager/PRINTOOL.VRP

    r82 r85  
    88VRXWindow: __VREMainWindow,1,964,4288,6697,8046
    99VRXWindow: __VRESectionListWindow,1,1084,16044,4204,4059
    10 VRXWindow: __VREToolsWindow,1,1096,14309,5466,1663
     10VRXWindow: __VREToolsWindow,1,1096,14309,5469,1665
    1111VRXWindow: __VREWindListWindow,1,5312,16044,3505,4059
    1212UserFile: 1
     
    1818UserWindow: SW_PORTS,1
    1919UserWindow: SW_ABOUT,1
    20 UserWindow: SW_PORT_ADD,1
    2120UserWindow: SW_MODELS,1
    2221UserWindow: SW_IMPORT,1
  • trunk/gui/printer/manager/PRINTOOL.VRX

    r82 r85  
    13161316
    13171317    _name = VRMethod('CN_ADDPORT', 'GetFieldData', record, 'NAME')
     1318
     1319    IF _name == 'USBPRT' THEN DO
     1320        CALL VRMessage 'SW_PORT_ADD', NLSGetMessage( 213 ), NLSGetMessage( 214), 'E'
     1321        CALL SW_PORT_ADD_Close
     1322        RETURN 0
     1323    END
     1324
    13181325    btns.0 = 2
    13191326    btns.1 = NLSGetMessage( 14 )
  • trunk/gui/printer/manager/printm_en.txt

    r76 r85  
    225225PTM0211I: There are no properties available for the port %1.
    226226PTM0212I: The IBMNULL driver cannot be deleted.
    227 PTM0213?:
    228 PTM0214?:
     227PTM0213I: Manually creating a USB port is not supported. Connect the printer to the computer using a USB cable and then power it on; the port should be configured automatically.
     228PTM0214I: Operation Not Supported
    229229PTM0215?:
    230230PTM0216?:
Note: See TracChangeset for help on using the changeset viewer.