Click here to Skip to main content
13,089,127 members (72,269 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 16:42pm
Rate this: bad
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:[^]
Rate this: bad
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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2017
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