Skip to content

printers.conf #8

Description

@david-kooi

I've copied the cupsd generated printers.conf file into the pharos-linux directory. But does not seem to what is needed. printers.conf looks like this:

# Printer configuration file for CUPS v2.1.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer David_Pharos>
UUID urn:.....stuff stuff
Info David_Pharos
MakeModel Generic PostScript Printer
DeviceURI lpd://dkooi@cppharosprint....stff stuff
State Idle
StateTime 1562195144
ConfigTime 1545165788
Type 8400988
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

This gives an error:

ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /home/david/api/pharos-linux/printers.conf, line: 4
'<Printer David_Pharos>\n'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions