Skip to content

Store information for more than one printer in the 'config.yaml' file? #647

@dubaleeiro

Description

@dubaleeiro

I have:

  • searched open and closed issues for duplicates

Bug description

Hi, this is actually not a bug: is it possible to store in the config.yaml information from more than one printer?

Steps to reproduce

  • create config.yamlfile with following structure:
  name: 
    - GEZHI
    - TECH
  type: 
    - Usb
    - Usb
  idVendor: 
    - 0x28e9
    - 0x6868
  idProduct: 
    - 0x289
    - 0x200
  in_ep: 
    - 0x81
    - 0x82
  out_ep: 
    - 0x1
    - 0x1

Device info

Printer: Goojprt PT-210

python-escpos version: 3.1

python version: 3.12.2

operating system: Raspbian GNU/Linux (Raspberry Pi 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions