Menu PCBPrintMenu
Begin
     Popup '文件[&F] {F}'
     Begin
          MenuItem '新建[&N]...'                       'Client:CreateNewDocument(SingleDocument=True)'
          MenuItem '新建设计[&G]...'                 Client:CreateNewDocument
          MenuItem '打开[&O]...'                       Client:OpenDocument
          MenuItem '关闭[&C]'                         Client:CloseDocument
          MenuItem '关闭设计[&D]'                  Client:CloseProject
          MenuItem SEPARATOR
          MenuItem '导出[&E]...'                    'PCBPrint:PrintDocument(Action=Save|$Description=导出元文件)'
          MenuItem SEPARATOR
          MenuItem '保存[&S]'                          Client:SaveDocument
          MenuItem '另存为[&A]'                   'Client:SaveDocumentAs(Action=SaveAs)'
          MenuItem '保存副本为[&Y]'               Client:SaveDocumentAs
          MenuItem '保存全部[&L]'                      Client:SaveAllDocuments
          MenuItem SEPARATOR
          MenuItem '设置打印机[&R]...'             'PCBPrint:SetupPrinter'
          MenuItem SEPARATOR
          MenuItem '打印全部[&P]'                    'PCBPrint:PrintDocument(Action=PrintAll|$Description=打印全部)'
          MenuItem '打印作业[&J]'                    'PCBPrint:PrintDocument(Action=PrintAsSingleJob|$Description=Print all as single print job)'
          MenuItem '打印页面'                   'PCBPrint:PrintDocument(Action=PrintCurrentPage|$Description=Print Current Page)'
          MenuItem '打印当前[&U]'                'PCBPrint:PrintDocument(Action=PrintCurrentPreview|$Description=Print Current Preview)'
          MenuItem SEPARATOR
          MenuItem '退出[&X]'                          Client:QuitFromEDAClient
     End
     Popup '编辑[&E] {E}'
     Begin
         MenuItem '复制[&C]'                          'PCBPrint:PrintDocument(Action=Copy|$Description=Copy current preview to clipboard)'
         MenuItem SEPARATOR
         MenuItem '插入打印输出[&I]'               'PCBPrint:InsertObject(Object=PrintOut)'
         MenuItem '插入板层[&L]'                  'PCBPrint:InsertObject(Object=Layer)'
         MenuItem SEPARATOR
         MenuItem '删除[&D]'                         PCBPrint:DeleteObject
         MenuItem '修改[&H]...'                      PCBPrint:ChangeObject
     End
     Popup '查看[&V] {V}'
     Begin
          MenuItem '适合页面[&F]'                    'PCBPrint:Zoom(Action=All|$Description=Show all of the current preview)'
          MenuItem '页面宽度[&P]'                   'PCBPrint:Zoom(Action=PageWidth|$Description=Show page width)'
          MenuItem '整页[&W]'                   'PCBPrint:Zoom(Action=WholePage|$Description=Show whole page)'
          MenuItem SEPARATOR
          MenuItem '放大[&I]'                      'PCBPrint:Zoom(Action=In|$Description=Show more of the current preview - lower magnification)'
          MenuItem '缩小[&O]'                     'PCBPrint:Zoom(Action=Out|$Description=Show less of the current preview - higher magnification)'
          MenuItem '刷新[&R]'                      'PCBPrint:Zoom(Action=Redraw)'
          MenuItem SEPARATOR
          MenuItem '500%[&5]'                         'PCBPrint:Zoom(Action=500|$Description=Zoom to 500%)'
          MenuItem '200%[&2]'                         'PCBPrint:Zoom(Action=200|$Description=Zoom to 200%)'
          MenuItem '150%'                          'PCBPrint:Zoom(Action=150|$Description=Zoom to 150%)'
          MenuItem '100%[&1]'                         'PCBPrint:Zoom(Action=100|$Description=Zoom to 100%)'
          MenuItem '75%[&7]'                          'PCBPrint:Zoom(Action=75|$Description=Zoom to 75%)'
          MenuItem '50%'                           'PCBPrint:Zoom(Action=50|$Description=Zoom to 50%)'
          MenuItem '25%'                           'PCBPrint:Zoom(Action=25|$Description=Zoom to 25%)'
          MenuItem '10%[&0]'                          'PCBPrint:Zoom(Action=10|$Description=Zoom to 10%)'
          MenuItem SEPARATOR
          MenuItem '设计管理器[&M]'                Client:ToggleDocumentManager
          MenuItem '状态栏[&S]'                    Client:ToggleClientStatusBar
          MenuItem '命令状态栏[&N]'                Client:ToggleProcessStatusBar
          MenuItem '主工具条[&B]'                 'Client:CustomizeResources(ToggleToolbar=印制板打印工具条)'
     End
     Popup '工具[&T] {T}'
     Begin
         MenuItem '创建成图[&F]'                   'PCBPrint:CreatePrintSet(Kind=Final|$Description=Create final artwork set)'
         MenuItem '创建复合层[&C]'               'PCBPrint:CreatePrintSet(Kind=Composite|$Description=Create multilayer composite drawing)'

         MenuItem '创建内电层集[&S]'                'PCBPrint:CreatePrintSet(Kind=Plane|$Description=Create power plane set)'
         MenuItem 'Create &Mask Set'                'PCBPrint:CreatePrintSet(Kind=Mask|$Description=Create solder/paste mask set)'
         MenuItem '创建钻孔图[&D]'          'PCBPrint:CreatePrintSet(Kind=Drill|$Description=Create drill drawing/guide set)'
         MenuItem '创建装配图[&A]'          'PCBPrint:CreatePrintSet(Kind=Assembly|$Description=Create assembly drawing set)'
         MenuItem '创建合成钻孔指南[&G]'    'PCBPrint:CreatePrintSet(Kind=CompositeDrill|$Description=Create composite drill drawing/guide set)'
         MenuItem SEPARATOR
         MenuItem '重建预览[&R]'            'PCBPrint:Rebuild(ProcessPCB=False|$Description=Rebuild current print set)'
         MenuItem 'Pr&ocess PCB'                'PCBPrint:Rebuild(ProcessPCB=True|$Description=Process PCB and rebuild current print set)'
         MenuItem SEPARATOR
         MenuItem '参数选择[&P]...'                'PCBPrint:SetupPreferences'
         MenuItem '设置目标板框[&B]...'           'PCBPrint:DocumentOptions'
     End
     Popup '窗口[&W] {W}'
     Begin
          MenuItem '平铺[&T]\tShift+F4'                   Client:TileAllOpenDocuments
          MenuItem '层叠[&C]\tShift+F5'                Client:CascadeAllOpenDocuments
          MenuItem SEPARATOR
          MenuItem '水平平铺[&H]'               'Client:TileAllOpenDocuments(Mode=Horizontal)'
          MenuItem '垂直平铺[&V]'                 'Client:TileAllOpenDocuments(Mode=Vertical)'
          MenuItem SEPARATOR
          MenuItem '排列为图标[&I]'                    Client:WindowArrangeIcons
          MenuItem '关闭全部[&A]'                        Client:CloseAllOpenDocuments
     End
     Popup '帮助[&H] {H}'
     Begin
          MenuItem '内容[&C]'                          'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
          MenuItem SEPARATOR
          MenuItem '使用打印/预览[&U]'               'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=PCBPrint)'
          MenuItem '&Setting Up a Printout'             'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=SettingUpaPrintout)'
          MenuItem 'Printing &Options'                  'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=Printing)'
          MenuItem '板层属性[&L]'                  'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=ConfiguringTheLayerProperties)'
          MenuItem '导出为 WMF[]&E'                  'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=ExportingAsWmf)'
          MenuItem '&Transferring the PPC'              'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=TransferringThePpc)'
          MenuItem SEPARATOR
          Popup '弹出[&P]'
          Begin
              Popup '缩放[&Z] {Z}'
              Begin
                   MenuItem '适合页面[&F]'          'PCBPrint:Zoom(Action=All|$Description=Show all of the current preview)'
                   MenuItem '页面宽度[&P]'          'PCBPrint:Zoom(Action=PageWidth|$Description=Show page width)'
                   MenuItem '整页[&W]'              'PCBPrint:Zoom(Action=WholePage|$Description=Show whole page)'
                   MenuItem SEPARATOR
                   MenuItem '放大[&I]'              'PCBPrint:Zoom(Action=In|$Description=Show more of the current preview - lower magnification)'
                   MenuItem '缩小[&O]'              'PCBPrint:Zoom(Action=Out|$Description=Show less of the current preview - higher magnification)'
                   MenuItem '重绘[&R]'              'PCBPrint:Zoom(Action=Redraw)'
                   MenuItem SEPARATOR
                   MenuItem '500%[&5]'                'PCBPrint:Zoom(Action=500|$Description=Zoom to 500%)'
                   MenuItem '200%[&2]'                'PCBPrint:Zoom(Action=200|$Description=Zoom to 200%)'
                   MenuItem '150%'                 'PCBPrint:Zoom(Action=150|$Description=Zoom to 150%)'
                   MenuItem '100%[&1]'                'PCBPrint:Zoom(Action=100|$Description=Zoom to 100%)'
                   MenuItem '75%[&7]'                 'PCBPrint:Zoom(Action=75|$Description=Zoom to 75%)'
                   MenuItem '50%'                  'PCBPrint:Zoom(Action=50|$Description=Zoom to 50%)'
                   MenuItem '25%'                  'PCBPrint:Zoom(Action=25|$Description=Zoom to 25%)'
                   MenuItem '10%[&0]'                 'PCBPrint:Zoom(Action=10|$Description=Zoom to 10%)'
                   MenuItem SEPARATOR
                   MenuItem '全部[&A]'                 'PCBPrint:Zoom(Action=All|$Description=Show all of the current preview)'
              End
          End
          MenuItem SEPARATOR
          MenuItem '关于[&S]'                      Client:HelpAbout
     End
