Re: Sharing ASCII Printer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.




.



Relevant Pages

  • RE: wince serial driver
    ... My problem was my app was not picking up all the parity error ... events that the serial driver was raising. ... > Operating System: Windows CE 3.0 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH 2.6.8.1] drivers/char: New serial driver.
    ... > I am submitting a new serial driver for the 2.6 series of kernels. ... > Digi serial driver for the Digi Neo and Classic PCI serial port ...
    (Linux-Kernel)
  • Re: Cant open the serial ports.
    ... Yes.Just look out for the debug messages on the debug window on PB and hunt ... for Serial Driver messages.By the way you will have to enable all the debug ... >>> Remote Registry Editor. ...
    (microsoft.public.windowsce.embedded)
  • Re: Problem with tcgetattr
    ... You are intercepting the ioctl or else replacing the ... These are the methods of the driver object. ... it looks like the serial driver to me. ... * is not handled by the tty layer or the low-level tty driver. ...
    (comp.os.linux.development.system)
  • Re: Personnal line discipline difficulties
    ... >> driver from Windows to Linux, and the Windows serial driver gives ... I'm sure there's no way to find that size but through the serial port ... I've already tried to totally replace the serial driver (by using inb and outb ...
    (Linux-Kernel)