如何使用点阵打印机从ASP.NET Intranet站点打印Bill

如何使用点阵打印机从ASP.NET Intranet站点打印Bill

问题描述:

我有一个在IIS7.5中托管的Intranet ASP.NET网站。在这个我需要点击提交按钮时打印出账单。我不能为每个客户浪费一整张纸,这里使用的是EPSON LX-80系列点阵打印机。打印输出尺寸将根据销售的商品数量而有所不同。

I have an Intranet ASP.NET website hosted in IIS7.5. In this I need to take print out of bill when we click submit button. I cannot waste one full paper for each customer,here am using EPSON LX -80 series dot matrix printer. print out size will differ according to the number of items sold.

您必须设计页面,使其符合打印机支持的尺寸。您可以通过为打印介质类型提供css来调整这些内容。
You have to design your page so that it fits in the printer''s supported size. You adjust these things by providing css for print media type.