Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set shared printer option using sockets #114

Open
EDKarlsson opened this issue Jan 23, 2025 · 0 comments
Open

Unable to set shared printer option using sockets #114

EDKarlsson opened this issue Jan 23, 2025 · 0 comments

Comments

@EDKarlsson
Copy link

EDKarlsson commented Jan 23, 2025

I'm trying to connect to a Zebra printer connected through sockets.

When I set the printer option to share the printer the configuration does not seem to be set after adding it.

This is the printer.conf

<Printer test>
PrinterId 1
UUID urn:uuid:f425aba8-9821-3453-63be-b95cc9dd2215
Info test
Location test
MakeModel Zebra ZPL Label Printer
DeviceURI socket://172.21.104.106
State Idle
StateTime 1737662837
ConfigTime 1737662838
Type 36932
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

This is the server settings

Server Settings:
 Share printers connected to this system
         Allow printing from the Internet
 Allow remote administration
 Allow users to cancel any job (not just their own)
 Preserve job history
        Maximum jobs (0 for no limit): 500
        Retain Metadata: Yes
        Retain Documents: Yes
 Save debugging information for troubleshooting
        Max log file size: 0

I am able to set it to shared if I exec into the container and use lpadmin -o printer-is-shared=true -p test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant