Comments (7)
Hi Peter,
Thanks for your feedback. Could you please tell what package version do you use?
These 20 instances are running after printing is finished and don't exit at all? The wrapper runs new PDFtoPrinter instance per every Print call. So if you use it in parallel code, it's possible to have a number of processes at the same time but them should exit after document is added to the printing queue. If it isn't, could you please send me a source code example?
Also, based on your feedback, I've release a new version of package with concurrency settings. So you can use wrapper as Singleton to control process instance count.
Thanks,
Sergey
from pdftoprinter.
from pdftoprinter.
Sergey,
We have found another issue as well, it would appear that when mulitiple print jobs are called not all jobs are printing, so if the loop count is > 1 then the print issues appear.
Regards
Peter
from pdftoprinter.
Hi Peter,
Thanks for detailed information, this really helped.
the "Print" is asynchronous and you uses it in synchronous code. Could you try to change the method's call like this:
printWrapper.Print(filePath, networkPrinter, printTimeOut).Wait();
to be ensure that printing has started?
from pdftoprinter.
from pdftoprinter.
from pdftoprinter.
Hi,
That great! Feel free to contact me with any issues.
from pdftoprinter.
Related Issues (20)
- We Can Print Silent HOT 4
- .net 5 support without -windows HOT 4
- Is this working on windows service HOT 4
- PdfToPrint.exe is missing HOT 4
- Network printer not working HOT 4
- CleanupFilesPrinter not removing files HOT 12
- The system cannot find the file specified HOT 6
- Resize PDF HOT 3
- File not found when printing from web service HOT 10
- Multi Printer HOT 2
- select printer tray HOT 1
- Suggestion: Print PDF from a stream HOT 1
- use `<PublishSingleFile>true</PublishSingleFile>` not found directory name. HOT 2
- File structure changes when publishing HOT 5
- focus parameter
- The system cannot find the file specefied HOT 1
- Issue with printing with concurrency that one of the files stays with PDF XChange Viewer open blocking HOT 15
- execute multiple time HOT 1
- 打印不同文件且不同份数 请问如何实现
- Portrait and Landscape Printing HOT 1
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 pdftoprinter.