Re: Local Printing with IE
- From: "Sergei R" <rusakov@xxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 09:38:41 -0800
Just wondering, did you figure out what was the problem ?
Perhaps late, but installing serial port sniffer between printer and your
device may be useful.
Sergei R
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23xjuMycYIHA.1212@xxxxxxxxxxxxxxxxxxxxxxx
Anyway, a full debug build with the browser in it has been, useless.
There's no way to set any debug zones for MSHTML or any of the other
browser components and there is no sign of any useful debug messages from
any component of the browser at all. When I select print (I have a
breakpoint at the line that tells the browser control to print in
IESAMPLE), it loads rsaenh.dll, then unloads it and that's it. No other
operations, no messages about x, y, or z failing, no indication, in fact,
that it wasn't printed normally. BTW, this is basically the same symptom
for network printers, so that's what I'm using now, since that's more
convenient that having yet another piece of hardware on my workbench.
On the other hand, my own code works flawlessly, so I don't think that
this is a problem with the printer stuff; I think that the browser is
making some assumption or using some resource which is causing a problem.
However, what that might be is a complete mystery to me. I suppose that
I'll ask at the chat tomorrow, but any other ideas would be appreciated.
Paul T.
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23S6q9EsXIHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
Yes, it has printing support, CE5 of course, not CE6. The only printer
wizard that I've seen is the one for RDP and the Terminal Services
client, which *is* on my device, but which doesn't appear in the Control
Panel.
Paul T.
"Sergei R" <rusakov@xxxxxxxxxxxxxx> wrote in message
news:%23xa483rXIHA.4448@xxxxxxxxxxxxxxxxxxxxxxx
Hi Paul,
I'm not sure how to install a printer via the Control Panel, so I guess
that means I haven't done that ;-)
There is a wizard there which goes through sequence of steps - choose
port, speed, etc. and printer name from the list. Yours may not be there
:) but it does not make much difference in terms of being PCL
compatible, so choose a similar one in that case, like HP 5L for
example.
Compare your results with and without installed printer. Did you add
printing support component to your platform in PB ?
Sergei R
I've also tried printing to a network printer and the same result
occurs: IE doesn't work, while my own program works fine. There's
definitely something wrong with IE, as built in my OS. I'm building a
DEBUG OS to try to see if there are any errors or at least status
information reported by components of IE. I suppose that there could
be some problem with the registry settings, although I don't customize
the IE settings. I hope that the debug messages will indicate anything
amiss.
Paul T.
"Sergei R" <rusakov@xxxxxxxxxxxxxx> wrote in message
news:%23ViS8wqXIHA.1164@xxxxxxxxxxxxxxxxxxxxxxx
Hi Paul,
just to verify, when you print to serial printer from your own
program, do you use the same serial port parameters as IE printing
does ? Namely only these two are supported by IE printing
; @CESYSGEN IF CE_MODULES_PRNPORT
; Printer Port settings
[HKEY_LOCAL_MACHINE\Printers\Ports]
"Port1"="COM1: 9600"
"Port2"="COM1: 57600"
"Port3"="IRDA"
"Port4"="NET0:"
; @CESYSGEN ENDIF
So that IE would be printing only using 57600 or 9600 baud speed and
to com1 only, is your program matching ?
And one more thing to check - do you install any PCL printer through
Windows CE control panel --> Printers to the same serial port ?
Hope this helps
Sergei R
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
news:ugo48wpXIHA.3556@xxxxxxxxxxxxxxxxxxxxxxx
Hmmm. Well, it's an HP Laserjet 5N, so it should be PCL compatible
;-) Yes, the baud rate etc. are right. My own program that prints on
the same unit connected to the same printer is absolutely fine, so
it's definitely the browser that's the problem. I'll go through
everything again and see whether I might have left something out of
it.
Thanks for the test!
Paul T.
"Sergei R" <rusakov@xxxxxxxxxxxxxx> wrote in message
news:OQ95m%23hXIHA.4868@xxxxxxxxxxxxxxxxxxxxxxx
Hi Paul,
yes I can confirm, that one can print from IE in Windows CE 5 to a
local printer (parallel or serial) from RETAIL build. That printer
must be PCL-compatible (model does not matter), please check the
following steps
1. in IE first go to File->Page Setup-> and select your interface
(serial or parallel), your printer type (laser jet or inkjet) and
draft or not etc. Ok to close that dialog
2. Now do File->Print and IE would freeze for a few minutes, then
printer will start printing some bands and IE will unlock.
Maybe your printer is not quite PCL compatible ? Did you check
Windows CE hql for that printer model ?
Also, since you are using serial connection - is baud rate correct
and all other settings valid ?
Sergei R
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no
spam DOT com> wrote in message
news:u%238e%23UUXIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I seem to be on a streak with these sorts of problems. I'm running
a Windows CE 5.0-based device which includes printing support. I
can print successfully to a suitable HP laser printer attached to
the serial port *using my own application*. However, when I try to
print from Internet Explorer (IESample), on the device, nothing
happens. It's a RETAIL build, but I have enough debug messages in
the serial driver to note that the port is never being opened by IE
in this situation.
Can anyone confirm successfully printing to a local serial printer
from IE in CE5? To any printer from IE in CE5 (that doesn't work
for me, either)? I'm running a fully-updated CE5 installation, with
the exception of reversing out the August 2007 SMB server update
QFE.
Paul T.
.
- Follow-Ups:
- Re: Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Re: Local Printing with IE
- References:
- Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Re: Local Printing with IE
- From: Sergei R
- Re: Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Re: Local Printing with IE
- From: Sergei R
- Re: Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Re: Local Printing with IE
- From: Sergei R
- Re: Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Re: Local Printing with IE
- From: Paul G. Tobey [eMVP]
- Local Printing with IE
- Prev by Date: Re: Displaying splashscreen during boot
- Next by Date: Re: Local Printing with IE
- Previous by thread: Re: Local Printing with IE
- Next by thread: Re: Local Printing with IE
- Index(es):
Relevant Pages
|