Comments (4)
I'm not sure what you mean by direct printing? You can call the wxPDFView::Print()
which will handle the complete printing process (Dialog + Printing) or if you need more control over the print process you could use wxPDFView::CreatePrintout()
.
from wxpdfview.
I could not find it in docs. I want to send pdf to printer with some settings, no dialog at all
from wxpdfview.
Have a look at wxPDFViewPanel::StartPrint
https://github.com/TcT2k/wxPDFView/blob/master/src/PDFViewDocumentPanel.cpp#L573
If I'm not mistaken you could take that code and modify the wxPrinter::Print()
call to set prompt = false
and it should not display the print dialog and you should be able to modify print parameters in wxPrintDalogData
.
If you need even deeper customization I would suggest looking into the wxPDFViewPrintout
implementation.
from wxpdfview.
Thanks for the pointer
from wxpdfview.
Related Issues (12)
- cmake doesn't find wxWidgets or pdfium HOT 2
- Loading from the Internet
- Feedback wanted: incoming changes in pdfium-binaries HOT 1
- compile issue HOT 1
- Please update the readme for newer versions of PDFium as follows
- wxPDFView doesn't build with latest pdfium HOT 6
- Crash with certain PDF file HOT 2
- Can you please advise on how to build on Linux (ubuntu for that matter), incl PDFIUM. HOT 1
- Do you have a demo like this but based on MFC?
- Make lib on Linux Mint
- Compile error related to a pdfium header
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 wxpdfview.