在打开的“Word选项”对话框中,切换到“显示”选项卡。在“打印选项”区域列出了可选的打印选项,选中每一项的作用介绍如下:
(1)选中“打印在Word中创建的图形”选项,可以打印使用Word绘图工具创建的图形;
(2)选中“打印背景色和图像”选项,可以打印为Word文档设置的背景颜色和在Word文档中插入的图片;
(3)选中“打印文档属性”选项,可以打印Word文档内容和文档属性内容(例如文档创建日期、最后修改日期等内容);
(4)选中“打印隐藏文字”选项,可以打印Word文档中设置为隐藏属性的文字;
(5)选中“打印前更新域”选项,在打印Word文档以前首先更新Word文档中的域;
(6)选中“打印前更新链接数据”选项,在打印Word文档以前首先更新Word文档中的链接,
如何把word模板设置为不打印,
那是word里面的标题样式中前面默认自带的一个小黑点
从菜单栏中“工具”——“选项”,去掉“格式标记”中的“段落标记”的钩,你就看不到那个点了。不过在打印时不会有那个点~
C#如何打印word模板
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Microsoft.Office;
using Microsoft.Office.Core;
using Microsoft.Office.Interop;
using Microsoft.Office.Interop.Word;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string[] demostr ={ "测试数据1", "afsdasd", "fasdfdf", "sdfasdfee33", "asdfddeegadg", "fee都受到" };
string url = "http://" + this.Request.Url.Authority + "/demo/全国工业产品生产许可证申请登记表.doc";
string urlreadword = "/demo/Officebak/" + SetDocumentBookmarkData(url, demostr, Guid.NewGuid().ToString());
Page.RegisterStartupScript("msg", "<script>window.location='" + urlreadword + "';</script>");
}
//设定标签的数据
public string SetDocumentBookmarkData(string FileName, string [] demostr, string caseid)
{
//打开文档
Microsoft.Office.Interop.Word.Document wDoc = null;
Microsoft.Office.Interop.Word.Application wApp = null;
this.OpenWordDoc(FileName, ref wDoc, ref wApp);
object oEndOfDoc = "\\endofdoc";
object missing = System.Reflection.Missing.Value;
//设定标签数据
System.Collections.IEnumerator enu = wApp.ActiveDocument.Bookmarks.GetEnumerator();
string[] strbook = new string[demostr.Length ];
int i = 0;
Microsoft.Office.Interop.Word.Bookmark bk = null;
while (enu.MoveNext())
{
bk = (Microsoft.Office.Interop.Word.Bookmark)enu.Current;
if (bk.Name.ToString().Trim() != "Table")
{
strbook[i] = bk.Name.ToString();
i++;
}
}
object tempobject = null;
int length = 0;
for (i = 0; i < strbook.Length; i++)
{
tempobject = strbook[i].ToString();
if (wApp.ActiveDocument.Bookmarks.Exists(strbook[i].ToString()))
{
wApp.ActiveDocument.Bookmarks.get_Item(ref tempobject).Select();
wApp.Selection.Text = demostr[i].ToString ();
}
}
Microsoft.Office.Interop.Word.Table wordTablexSoft = wDoc.Tables[1];
InsertTabletoData(wordTablexSoft, ref wDoc, ref wApp);
//收尾工作
object o = null;
//string guid = System.Guid.NewGuid().ToString();
string guid = caseid;
object sFileName = Server.MapPath("/demo/Officebak/" + guid + ".doc");
if (wDoc.SaveFormat == (int)Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatDocument)
{
wDoc.Application.ActiveDocument.SaveAs(ref sFileName, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing,
ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing);
}
wDoc.Close(ref missing, ref missing, ref missing);
wApp.Quit(ref missing, ref missing, ref missing);
if (wDoc != null)
{
System.Runtime.InteropServices.Marshal.ReleaseComObject(wDoc);
wDoc = null;
}
if (wApp != null)
{
System.Runtime.InteropServices.Marshal.ReleaseComObject(wApp);
wApp = null;
}
GC.Collect();
return guid + ".doc";
}
#region 打开word模板和word文件
public static void OpenWordDot()
{
//不建议用非标准doc 此处方法 略
}
private void OpenWordDoc(string FileName, ref Microsoft.Office.Interop.Word.Document wDoc, ref Microsoft.Office.Interop.Word.Application WApp)
{
if (FileName == "") return;
Microsoft.Office.Interop.Word.Document thisDocument = null;
Microsoft.Office.Interop.Word.FormFields formFields = null;
Microsoft.Office.Interop.Word.Application thisApplication = new Microsoft.Office.Interop.Word.ApplicationClass();
thisApplication.Visible = true;
thisApplication.Caption = "";
thisApplication.Options.CheckSpellingAsYouType = false;
thisApplication.Options.CheckGrammarAsYouType = false;
Object filename = FileName;
Object ConfirmConversions = false;
Object ReadOnly = true;
Object AddToRecentFiles = false;
Object PasswordDocument = System.Type.Missing;
Object PasswordTemplate = System.Type.Missing;
Object Revert = System.Type.Missing;
Object WritePasswordDocument = System.Type.Missing;
Object WritePasswordTemplate = System.Type.Missing;
Object Format = System.Type.Missing;
Object Encoding = System.Type.Missing;
Object Visible = System.Type.Missing;
Object OpenAndRepair = System.Type.Missing;
Object DocumentDirection = System.Type.Missing;
Object NoEncodingDialog = System.Type.Missing;
Object XMLTransform = System.Type.Missing;
try
{
Microsoft.Office.Interop.Word.Document wordDoc =
thisApplication.Documents.Open(ref filename, ref ConfirmConversions,
ref ReadOnly, ref AddToRecentFiles, ref PasswordDocument, ref PasswordTemplate,
ref Revert, ref WritePasswordDocument, ref WritePasswordTemplate, ref Format,
ref Encoding, ref Visible, ref OpenAndRepair, ref DocumentDirection,
ref NoEncodingDialog, ref XMLTransform);
thisDocument = wordDoc;
wDoc = wordDoc;
WApp = thisApplication;
formFields = wordDoc.FormFields;
}
catch (Exception ex)
{
}
}
#endregion
/// <summary>
/// 在objtbale 标签上新增表
/// </summary>
/// <param name="objTable"></param>
/// <param name="wDoc"></param>
/// <param name="WApp"></param>
/// <returns></returns>
private bool InsertTabletoData(Microsoft.Office.Interop.Word.Table wordTable, ref Microsoft.Office.Interop.Word.Document wDoc, ref Microsoft.Office.Interop.Word.Application WApp)
{
object Rownum = 5;
object Columnnum = 1;
wordTable.Cell(18, 2).Split(ref Rownum, ref Columnnum);
wordTable.Cell(18, 3).Split(ref Rownum, ref Columnnum);
wordTable.Cell(18, 4).Split(ref Rownum, ref Columnnum);
wordTable.Cell(18, 5).Split(ref Rownum, ref Columnnum);
for (int i = 0; i < 5; i++)
{
wordTable.Cell(18 + i, 2).Range.Text = "测试1列" + i + "行";
wordTable.Cell(18 + i, 3).Range.Text = "测试2列" + i + "行";
wordTable.Cell(18 + i, 4).Range.Text = "测试3列" + i + "行";
wordTable.Cell(18 + i, 5).Range.Text = "测试4列" + i + "行";
}
return true;
}
/// <summary>
/// 在objtbale 标签上新增表
/// </summary>
/// <param name="objTable"></param>
/// <param name="wDoc"></param>
/// <param name="WApp"></param>
/// <returns></returns>
private bool InsertTabletoBookmark(string objTable, ref Microsoft.Office.Interop.Word.Document wDoc, ref Microsoft.Office.Interop.Word.Application WApp)
{
object oEndOfDoc = "\\endofdoc";
object missing = System.Reflection.Missing.Value;
object objBookmark = objTable;
WApp.ActiveDocument.Bookmarks.get_Item(ref objBookmark).Select();
Microsoft.Office.Interop.Word.Table table = wDoc.Tables.Add(WApp.Selection.Range, 3, 4, ref missing, ref missing);
table.Cell(1, 1).Range.Text = "表:" + WApp.ActiveDocument.Bookmarks.get_Item(ref objBookmark).Range.Tables[1].Rows.Count;
return true;
}
}
如何从文库直接打印标准田字格模板-word打印版?
1.在打开的Word中,在绘图工具栏中选择,矩形绘图工具。
2.选择画好的矩形,点右键,在出现的菜单中选择“设置自选图形格式”。在出现的窗口中点击“大小”选项卡,在里面将矩形的高度、宽度设置成:2.48厘米。勾选“锁定纵横比例”。最后点“确定”。
3.在绘图工具栏里点“自选图形”。
4.点“连接符”,再点“直接连接符”。画好田字格中的竖中线。
5.选中竖中线,点绘图工具栏中的“虚线线型”,再点“短划线”。
6.横中线仿照竖中线的画法,画好。
7.选中竖中线,按住Ctrl键,在选中横中线,最后选中外面的矩形框。点右键,在出现的菜单中,点“组合”,再点下级菜单中的“组合”。
8.这样完整的田字格就画好了,如果你要直接在电脑上的田字格中输入字,可以选中田字格,点右键,在出现的菜单中点“添加文字”,将文字设置成:楷体;字号:初号。左缩进:0.5字符。
用word打印正规合同 字体字号等格式要求是什么
一、合同的字体,字号,行距,段距有没有严格要求的?
没有什么规定的,一般看字数,一般的四号或小四就可以了,宋体或仿宋都可,格式的话不同的合同倒是有不同的格式要求.
二、合同书写的要求
1、字体与字号
文件的字体均使用仿宋体。
标题的字号选择二号、加粗、居中,与正文间隔一行。
正文、落款及日期的字号均选择小三号。
2、段落格式
(一)应有完整正确的标题。
(二)正文段落的首字要空2个字的距离。正文中分层次使用的序号为:
第一级使用“一、”“二、”“三、”……同时要选择加粗。
第二级使用“(一)”“(二)”“(三)”……
第三级使用“1、”“2、”“3、”……
第四级使用“(1)”“(2)”“(3)”……
(三)要有落款和日期。
1、落款应使用“右对齐”,与正文间隔一行。
2、日期应使用“年月日”格式。日期位置应调整至落款正下方。
如何打印预览word背景模板
打开要设置要打印出背景色和背景图片的word文档,这个文件设置了背景色和一张百度logo的水印图片。
点击菜单栏的“开始”,之后会弹出下面的设置下面,在这里选择左边最下面的“选项”。
点击“选项”后,打开“word 选项”设置对话框,默认位于常规页面中。
点击左边设置功能列表中的“显示”,打开显示设置页面。
拖动右边的滚动条找到最下面的打印选项,勾选“打印背景色和图像”,然后点击右下方的“设置”按钮,这样就完成设置。
在打印预览中,我们就可以看到预览的效果就包含了背景色和图片。
如何设置或做WORD/EXCEL模板,不打印出来,只打印填写内容.
你可以这样嘛,把内容先填上,然后把你说的模板设置成白色,打印 出来!
不知道能不能帮到你!
WORD打印时如何消除右侧的带格式的标注。
1、打开word文档,在页面的文字中插入批注项目。
2、选择“打印预览”,可以看到插入的批注栏仍然显示在打印页面中。
3、在页面上方点击“更多设置”进入打印设置选项。
4、在弹出的“打印设置”对话框中选择“选项”按钮。
5、在弹出页面中的“批注和修订的审阅者”后面的下拉框中,选择“不打印”,即可完成打印设置。
6、返回打印设置页面,点击确定,进行打印操作即可。
转载请注明出处51数据库 » word打印模板 在WORD怎样设置打印格式
无所谓啊79066138





















