Comments (1)
First, there is an IPP operation to get the list of drivers - Get-System-Attributes (IPP_OP_GET_SYSTEM_ATTRIBUTES
) which returns the "smi2699-device-command-supported" attribute.
That said, the only thing that seems to need the list of drivers is your auto-add callback. The PAPPL code just sends a Create-Printer (IPP_OP_CREATE_PRINTER
) request with the named driver, so as long as the driver is known to the server it will accept the request.
So it sounds more like you need to use the "data" pointer to hold the state information (including printer driver list) and have a function that is used by both the autoadd callback and server callback to create that driver list.
from pappl.
Related Issues (20)
- printer-app sometimes crashes HOT 19
- Add "no DNS-SD" option HOT 2
- Add idle exit option HOT 1
- The attributes "output-bin" and "sides" cannot be set by IPP operation "IPP_OP_SET_PRINTER_ATTRIBUTES" HOT 3
- "proof-copies" support
- Add "job-password" and "job-release-action" support
- ipptransform support
- Support more job attributes HOT 2
- "printer-settable-attributes" and _papplPrinterSetAttributes are inconsistent HOT 4
- The option of "-n COPIES" doesn't work HOT 2
- “orientation-requested-default” cannot be set HOT 1
- Query about the "finishing" HOT 9
- Driverless cannot get the "printer-strings-uri" attribute HOT 3
- `modify` command ignores `-m` and `-v` options silently HOT 1
- Duplicate "printer-device-id"/"printer-strings-languages-supported" attribute in printer-attributes-tag group HOT 1
- Printer speed not saved for TSPL 203dpi HOT 4
- Raw socket gets data, but does not send data to printer HOT 8
- Printer darkness reset from 0% to default HOT 1
- Query about margin HOT 1
- pappl build errors: on linux, missing #defines, libcups3 not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pappl.