hi, Dear Leader(i think you are enough for my project
leader),
I have a very fancy question and I need your help:
I use C#.net to develop a Point of Sales system, use Epson
Tm-t88 printer( POS printer), connected w/ :LPT1, and now:
I have following problem:
when i finished installing the driver, the test page is ok
If I use notepad to print something by choose this printer
in printer dialog, it works fine,
if I use MS word to print something by choose thisprinter
in printer dialog, it does not work
and, i wrote down a application by using :
[DllImport("wins pool.Drv", EntryPoint="Ope nPrinterA",
SetLastError=tr ue, CharSet=CharSet .Ansi,
ExactSpelling=t rue,
CallingConventi on=CallingConve ntion.StdCall)]
public static extern bool OpenPrinter([MarshalAs
(UnmanagedType. LPStr)] string szPrinter, out IntPtr
hPrinter, long pd);
and it does not work, I could c there is a printer icon at
the right bottom but after a little while, it disappeared,
so, what's problem?
I test w/ my another IBM T20 notebook, it is same
thank you very much if you could try to give me some hint,
I am really need you help for my project, thanks
sincerely,
Richard 0 1343 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: stu_gots |
last post by:
I have been losing sleep over this puzzle, and I'm convinced my train
of thought is heading in the wrong direction. It is difficult to
explain my circumstances, so I will present an identical make-believe
challenge in order to avoid confusing the issue further.
Suppose I was hosting a dinner and I wanted to invite exactly 12 guests
from my neighborhood. I'm really picky about that... I have 12 chairs
besides my own, and I want them all...
|
by: PC User |
last post by:
I found some VB code to printout a richtext field and I'm trying to
adapt it to MS Access 2000. I think there might be some small changes
to make the adaption between VB versions. Also my OS is Windows XP.
The website I found the code is:
http://www.developerfusion.com/show/244/ See the code below. There is
also some code found at http://www.freevbcode.com/ShowCode.asp?ID=1028
I would appreciate someone's help in getting this to work.
...
|
by: Pax S |
last post by:
I need a button that will check (make true) two check boxes (fields)
For the record that has the focus (the record on the form that I am
presently looking at). The two check boxes would be like a "sold"
check box and an "add to report" check box (for print out). Also as
part of this button, I would like for it to enter a date into a field
such as a "date sold" field. That should be fairly simple and I could
probably figure out how to do...
|
by: tom |
last post by:
Hallo,
I need help on MIDI file,
and precisely about retrieving
few note values
(mainly the "Velocity" value,
corrisponding to the intensity
of a played note)
while the MIDI is playing.
|
by: lostsoul |
last post by:
Can someone give me some pointer on the below program? There are three things that I couldn't do with my current program. 1) Whenever I make changes to the dictionary it doesn't save the changes. 2) I don't know how to delete things using pickle method. 3) I am trying to get sales tax % only from the dictionary to figure out the sales tax amount.
Thanks in advance for any guidance.
import cPickle
choice = None
while choice != "0":
| |
by: Alami |
last post by:
I'm newdie in c programming. this is my first project in programming.
I have to write a program for a airline reservation. this is what i
have done yet. but when it runs it shows the number of seats as 0 and
the flight no. is also repeating. If any can tell why is this please
help me.
#include<stdio.h>
#include<ctype.h>
#include<conio.h>
#include<memory.h>
|
by: winston |
last post by:
I wrote a Python program (103 lines, below) to download developer data
from SourceForge for research about social networks.
Please critique the code and let me know how to improve it.
An example use of the program:
promptpython download.py 1 240000
The above command downloads data for the projects with IDs between 1
|
by: Prisoner at War |
last post by:
Okay, I'd like to create a print-friendly website, so I've been
reading up on how to create print-friendly pages (without duplicating
my site, of course, by having separate versions of each page)....
Apparently one can use JavaScript or CSS for this....
Using CSS, it seems that the "trick" is to use * media="print" * in
the <linktag....
So if I have a hyperlink to a print-friendly page...um, well, what's
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |