Click here to Skip to main content
11,428,497 members (62,601 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Javascript
I use the JavaScript header and footer print settings, and control all margins to 0 but the print when they found an error, I use C # 4.0 to do can be precisely controlled in place, but use the stylus, the font is pointcomposition does not meet the requirements, demand printing solutions, JavaScript, C #, VC + + are best source, precise control of the print area and location.

我使用JavaScript实现打印设置页眉页脚不显示,控制所有边距为0但是打印的时候却发现错误,我用C#4.0来做的可以精确控制到位但使用的是针打,字体是用点组成不符合要求,求打印解决方案,JavaScript ,C# ,VC++ 都可以 最好是源码,能精确控制打印区域和位置的。
Posted 18-Nov-12 17:42pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I cant read your question completely. But you can style your print using css files. (It seems you are talking about WEB)
Read more about media types here:
http://www.w3schools.com/css/css_mediatypes.asp[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Thank you, did not come for a long time around here, the problem has been resolved, I mainland China. NET developers, English is not good, using Google Translate, certainly there will be a lot of wrong place
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100