⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 howto send raw data to a printer using the win32 api from vb (q154078).htm

📁 Parallel Port description of the communication port
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0084)http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q154078&ID=KB;EN-US;Q154078& -->
<HTML><HEAD><TITLE>HOWTO: Send Raw Data to a Printer Using the Win32 API from VB</TITLE><!-- (c) 2001, Microsoft Corporation. All Rights Reserved --><!-- ASM: GSS, Version=3.0.38.1, Culture=neutral, PublicKeyToken=null FW: 1.0.3427.0 --><!-- REGC: ISO-8859-1 DEFRC: iso-8859-1 RESG: 2/13/2002 9:58:23 PM RESX: 2/13/2002 10:05:23 PM -->
<META 
content="Microsoft, product, support, software, hardware, FAQ, FAQs, KB, Knowledge, Base, search, downloads, chat, help, training, phone, troubleshooters, newsgroups" 
name=Keywords>
<META 
content="Microsoft Global Product Support Site, featuring access to a searchable Knowledgebase, Software and Hardware FAQs (Frequently Asked Questions), Online Training, Webcasts, Downloads, HTML Newsgroup views, Telephone Support Information, Online Support Requests and Personalization, Online Assistance, Remote Administration, Hot Issues, Support Center" 
name=Description>
<SCRIPT 
language=Javascript>var g_gssCookieDomain = "support.microsoft.com";</SCRIPT>

<SCRIPT language=Javascript 
src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/gssmethods.js"></SCRIPT>
<LINK 
href="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/style-msie4.css" 
rel=stylesheet type=text/css></LINK><!-- CC: ISO-8859-1 -->
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
  <TBODY>
  <TR>
    <TD class=noprint colSpan=2 height=60>
      <DIV id=tbspacer style="DISPLAY: none"><IMG height=60 
      src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/1ptrans.gif" 
      width=1></DIV>
      <DIV id=tbdownlevel>
      <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
        <TBODY>
        <TR>
          <TD bgColor=#003399 rowSpan=2><A 
            href="http://support.microsoft.com/default.aspx" target=_top><IMG 
            alt="Microsoft Home" border=0 height=60 hspace=0 
            src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/banner.gif" 
            width=300></A></TD>
          <TD align=right bgColor=#003399 height=20 vAlign=top width="100%">
            <TABLE border=0 cellPadding=0 cellSpacing=0>
              <TBODY>
              <TR>
                <TD><IMG alt="" border=0 height=20 
                  src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/curve_003399.gif" 
                  width=18></TD>
                <TD bgColor=#000000 height=20 vAlign=center><FONT 
                  color=#ffffff face="Verdana, Arial" size=1>&nbsp;&nbsp;<A 
                  class=bartext 
                  href="http://support.microsoft.com/isapi/gomscom.asp?target=/catalog/default.asp?subid=21" 
                  target=_top><FONT color=#ffffff> All 
                  Products</FONT></A>&nbsp;&nbsp; |&nbsp;&nbsp;<A class=bartext 
                  href="http://support.microsoft.com/isapi/gomscom.asp?target=/uk/support/" 
                  target=_top><FONT color=#ffffff> 
                  Support</FONT></A>&nbsp;&nbsp; |&nbsp;&nbsp;<A class=bartext 
                  href="http://support.microsoft.com/isapi/gosearch.asp?target=/uk/" 
                  target=_top><FONT color=#ffffff> Search</FONT></A>&nbsp;&nbsp; 
                  |&nbsp;&nbsp;<A class=bartext 
                  href="http://support.microsoft.com/isapi/gomscom.asp?target=/uk/" 
                  target=_top><FONT color=#ffffff> Microsoft UK 
                  Guide</FONT></A>&nbsp;&nbsp; </FONT></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD align=right bgColor=#3366cc height=40><A 
            href="http://www.microsoft.com/"><IMG alt="Microsoft.com Home Page" 
            border=0 hspace=0 
            src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/mslogo_3366CC.gif"></A></TD></TR></TBODY></TABLE></DIV>
    <TD></TD>
  <TR>
    <TD class=noprint colSpan=2 height=18 width="100%">
      <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
        <TBODY>
        <TR>
          <TD class=bannerborder-top><IMG height=2 
            src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/1ptrans.gif" 
            width=1></TD>
          <TD class=bannerborder-top><IMG height=2 
            src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/1ptrans.gif" 
            width=1></TD></TR>
        <TR>
          <TD class=barblack>
            <TABLE border=0 cellPadding=0 cellSpacing=0 class=funcmenutbl 
            height=18>
              <TBODY>
              <TR>
                <TD class=buttonleft noWrap 
                onclick="top.location.href='/default.aspx'" 
                onmouseout='this.style.backgroundColor = "";this.style.cursor="default";' 
                onmouseover='this.style.backgroundColor = "#3366CC";this.style.cursor="hand";'><A 
                  class=bartext href="http://support.microsoft.com/default.aspx" 
                  title="Return to Support Home Page">&nbsp;&nbsp;Home&nbsp;&nbsp;</A></TD>
                <TD class=bannerborder width=1><IMG height=1 
                  src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/1ptrans.gif" 
                  width=1></TD>
                <TD class=buttonleft noWrap 
                onclick="top.location.href='/default.aspx?scid=%2fisapi%2fgomscom.asp%3ftarget%3d%2fuk%2fpiracy%2f'" 
                onmouseout='this.style.backgroundColor = "";this.style.cursor="default";' 
                onmouseover='this.style.backgroundColor = "#3366CC";this.style.cursor="hand";'><A 
                  class=bartext 
                  href="http://support.microsoft.com/default.aspx?scid=%2fisapi%2fgomscom.asp%3ftarget%3d%2fuk%2fpiracy%2f" 
                  title="Software Piracy">&nbsp;&nbsp;Software 
                  Piracy&nbsp;&nbsp;</A></TD>
                <TD class=bannerborder width=1><IMG height=1 
                  src="HOWTO Send Raw Data to a Printer Using the Win32 API from VB (Q154078)_files/1ptrans.gif" 
                  width=1></TD>
                <TD class=buttonleft noWrap 
                onclick="top.location.href='/default.aspx?scid=%2fisapi%2fgoregwiz.asp%3ftarget%3d%2fregsys%2fpic.asp%3flcid%3d2057'" 
                onmouseout='this.style.backgroundColor = "";this.style.cursor="default";' 
                onmouseover='this.style.backgroundColor = "#3366CC";this.style.cursor="hand";'><A 
                  class=bartext 
                  href="http://support.microsoft.com/default.aspx?scid=%2fisapi%2fgoregwiz.asp%3ftarget%3d%2fregsys%2fpic.asp%3flcid%3d2057" 
                  title=Subscribe>&nbsp;&nbsp;Subscribe&nbsp;&nbsp;</A></TD>
                <TD class=bannerborder width=1>&lt;img 
              src='/library/images/sup</TR></TBODY></TABLE></TR></TBODY></TABLE></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -