Re: Sharing ASCII Printer
- From: "Graeme Wintle" <graememsng@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Jan 2008 20:09:26 -0000
You could try if you can to set the default baud in the serial driver (the
dcb structure which is init'd on driver load), maybe nothing changes it?
Can you put any debug in the serial driver itself to see if it is open'd for
inspection or for read/write access?
--
--
GraemeW
Web - http://www.bytesnap.co.uk
Blog - http://ce4all.blogspot.com
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:O78uQqjUIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I've read through the archived posts that seems relevant, but this appears
to be a combination of technologies that no one has asked about before.
I'm trying to create a printer share on my Windows CE 5-based device. I
want to have a text-based printer connected to a serial port and share
that with network clients of my CE system. So far, that's no problem at
all. I set the share name, the share type (to printer), the share 'path'
(to "COM1:", say), etc. However, this is *not* a PCL-based printer (it's
text), so I've been just trying to leave the driver name blank. On the
Windows XP client, I can create a new printer connected to the shared
printer and set its type to Generic | Text only and that seems to work
fine.
Here's the catch, though. How do I set the serial port baud rate?
There's no way to do that as far as I can see. Should there be some
generic 'driver' name that I enter that will handle that (and, if so,
where does it get the settings from)? Should the HKLM/Printers/Ports port
names be used as the share path (doesn't seem to work)? For that matter,
what if it was a PCL printer? How does *it* figure out what the baud rate
is?
Paul T.
.
- Follow-Ups:
- Re: Sharing ASCII Printer
- From: Paul G. Tobey [eMVP]
- Re: Sharing ASCII Printer
- References:
- Sharing ASCII Printer
- From: Paul G. Tobey [eMVP]
- Sharing ASCII Printer
- Prev by Date: Re: Legalities of backporting from ce5/6 to 4.2 ?
- Next by Date: Re: What is Microsoft's Secret for Speedy Bluetooth Device Inquiry?
- Previous by thread: Sharing ASCII Printer
- Next by thread: Re: Sharing ASCII Printer
- Index(es):
Relevant Pages
|