如果其他人需要它,我想出了一个解决方法,基于将打印机设置内存块存储在二进制文件中,然后恢复它 . 这个想法在this blog post中有描述,但是当它只是复制粘贴时它对我不起作用(它仅适用于某些驱动程序和某些设置,而其他打印选项被忽略) .

所以我重新制作了一下,现在它可以支持我在任何打印机上试过的所有设置(带兼容的驱动程序)我已经测试过了 . 当然,如果您使用其他打印机的驱动程序,例如它将无法正常工作 .

这种方法的缺点当然是你应该首先将默认的打印机首选项(在控制面板中)设置为你需要的 . 当然,这并非总是可行的,但至少在某些情况下它可以提供帮助 .

因此,测试工具的完整源代码能够将打印机设置存储到文件中,再次将此文件加载到打印机中并使用指定的设置文件打印文档:

using System;

using System.Collections.Generic;

using System.Drawing.Printing;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices;

using System.Text;

using Microsoft.Office.Interop.Word;

namespace PrintAdvancedTest

{

[StructLayout(LayoutKind.Sequential)]

public struct PRINTER_DEFAULTS

{

public int pDatatype;

public int pDevMode;

public int DesiredAccess;

}

[StructLayout(LayoutKind.Sequential)]

public struct PRINTER_INFO_2

{

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pServerName;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pPrinterName;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pShareName;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pPortName;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pDriverName;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pComment;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pLocation;

public IntPtr pDevMode;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pSepFile;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pPrintProcessor;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pDatatype;

[MarshalAs(UnmanagedType.LPStr)]

public readonly string pParameters;

public IntPtr pSecurityDescriptor;

public readonly Int32 Attributes;

public readonly Int32 Priority;

public readonly Int32 DefaultPriority;

public readonly Int32 StartTime;

public readonly Int32 UntilTime;

public readonly Int32 Status;

public readonly Int32 cJobs;

public readonly Int32 AveragePPM;

}

public class PrintSettings

{

private const short CCDEVICENAME = 32;

private const short CCFORMNAME = 32;

//Constants for DEVMODE

// Constants for DocumentProperties

private const int DM_MODIFY = 8;

private const int DM_COPY = 2;

private const int DM_IN_BUFFER = DM_MODIFY;

private const int DM_OUT_BUFFER = DM_COPY;

// const intants for dmOrientation

private const int DMORIENT_PORTRAIT = 1;

private const int DMORIENT_LANDSCAPE = 2;

// const intants for dmPrintQuality

private const int DMRES_DRAFT = (-1);

private const int DMRES_HIGH = (-4);

private const int DMRES_LOW = (-2);

private const int DMRES_MEDIUM = (-3);

// const intants for dmTTOption

private const int DMTT_BITMAP = 1;

private const int DMTT_DOWNLOAD = 2;

private const int DMTT_DOWNLOAD_OUTLINE = 4;

private const int DMTT_SUBDEV = 3;

// const intants for dmColor

private const int DMCOLOR_COLOR = 2;

private const int DMCOLOR_MONOCHROME = 1;

// const intants for dmCollate

private const int DMCOLLATE_FALSE = 0;

private const int DMCOLLATE_TRUE = 1;

// const intants for dmDuplex

private const int DMDUP_HORIZONTAL = 3;

private const int DMDUP_SIMPLEX = 1;

private const int DMDUP_VERTICAL = 2;

//const for security access

private const int PRINTER_ACCESS_ADMINISTER = 0x4;

private const int PRINTER_ACCESS_USE = 0x8;

private const int STANDARD_RIGHTS_REQUIRED = 0xF0000;

private const int PRINTER_ALL_ACCESS =

(STANDARD_RIGHTS_REQUIRED | PRINTER_ACCESS_ADMINISTER

| PRINTER_ACCESS_USE);

/* field selection bits */

private const int DM_ORIENTATION = 0x00000001;

private const int DM_PAPERSIZE = 0x00000002;

private const int DM_PAPERLENGTH = 0x00000004;

private const int DM_PAPERWIDTH = 0x00000008;

private const int DM_SCALE = 0x00000010;

private const int DM_POSITION = 0x00000020;

private const int DM_NUP = 0x00000040;

private const int DM_DISPLAYORIENTATION = 0x00000080;

private const int DM_COPIES = 0x00000100;

private const int DM_DEFAULTSOURCE = 0x00000200;

private const int DM_PRINTQUALITY = 0x00000400;

private const int DM_COLOR = 0x00000800;

private const int DM_DUPLEX = 0x00001000;

private const int DM_YRESOLUTION = 0x00002000;

private const int DM_TTOPTION = 0x00004000;

private const int DM_COLLATE = 0x00008000;

private const int DM_FORMNAME = 0x00010000;

private const int DM_LOGPIXELS = 0x00020000;

private const int DM_BITSPERPEL = 0x00040000;

private const int DM_PELSWIDTH = 0x00080000;

private const int DM_PELSHEIGHT = 0x00100000;

private const int DM_DISPLAYFLAGS = 0x00200000;

private const int DM_DISPLAYFREQUENCY = 0x00400000;

private const int DM_ICMMETHOD = 0x00800000;

private const int DM_ICMINTENT = 0x01000000;

private const int DM_MEDIATYPE = 0x02000000;

private const int DM_DITHERTYPE = 0x04000000;

private const int DM_PANNINGWIDTH = 0x08000000;

private const int DM_PANNINGHEIGHT = 0x10000000;

private const int DM_DISPLAYFIXEDOUTPUT = 0x20000000;

[StructLayout(LayoutKind.Sequential)]

public struct DEVMODE

{

[MarshalAs(UnmanagedType.ByValTStr, SizeConst = CCDEVICENAME)]

public string dmDeviceName;

public short dmSpecVersion;

public short dmDriverVersion;

public short dmSize;

public short dmDriverExtra;

public int dmFields;

public short dmOrientation;

public short dmPaperSize;

public short dmPaperLength;

public short dmPaperWidth;

public short dmScale;

public short dmCopies;

public short dmDefaultSource;

public short dmPrintQuality;

public short dmColor;

public short dmDuplex;

public short dmYResolution;

public short dmTTOption;

public short dmCollate;

[MarshalAs(UnmanagedType.ByValTStr, SizeConst = CCFORMNAME)]

public string dmFormName;

public short dmUnusedPadding;

public short dmBitsPerPel;

public int dmPelsWidth;

public int dmPelsHeight;

public int dmDisplayFlags;

public int dmDisplayFrequency;

}

static void Main(string[] args)

{

Dictionary commands = new Dictionary

{

{"save", PrinterPreferencesSave},

{"print", PrinterPreferencesPrint},

{"set", PrinterPreferencesSet},

{"info", PrinterInfo}

};

while (true)

{

Console.Write("Command ({0}): ", string.Join(", ", commands.Keys));

string command = Console.ReadLine();

Action action;

if (!commands.TryGetValue(command, out action))

{

Console.WriteLine("Invalid command");

}

else

{

action();

}

}

}

static void PrinterPreferencesSave()

{

Console.Write("Printer name: ");

string printerName = Console.ReadLine();

Console.Write("Settings file path format: ");

string SettingsFileNameFormat = Console.ReadLine();

string testName;

while (true)

{

Console.Write("SAVE: Settings set name: ");

testName = Console.ReadLine();

if (testName == "end")

{

break;

}

getDevMode(printerName, string.Format(SettingsFileNameFormat, testName));

}

}

static void PrinterPreferencesPrint()

{

Console.Write("Printer name: ");

string printerName = Console.ReadLine();

Console.Write("Settings file path format: ");

string SettingsFileNameFormat = Console.ReadLine();

Console.Write("Document to print: ");

string docToPrintPath = Console.ReadLine();

string testName;

while (true)

{

Console.Write("PRINT: Settings set name: ");

testName = Console.ReadLine();

if (testName == "end")

{

break;

}

string filePath = string.Format(SettingsFileNameFormat, testName);

if (!File.Exists(filePath))

{

Console.WriteLine("File {0} not exists", filePath);

return;

}

var success = setDevMode(printerName, filePath);

if (success)

{

PrintWordDocument(docToPrintPath, printerName);

}

}

}

static void PrinterPreferencesSet()

{

Console.Write("Printer name: ");

string printerName = Console.ReadLine();

Console.Write("Settings file path format: ");

string SettingsFileNameFormat = Console.ReadLine();

string testName;

while (true)

{

Console.Write("SET: Settings set name: ");

testName = Console.ReadLine();

if (testName == "end")

{

break;

}

string filePath = string.Format(SettingsFileNameFormat, testName);

if (!File.Exists(filePath))

{

Console.WriteLine("File {0} not exists", filePath);

return;

}

var success = setDevMode(printerName, filePath);

if(!success)

{

Console.WriteLine("Failed");

}

}

}

private static void PrinterInfo()

{

Console.Write("Printer name: ");

string printerName = Console.ReadLine();

IntPtr hDevMode; // handle to the DEVMODE

IntPtr pDevMode; // pointer to the DEVMODE

DEVMODE devMode; // the actual DEVMODE structure

//var printController = new StandardPrintController();

PrinterSettings printerSettings = new PrinterSettings();

printerSettings.PrinterName = printerName;

// Get a handle to a DEVMODE for the default printer settings

hDevMode = printerSettings.GetHdevmode(printerSettings.DefaultPageSettings);

// Obtain a lock on the handle and get an actual pointer so Windows won't

// move it around while we're futzing with it

pDevMode = GlobalLock(hDevMode);

// Marshal the memory at that pointer into our P/Invoke version of DEVMODE

devMode = (DEVMODE)Marshal.PtrToStructure(pDevMode, typeof(DEVMODE));

Dictionary dmConstants = new Dictionary

{

{"DM_ORIENTATION", 0x00000001},

{"DM_PAPERSIZE", 0x00000002},

{"DM_PAPERLENGTH", 0x00000004},

{"DM_PAPERWIDTH", 0x00000008},

{"DM_SCALE", 0x00000010},

{"DM_POSITION", 0x00000020},

{"DM_NUP", 0x00000040},

{"DM_DISPLAYORIENTATION", 0x00000080},

{"DM_COPIES", 0x00000100},

{"DM_DEFAULTSOURCE", 0x00000200},

{"DM_PRINTQUALITY", 0x00000400},

{"DM_COLOR", 0x00000800},

{"DM_DUPLEX", 0x00001000},

{"DM_YRESOLUTION", 0x00002000},

{"DM_TTOPTION", 0x00004000},

{"DM_COLLATE", 0x00008000},

{"DM_FORMNAME", 0x00010000},

{"DM_LOGPIXELS", 0x00020000},

{"DM_BITSPERPEL", 0x00040000},

{"DM_PELSWIDTH", 0x00080000},

{"DM_PELSHEIGHT", 0x00100000},

{"DM_DISPLAYFLAGS", 0x00200000},

{"DM_DISPLAYFREQUENCY", 0x00400000},

{"DM_ICMMETHOD", 0x00800000},

{"DM_ICMINTENT", 0x01000000},

{"DM_MEDIATYPE", 0x02000000},

{"DM_DITHERTYPE", 0x04000000},

{"DM_PANNINGWIDTH", 0x08000000},

{"DM_PANNINGHEIGHT", 0x10000000},

{"DM_DISPLAYFIXEDOUTPUT", 0x20000000},

};

Console.WriteLine("Allow set: {0}. Details: {1}", Convert.ToString(devMode.dmFields, 16), string.Join(",", dmConstants.Where(c=>(devMode.dmFields & c.Value)==c.Value).Select(c=>c.Key)));

//private const int DM_POSITION = 0x00000020;

//private const int DM_NUP = 0x00000040;

//private const int DM_DISPLAYORIENTATION = 0x00000080;

//private const int DM_DEFAULTSOURCE = 0x00000200;

//private const int DM_PRINTQUALITY = 0x00000400;

//private const int DM_COLOR = 0x00000800;

//private const int DM_YRESOLUTION = 0x00002000;

//private const int DM_TTOPTION = 0x00004000;

//private const int DM_FORMNAME = 0x00010000;

//private const int DM_LOGPIXELS = 0x00020000;

//private const int DM_BITSPERPEL = 0x00040000;

//private const int DM_PELSWIDTH = 0x00080000;

//private const int DM_PELSHEIGHT = 0x00100000;

//private const int DM_DISPLAYFLAGS = 0x00200000;

//private const int DM_DISPLAYFREQUENCY = 0x00400000;

//private const int DM_ICMMETHOD = 0x00800000;

//private const int DM_ICMINTENT = 0x01000000;

//private const int DM_MEDIATYPE = 0x02000000;

//private const int DM_DITHERTYPE = 0x04000000;

//private const int DM_PANNINGWIDTH = 0x08000000;

//private const int DM_PANNINGHEIGHT = 0x10000000;

//private const int DM_DISPLAYFIXEDOUTPUT = 0x20000000;

WriteDevModePropertyInfo("DeviceName", devMode.dmDeviceName, null);

WriteDevModePropertyInfo("SpecVersion", devMode.dmSpecVersion.ToString(), null);

WriteDevModePropertyInfo("DriverVersion", devMode.dmDriverVersion.ToString(), null);

WriteDevModePropertyInfo("Size", devMode.dmSize.ToString(), null);

WriteDevModePropertyInfo("DriverExtra", devMode.dmDriverExtra.ToString(), null);

WriteDevModePropertyInfo("Orientation", devMode.dmOrientation.ToString(), (devMode.dmFields & DM_ORIENTATION) == DM_ORIENTATION);

WriteDevModePropertyInfo("PaperSize", devMode.dmPaperSize.ToString(), (devMode.dmFields & DM_PAPERSIZE) == DM_PAPERSIZE);

WriteDevModePropertyInfo("PaperLength", devMode.dmPaperLength.ToString(), (devMode.dmFields & DM_PAPERLENGTH) == DM_PAPERLENGTH);

WriteDevModePropertyInfo("PaperWidth", devMode.dmPaperWidth.ToString(), (devMode.dmFields & DM_PAPERWIDTH) == DM_PAPERWIDTH);

WriteDevModePropertyInfo("Scale", devMode.dmScale.ToString(), (devMode.dmFields & DM_SCALE) == DM_SCALE);

WriteDevModePropertyInfo("Copies", devMode.dmCopies.ToString(), (devMode.dmFields & DM_COPIES) == DM_COPIES);

WriteDevModePropertyInfo("Duplex", devMode.dmDuplex.ToString(), (devMode.dmFields & DM_DUPLEX) == DM_DUPLEX);

WriteDevModePropertyInfo("YResolution", devMode.dmYResolution.ToString(), null);

WriteDevModePropertyInfo("TTOption", devMode.dmTTOption.ToString(), null);

WriteDevModePropertyInfo("Collate", devMode.dmCollate.ToString(), (devMode.dmFields & DM_COLLATE) == DM_COLLATE);

WriteDevModePropertyInfo("FormName", devMode.dmFormName.ToString(), null);

WriteDevModePropertyInfo("UnusedPadding", devMode.dmUnusedPadding.ToString(), null);

WriteDevModePropertyInfo("BitsPerPel", devMode.dmBitsPerPel.ToString(), null);

WriteDevModePropertyInfo("PelsWidth", devMode.dmPelsWidth.ToString(), null);

WriteDevModePropertyInfo("PelsHeight", devMode.dmPelsHeight.ToString(), null);

WriteDevModePropertyInfo("DisplayFlags", devMode.dmDisplayFlags.ToString(), null);

WriteDevModePropertyInfo("DisplayFrequency", devMode.dmDisplayFlags.ToString(), null);

}

private static void WriteDevModePropertyInfo(string settingName, string value, bool? allowSet)

{

Console.WriteLine("{0} {1} {2}", allowSet.HasValue ? (allowSet.Value ? "+" : "-") : " ", settingName.PadRight(20, '.'), value);

}

[DllImport("kernel32.dll", ExactSpelling = true)]

public static extern IntPtr GlobalFree(IntPtr handle);

[DllImport("kernel32.dll", ExactSpelling = true)]

public static extern IntPtr GlobalLock(IntPtr handle);

[DllImport("kernel32.dll", ExactSpelling = true)]

public static extern IntPtr GlobalUnlock(IntPtr handle);

[DllImport("kernel32.dll", EntryPoint = "GetLastError", SetLastError = false,

ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

private static extern Int32 GetLastError();

[DllImport("winspool.Drv", EntryPoint = "ClosePrinter", SetLastError = true,

ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

private static extern bool ClosePrinter(IntPtr hPrinter);

[DllImport("winspool.Drv", EntryPoint = "DocumentPropertiesA", SetLastError = true,

ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

private static extern int DocumentProperties(IntPtr hwnd, IntPtr hPrinter,

[MarshalAs(UnmanagedType.LPStr)] string pDeviceNameg,

IntPtr pDevModeOutput, ref IntPtr pDevModeInput, int fMode);

[DllImport("winspool.Drv", EntryPoint = "GetPrinterA", SetLastError = true,

CharSet = CharSet.Ansi, ExactSpelling = true,

CallingConvention = CallingConvention.StdCall)]

private static extern bool GetPrinter(IntPtr hPrinter, Int32 dwLevel,

IntPtr pPrinter, Int32 dwBuf, out Int32 dwNeeded);

[DllImport("winspool.Drv", EntryPoint = "OpenPrinterA",

SetLastError = true, CharSet = CharSet.Ansi,

ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

private static extern bool

OpenPrinter([MarshalAs(UnmanagedType.LPStr)] string szPrinter,

out IntPtr hPrinter, ref PRINTER_DEFAULTS pd);

[DllImport("winspool.drv", CharSet = CharSet.Ansi, SetLastError = true)]

private static extern bool SetPrinter(IntPtr hPrinter, int Level, IntPtr

pPrinter, int Command);

[DllImport("kernel32.dll")]

static extern IntPtr GlobalAlloc(uint uFlags, int dwBytes);

public static void getDevMode(string printerName, string filepath)

{

PRINTER_DEFAULTS PrinterValues = new PRINTER_DEFAULTS();

PrinterValues.pDatatype = 0;

PrinterValues.pDevMode = 0;

PrinterValues.DesiredAccess = PRINTER_ALL_ACCESS;

IntPtr ptrZero = IntPtr.Zero;

IntPtr hPrinter;

IntPtr pDevMode = new IntPtr();

//get printer handle

OpenPrinter(printerName, out hPrinter, ref PrinterValues);

//allocate memory for ptr to devmode, 0 argument retrieves bytes required

int bytes = DocumentProperties(new IntPtr(0), hPrinter, printerName, ptrZero, ref pDevMode, 0);

pDevMode = GlobalAlloc(0, bytes);

//set the pointer

DocumentProperties(new IntPtr(0), hPrinter, printerName, pDevMode, ref ptrZero, DM_OUT_BUFFER);

//write the devMode to a file

using (FileStream fs = new FileStream(filepath, FileMode.Create))

{

for (int i = 0; i < bytes; i++)

{

fs.WriteByte(Marshal.ReadByte(pDevMode, i));

}

}

//free resources

GlobalFree(pDevMode);

ClosePrinter(hPrinter);

}

public static bool setDevMode(string printerName, string filepath)

{

if(!File.Exists(filepath))

{

return false;

}

IntPtr hPrinter;

int bytes = 0;

IntPtr pPInfo;

IntPtr pDevMode;

PRINTER_INFO_2 pInfo = new PRINTER_INFO_2();

PRINTER_DEFAULTS PrinterValues = new PRINTER_DEFAULTS();

PrinterValues.pDatatype = 0;

PrinterValues.pDevMode = 0;

PrinterValues.DesiredAccess = PRINTER_ALL_ACCESS;

//retrieve the devmode from file

using (FileStream fs = new FileStream(filepath, FileMode.Open))

{

int length = Convert.ToInt32(fs.Length);

pDevMode = GlobalAlloc(0, length);

for (int i = 0; i < length; i++)

{

Marshal.WriteByte(pDevMode, i, (byte)fs.ReadByte());

}

}

//get printer handle

OpenPrinter(printerName, out hPrinter, ref PrinterValues);

//get bytes for printer info structure and allocate memory

GetPrinter(hPrinter, 2, IntPtr.Zero, 0, out bytes);

if (bytes == 0)

{

throw new Exception("Get Printer Failed");

}

pPInfo = GlobalAlloc(0, bytes);

//set pointer to printer info

GetPrinter(hPrinter, 2, pPInfo, bytes, out bytes);

//place the printer info structure

pInfo = (PRINTER_INFO_2)Marshal.PtrToStructure(pPInfo, typeof(PRINTER_INFO_2));

//insert the new devmode

pInfo.pDevMode = pDevMode;

pInfo.pSecurityDescriptor = IntPtr.Zero;

//set pointer to new printer info

Marshal.StructureToPtr(pInfo, pPInfo, true);

//update

SetPrinter(hPrinter, 2, pPInfo, 0);

//free resources

GlobalFree(pPInfo);

GlobalFree(pDevMode);

ClosePrinter(hPrinter);

return true;

}

private static void PrintWordDocument(string path, string printerName)

{

object readOnly = true;

object addToRecentFiles = false;

object visible = false;

object backgroundPrint = false;

object saveChanges = false;

object sourceFile = path;

var wordApplication = new Application();

var doc = wordApplication.Documents.OpenNoRepairDialog(FileName: ref sourceFile, ReadOnly: ref readOnly,

AddToRecentFiles: ref addToRecentFiles,

Visible: ref visible);

wordApplication.ActivePrinter = printerName;

doc.Activate();

wordApplication.PrintOut(Background: ref backgroundPrint, FileName: sourceFile);

object _missing = Type.Missing;

doc.Close(ref saveChanges, ref _missing, ref _missing);

}

}

}

UPDATE 2018-12-04 (in 5,5 years): 在这段代码中Marshal.StructureToPtr调用有一个令人讨厌的罕见问题,今天我终于得到了that question的答案(参见Hans Passant的评论) . 我无法验证这是否真的有效,因为我不再处理该项目,但是如果您尝试使用此代码,则可能需要应用该修复程序 .

双面打印无效选择了文件服务器,使用高级选项打印(纸盘选择,双面打印,装订)...相关推荐

  1. window.print 点击取消后再次打印无效_教程 | 图书馆自助复印打印机使用方法

    图书馆自助复印打印机教程 当当当!教程君又来辽~ 今天为大家介绍的是 咱们图书馆霸气十足的        自助复印打印机 实行全程无人化管理 为读者提供自助打印.复印.扫描服务 是你学习的小帮手! 实 ...

  2. lodop打印不显示页码_CAD上明明有图,但是打印的时候不显示怎么办?原来要这样设置...

    阅读本文前,请您先点击上面的"蓝色字体",再点击"关注",这样您就可以继续免费收到文章了.每天都会有分享,都是免费订阅,请您放心关注. " 有时候我们 ...

  3. 准考证打印系统关闭怎么办_2019年执业药师准考证无法正常打印,怎么办?

    2019年各地区执业药师准考证打印入口陆续开通,但是很多考生会遇到准考证打印的问题,现小编整理了2019年执业药师准考证无法正常打印情况,供各位考生参考. 一.打印准考证必须使用IE浏览器6.0或以上 ...

  4. js打印到控制台_如何实现可复用的控制台“艺术字”打印功能

    之前在使用一些开源项目时,经常会看到在控制台输出项目大大的 LOGO.例如: hexo minos 主题启动时在控制台里会显示「MINOS」文案 fis3 启动时也会有显示「FIS」 添加这种大号「艺 ...

  5. grid++中打印表格时怎么让每页有打印表头_一张表学习EXCEL(七):打印也有方法...

    从以前的系列写到这里,我想或多多少也可以学习到一份表格的制作,简单的数据分析.图表制作了.最后,有时候我们也需要将制作好的报表,数据打印出来.下面就简单单谈谈打印的时候有些什么设置可以做的. 长表格, ...

  6. java打印星型_初识java java入门知识 基础知识 打印各种星型图形 源代码

    今天给大家带来的是初级Java基础部分的知识:包括初识Java.变量.常量.数据类型.运算符.各种选择结构.循环结构.数组等Java的基础语法部分!最后还有****循环结构的进阶****,步骤超详细, ...

  7. excel打印预览在哪里_易打标条码标签设计打印软件下载_易打标条码标签设计打印软件绿色版下载...

    <易打标条码标签设计打印软件>是一款条形码.二维码打印软件,功能强大,使用方便,能够支持LPT/COM/USB等多种形式的打印设备连接. 软件特性 功能布局清晰简洁,导航式设计,上手即会; ...

  8. 文件用手机拍照片打印时,打印出来总是有黑阴影,如何去掉黑色阴影打印清晰的图片

    文件用手机拍照片打印时,打印出来总是有黑阴影,如何去掉黑色阴影打印清晰的图片 目录 文件用手机拍照片打印时,打印出来总是有黑阴影,如何去掉黑色阴影打印清晰的图片 1.将需要打印的图片复制粘贴至Word ...

  9. web端输出打印地图(ArcGIS api for Javascript)一、地图打印模板的制作

    1.Arcgis自带模板 ArcGIS Server10.1及以后版本安装之后自带打印模板,具体位置在 ../arcgis/rest/services/Utilities/PrintingTools/ ...

最新文章

  1. 如何通过手机客户端Android、Iphone 等访问要求使用客户端证书SSL加密的https网站...
  2. 爱了爱了!0.052 秒打开 100GB 数据,这个Python开源库火爆了!
  3. C# 视频监控系列(10):服务器端——验证、设置画面质量、字幕叠加、板卡序列号...
  4. [深入浅出WP8.1(Runtime)]Socket编程之UDP协议
  5. visual studio报错:error C4996: ‘scanf‘
  6. TLS是如何保障数据传输安全(中间人攻击)
  7. alios是安卓吗_华为洪蒙系统,阿里云OS,到底是不是安卓?
  8. oracle 对象的审计,初识!聊聊ORACLE的审计功能
  9. jetty9优化的两处地方
  10. SELinux 初探
  11. ZOJ 1730 圆桌换序
  12. Windows7+Ubuntu12.04双系统 重装Win7后的grub修复
  13. 银行的起源---》阮一峰,
  14. 程序设计基础是C语言吗,程序设计基础(C语言)
  15. 基于FPGA的cameralink编解码测试系统设计
  16. linux系统支持什么输入法,Linux系统常用输入法框架
  17. python如何取消上一步操作的快捷键_ai返回上一步的快捷键是什么
  18. 银联手机POS,支付黑科技
  19. 【React入门实践】结合Ant-Design从0带你手把手开发【个人中心-信息修改】页面
  20. 各大AI开放平台汇总分析

热门文章

  1. 使用DL4J读取词向量并计算语义相似度
  2. 大众汽车如何在智能电动汽车时代做好汽车安全?
  3. 引导滤波(guided image filtering)原理及C++实现
  4. android 模拟器按键映射
  5. 基于全过程通道相关像素值顺序的彩色图像可逆数据隐藏
  6. 产品经理如何跳出画图工具人
  7. php调用播放mp3文件失败,需要修复从PHP传输私有MP3文件的错误
  8. TunesKit Video Repair for Mac(视频修复工具)
  9. 电力系统中惯量和阻尼的分类以及两者不足的危害
  10. 鼠标之父:恩格尔巴特于2013年7月3日去世