Project

General

Profile

追加功能 #491

v4.0: Mobile devices support web printing

Added by Zhongbao Ye about 1 month ago. Updated 4 days ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v4.0
Start date:
11/10/2025
Due date:
12/31/2025
% Done:

100%

Estimated time:
16.00 h

Description

Background
  1. 手机端直接通过局域网连接唛头打印机,提高物流人员的工作效率
Task Details (具体步骤)
  • 2. Windows本地局域网的电脑连接网络打印机打印
    顺序 内容 参考
    1 访问打印机服务器的ip地址,比如: \\192.168.3.188 -》 自动安装驱动 -
    2 参考服务器配置本地打印机首选项 https://redmine.easydingzhi.com/attachments/248
  • 3. Mobile设备连接打印机打印
    方案
    1. 手机端生成图片(url 或者 blob)
    2. 图片发送给【代理服务器 并 转换成ZPL图片】
    3. 代理服务器 ZPL图片 直接发送给Zebra打印机【端口:9100】打印
    

    方案(Zebra Web Print方案) :未采用
    1. Zebra Web Print 并不是为手机端设计的,它是桌面浏览器方案;手机端必须依赖 Zebra 的 App,或者彻底绕开它,用代理服务器直连打印机。
       - Android Zebra App(接管打印):支持有限
       - iOS 基本不可用
       资料:https://www.zebra.com/content/dam/support-dam/en/documentation/unrestricted/guide/software/zebra-browser-print-user-guide-v1-3-2-android-en-us.pdf
    
    
v4 coding standard:
  1. Git提交
    #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
      
  2. 代码规范
    2.1: 结构:Public -> Protected -> Private
    2.2: 其他代码规范同SBX
      
  3. MVCL的v3/v4物理分割
    3.1: v3/v4的代码分为两个文件,比如: order.php, order_v3.php
    3.2: system也分为两个文件,暂时只有一个user_v3
    - Note: front的$this->user在v4中会替换为$this->customer, 即v4中需要清除$this->user
    3.3: 代码中,区分v3/v4的调用,比如:new User_V3
     
  4. 前台代码
    twig, js, css (js, css尽量写在单独的css文件中)
     
  5. 后台代码
    MVCL (L:en,cn)
     
  6. 注释
    1. 类名:
      /**
       * xxx
       *
       * @copyright RedBlue-OTS 2024
       * @version v4
       *
       */
      
    2. 函数名:参数类型 + 返回值类型
          /**
           * xxx
           *
           * @param  xxx $xxx
           * @param  xxx $xxx
           * @return xxx
           */
      
Output
  • Report and Solution

Others


Files

Zebra 888-TT 打印机首选项配置.jpg (136 KB) Zebra 888-TT 打印机首选项配置.jpg Zebra 888-TT 打印机首选项配置 Zhongbao Ye, 11/12/2025 01:39 PM
Mobility Print.apk (3.46 MB) Mobility Print.apk Android - Mobility Print.apk Zhongbao Ye, 11/12/2025 03:01 PM
#2

Updated by Xihua Fan about 1 month ago

  • Description updated (diff)
#4

Updated by Xihua Fan about 1 month ago

  • Description updated (diff)
#5

Updated by Zhongbao Ye about 1 month ago

  • Description updated (diff)
#6

Updated by Zhongbao Ye about 1 month ago

  • Status changed from 进行中 to 已关闭
  • % Done changed from 50 to 100
#7

Updated by Xihua Fan about 1 month ago

  • Subject changed from v4.0: Mobile devices support web printing to v4.0: Mobile devices support web printing (PAUSED)
  • Status changed from 已关闭 to 进行中
  • % Done changed from 100 to 90
#8

Updated by Xihua Fan 26 days ago

  • Subject changed from v4.0: Mobile devices support web printing (PAUSED) to v4.0: Mobile devices support web printing (Zebra技术咨询中)
#9

Updated by Xihua Fan 22 days ago

  • Due date changed from 11/11/2025 to 12/31/2025
#10

Updated by Zhongbao Ye 18 days ago

  • Description updated (diff)
#11

Updated by Xihua Fan 4 days ago

  • Subject changed from v4.0: Mobile devices support web printing (Zebra技术咨询中) to v4.0: Mobile devices support web printing
  • Description updated (diff)
  • Status changed from 进行中 to 已关闭
  • % Done changed from 90 to 100

Also available in: Atom PDF