End

HotKeyTable 'PCBPrintHotKeyTable'
Begin
     Key 'PCBPrint:Zoom(Action=Redraw)'             End                EndKey
     Key PCBPrint:Copy                              Insert    Ctrl     EndKey
     Key 'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)' F1  EndKey
     Key Client:TileAllOpenDocuments                F4        Shift    EndKey
     Key Client:CascadeAllOpenDocuments             F5        Shift    EndKey
     Key 'PCBPrint:Zoom(Action=In)'                 PgUp               EndKey
     Key 'PCBPrint:Zoom(Action=Out)'                PgDn               EndKey
End

Toolbar PCBPrintToolBar 'Fixed Top' 1 1 50 'True' 5000
Begin
     Button 'PROJMAN.BMP'                           Client:ToggleDocumentManager
     Separator
     Button 'FILEOPEN.BMP'                          Client:OpenDocument
     Button 'FILESAVE.BMP'                          Client:SaveDocument
     Button 'PRINT.BMP'                            'PCBPrint:PrintDocument(Action=PrintAll|$Description=Print all)'
     Separator
     Button 'Zoomin.bmp'                           'PCBPrint:Zoom(Action=In|$Description=Show less of the current preview - higher magnification)'
     Button 'Zoomout.bmp'                          'PCBPrint:Zoom(Action=Out|$Description=Show more of the current preview - higher magnification)'
     Button 'Zoomdoc.bmp'                          'PCBPrint:Zoom(Action=All|$Description=Show all of the current preview)'
     Separator
     Button 'COPY.BMP'                             'PCBPrint:PrintDocument(Action=Copy|$Description=Copy current preview to clipboard)'
     Separator
     Button 'HELP.BMP'                             'Client:RunHelpTopic(FileName=\help\Protel.hlp|Topic=Contents)'
End
