登录
首页 » c++,c » printimage

printimage

于 2023-08-02 发布 文件大小:2.03 MB
0 140
下载积分: 2 下载次数: 1

代码说明:

windows 虚拟打印机代码,不可多得 * This program is free software; you can redistribute it and/or modify     * it under the terms of the GNU General Public License as published by     * the Free Software Foundation; either version 2 of the License, or     * (at your option) any later version.     *     * This program is distributed in the hope that it will be useful,     * but WITHOUT ANY WARRANTY; without even the implied warranty of     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     * GNU General Public License for more details.  

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LBM 格子玻尔兹曼 顶盖驱动流
    LBM求解顶盖驱动流的程序,c语言编写,对于速度矢量场,标量场进行数据输出,格式为teplot读取格式,采用SRT模型对Boltzmann方程进行求解,适合初学者学习
    2022-07-16 10:38:30下载
    积分:1
  • 一个C# 多线程的网页异步抓取类文件代码
    一个C#编写的多线程异步抓取网页的网络爬虫控制台程序类代码,这个类实现对网页URL指定内容网页的抓取,并抓取 内容中的链接、文字内容、从HTML代码中分析出链接信息等,本类中还定义了大量的私有方法,从这些私有方法中可从HTML文本中提取出一定字数的纯文本、提取网页中一定字数的纯文本,包括链接文字、提取一定数量的链接,该链接的URL满足某正则式、提取本网页的纯文本中满足某正则式的文字等。   本代码作者:大黑。   本爬虫程序的速度如下:   10线程最快大概400个链接每分钟   6-8线程最快大概200-300个链接每分钟   2-4线程最快大概150-200个链接每分钟   单线程最快大概70-100个链接每分钟   之所以用多线程异步抓取完全是出于效率考虑,本程序多线程同步并不能带来速度的提升,只要抓取的网页不要太多重复和冗余就可以,异步并不意味着错误。
    2023-05-03 15:55:03下载
    积分:1
  • c语言产生泊松分布随机数
     使用C语言编程产生泊松分布随机数
    2022-02-12 13:33:12下载
    积分:1
  • C++代码,银行个人信息管理系统设计
    C++代码,银行个人信息管理系统设计,非常适合初学者进行c++代码的学习,代码长度适中,已经调试完成,可以直接学习使用
    2022-08-18 16:27:01下载
    积分:1
  • 简单的计算器
    它是用于执行各种数学运算,使用算术运算符。
    2022-12-11 17:30:09下载
    积分:1
  • GPS WGS84-BLH坐标转换
    该程序实现了由GPS WGS84坐标系项BLH大地坐标向空间直角坐标转化,主要包含弧度化角度,角度化弧度以及读数据输出数据等计算。
    2022-04-21 08:31:24下载
    积分:1
  • 深度图边缘检测
    主要是对深度图像进行边缘检测。因为深度图像的边缘信息对虚拟视点的绘制影响很大。所以很多针对深度图像的算法会对深度图像的边缘特殊保护,因此,提取有效地深度图像边缘信息很有必要。
    2022-02-07 12:34:58下载
    积分:1
  • 用C#编写的简单计算器
    用C#编写,实现了计算器的基本功能,包括加法,减法,乘法,除法,以及退格,连续计算等功能
    2022-07-19 14:41:17下载
    积分:1
  • mifire one S50 读卡器程序
    mifire one S50 读卡器程序-mifire one S50 reader program
    2022-02-04 20:09:40下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载