Comments (2)
I need this too
i thought it could be solved by adding
@page { size: auto; margin: 0mm; }
to:
assets/css/print.css
and then use the css file attribute, but not working for me in angular8
from ngx-print.
Add This line Work for me , I am using Angular 11
myWindow!.document.write("<style>@page { size: auto; margin: 0mm; }</style>");
from ngx-print.
Related Issues (20)
- Show Print Preview without Print Dialog
- Not compatible with Angular 14 HOT 4
- ngx-print throw error with angular 14 HOT 2
- Error while installing ngx-print @1.2.1 on angular 11.1.2 HOT 8
- Build error with Angular 14.2.9 HOT 3
- Select elements do not print currently selected item HOT 1
- 'ngx-print' package not perfectly working in my angular project HOT 7
- Replace about:blank with hostname in footer on chrome
- Is there a plan for converting to standalone ?
- Preview mode on older versions HOT 1
- ngx-print printing extra page when printing one page HOT 3
- Blank Space After First Page HOT 3
- Error in install ngx-print with angular 15.0.1 HOT 1
- Release versions for Angular 16 (and 17) HOT 2
- Cannot compile with ngx-print after this weekend HOT 5
- Property '"previewOnly"' is incompatible with index signature. Type '{ alias: "previewOnly"; required: false; }' is not assignable to 'string' HOT 3
- Optional Parameter printTitle Set Function Not Working HOT 1
- NgxPrintService is missing in v1.3.1 HOT 2
- printTitle is not working in Angular 17 HOT 1
- It works fine on the browser but with electron there is no preview available
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 ngx-print.