安装热敏打印机时出现问题

use*_*182 5 printing drivers

我有一台 USB HOIN HOP-H58 热敏打印机,但尚未安装成功。我有 Ubuntu 18.04 和一个我希望使用打印机的 POS 系统。系统将打印机识别为 CUPS-BRF 打印机,但这样添加它不起作用。

Ubuntu 系统提供了从设置中添加打印机的以下选项:

  • 通过从数据库中选择打印机名称 - Hoin/Hop 不可用
  • 从安装源中选择 ppd 文件 - 仅可从打印机网站获取 .rar 文件:http://hoinprinter.com/en/download
  • 作为通用安装(纯文本)(仍然来自打印机数据库)- 不起作用

我什至尝试了 Epson 驱动程序(因为打印机显示类似“命令:Espson ESC/POS”的内容),但这也有问题并且不起作用。

我将非常感谢有关如何获取驱动程序以及如何安装它们的任何帮助(https://github.com/IntegersOfK/Hoin-POS-58-80似乎有一个可能的解决方案,但我不知道如何安装)。

谢谢,约瑟夫。

再次嗨...,我设法自我学习了一下,并且“成功”从下载的文件中运行了 .sh 文件。这是屏幕输出:

----------

root@User1-job-node:/home/User11/Downloads/Linux Driver/install_package# chmod +x setup58.sh 
root@User1-job-node:/home/User11/Downloads/Linux Driver/install_package# ./setup58.sh
POS Electronics Co..Ltd 
---------------------------------------
    Models included:
                 POS-80-Series
                 POS-58-Series
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Searching for ServerRoot, ServerBin, and DataDir tags in /etc/cups/cupsd.conf

ServerBin tag not present in cupsd.conf - using default

DataDir tag not present in cupsd.conf - using default

ServerRoot = 
ServerBin  = 
DataDir    = 

Copying rastertopos58 filter to /usr/lib/cups/filter
chmod: cannot access './bin/rastertopos58': No such file or directory
cp: cannot stat './bin/rastertopos58': No such file or directory

Copying model ppd files to /usr/share/cups/model/pos
cp: cannot stat 'ppd/*.ppd': No such file or directory

Add the POS-58-Series printer
lpadmin: Unable to open PPD "/usr/share/cups/model/pos/pos58.ppd": Unable to open PPD file on line 0.
lpadmin: Unable to open PPD file "/usr/share/cups/model/pos/pos58.ppd" - No such file or directory

Restarting CUPS
[ ok ] Stopping cups (via systemctl): cups.service.
[ ok ] Starting cups (via systemctl): cups.service.

Install Complete
Go to http://localhost:631, or http://127.0.0.1:631 to manage your printer please
Run Code Online (Sandbox Code Playgroud)

----------

此后,打印机无法工作,并出现以下情况:

  • 打开http://localhost:631,无法“添加打印机”,因为输入登录详细信息后,浏览器(在本例中为 Firefox)会永远搜索而不会出现任何结果,
  • 打印机甚至不会打印测试页,这显示在打印机(POS-58 系列)打印首选项的“状态”下:文件“/usr/lib/cups/filter/rasteropos58”不可用:没有这样的文件或目录

其他尝试过但安装失败的选项是:

Gay*_*tti 0

如果在运行脚本时出现错误,请将脚本的第一行从 编辑为#!/bin/sh#!/bin/bashgzip: stdin: unexpected end of file

您还可以尝试仅使用提供的 PPD 文件添加打印机,而不是运行脚本。

  • 下载适当的 PPD 文件 (pos58.ppd)

  • 插入您的设备 (USB)

  • 打开 CUPS Web 界面。

  • 管理->“添加打印机”

  • 在“本地打印机”下,您应该会看到您的打印机。通用打印机通常显示为“未知”

  • 从磁盘中选择 PPD 文件。

  • 最后点击“添加打印机”