Comments (2)
That's probably because I inject the api key into the PrintNode api service class from the service provider. The service class is a singleton though, and there is a setter on it to update the api key.
All you need to do is set it like this:
app(\Rawilk\Printing\Api\PrintNode\PrintNode::class)->setApiKey('your-new-key');
For more info, see: https://randallwilk.dev/docs/laravel-printing/v3/advanced-usage/printnode-api#user-content-introduction
from laravel-printing.
I'm going to close this issue for now since there hasn't been any activity on it for a while, and the issue described is possible to actually do with how I described above. Feel free to re-open in the future if necessary.
from laravel-printing.
Related Issues (20)
- SERVER ERROR HOT 1
- file method not working HOT 1
- Rawilk\Printing\Receipts\ReceiptPrinter Not Working HOT 1
- Cannot install on PHP version 8.1 or 8.2. HOT 1
- Unable to print ZPL code HOT 1
- I can not access to my php admin HOT 1
- Arabic not printing convert to wrong text HOT 2
- [Feature Request]: Doc Update with an example of Local IP Printer HOT 3
- Laravel 10 not support HOT 3
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain HOT 1
- Fatal error: Declaration of Http\Client\Socket\Stream::close() must be compatible with Psr\Http\Message\StreamInterface::close(): HOT 2
- Printers not listed HOT 1
- Incompatible HTTP factory HOT 10
- [Feature Request]: HOT 2
- 🖨️ Mock printer for local testing HOT 2
- `Error Interface "Http\Client\HttpClient" not found.` with CUPS driver HOT 1
- [Feature Request]: Support for Laravel 11.x HOT 2
- Rawilk \ Printing \ Exceptions \ PrintNodeApiRequestFailed PHP 8.1.27 10.48.5 Incorrect request body: printer id must be an integer specified as (request body).printer.id or (request body).printer or (request body).printerId HOT 1
- You must provide an api key for the PrintNode driver.
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 laravel-printing.