E
Eli Iser
Hello all,
I'm developing a minimal XPe installation, with my own application as
the shell. My application requires a printer, which is connected via
USB.
To install the printer I simply call "RUNDLL32.exe
PrintUI.dll,PrintUIEntry /il" at the first run of the application.
Currently I'm experimenting with a Lexmark T644 printer, connected to
the USB port of the target computer.
Now, the installation goes well (I install with the 'have disk'
option, with the drivers supplied with the printer, to support any
printer), and at the end I even manage to print a test page. I choose
the USB001 port for the printer.
However, when trying to print from my application, or even from
notepad (after putting notepad.exe as the shell), nothing gets
printed. The "Printing page x..." popup shows up, but the printer does
nothing.
I tried making a demo program for printing in C# (the application is
in .NET as well), using the System.Drawing.Printing. The printer I
installed is enumerated okay with PrinterSettings.InstalledPrinters,
and the PrinterSettings.IsValid with the printer in the PrinterName
returns true. Printing, however, returns the same result as the
application and notepad - "Printing page x..." is shows, but nothing
gets printed.
I've added practically all the USB components (despite my wishes to
exclude any USB support aside from a printer), and everything that
looks even remotely related to printing.
Anyone might help me with this problem? I've searched through the
entire archive of the group, but nothing helped.
Kind regards,
Eli Iser
I'm developing a minimal XPe installation, with my own application as
the shell. My application requires a printer, which is connected via
USB.
To install the printer I simply call "RUNDLL32.exe
PrintUI.dll,PrintUIEntry /il" at the first run of the application.
Currently I'm experimenting with a Lexmark T644 printer, connected to
the USB port of the target computer.
Now, the installation goes well (I install with the 'have disk'
option, with the drivers supplied with the printer, to support any
printer), and at the end I even manage to print a test page. I choose
the USB001 port for the printer.
However, when trying to print from my application, or even from
notepad (after putting notepad.exe as the shell), nothing gets
printed. The "Printing page x..." popup shows up, but the printer does
nothing.
I tried making a demo program for printing in C# (the application is
in .NET as well), using the System.Drawing.Printing. The printer I
installed is enumerated okay with PrinterSettings.InstalledPrinters,
and the PrinterSettings.IsValid with the printer in the PrinterName
returns true. Printing, however, returns the same result as the
application and notepad - "Printing page x..." is shows, but nothing
gets printed.
I've added practically all the USB components (despite my wishes to
exclude any USB support aside from a printer), and everything that
looks even remotely related to printing.
Anyone might help me with this problem? I've searched through the
entire archive of the group, but nothing helped.
Kind regards,
Eli Iser