unseen added devices

Ed Fletcher ed at fletcher.ca
Fri May 6 05:44:44 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

taeb wrote:
~ > I've looked through the administration documentation, and I don't think
| the problem I'm having is with print configuration files.  The device
| information required by lpadmin to create the printer is not available
| even though dmesg lists ttyS[01] present during boot.  When I enter
| lpinfo -v I get the following:
|
| network socket
| network http
| network ipp
| network lpd
| direct usb:/dev/usb/lp0
| direct usb:/dev/usb/lp1
| direct usb:/dev/usb/lp2
| direct usb:/dev/usb/lp3
| direct usb:/dev/usb/lp4
| direct usb:/dev/usb/lp5
| direct usb:/dev/usb/lp6
| direct usb:/dev/usb/lp7
| direct usb:/dev/usb/lp8
| direct usb:/dev/usb/lp9
| direct usb:/dev/usb/lp10
| direct usb:/dev/usb/lp11
| direct usb:/dev/usb/lp12
| direct usb:/dev/usb/lp13
| direct usb:/dev/usb/lp14
| direct usb:/dev/usb/lp15
| network smb
|
| As you can see, there are no serial ports listed.  The documentation
| suggests I should see something like:
|
| serial serial:/dev/ttyS1?baud=115200

In this page:
http://localhost:631/sdd.html#3_1

I found this:
The serial backend sends the specified job to a local printer connected
via the specified serial port device. The URI is of the form:

serial:/dev/file?option[+option+...]

I'm thinking that the above list of devices is in a file somewhere and
that you can add a serial port to the list using these instructions.
However, I've been unable to find this file so maybe I'm barking up the
wrong tree.

I think that you may be able to get an answer by posting a question in
the cups forum: http://www.cups.org/newsgroups.php

| No known autodetection signatures.
|
| I wondered if this means the system will not be able to detect the
| printer during boot even though it's there?  Obviously there has to
| be some way talk to this puppy. :)

It sounds like it won't detect it automatically.  Doesn't meant that you
won't be able to print to it though.


~From the official CUPS documentation on adding a printer from the CLI:
http://www.cups.org/doc-1.1/sam.html

Quote
For a dot matrix printer connected to the serial port, this might look like:

/usr/sbin/lpadmin -p DotMatrix -E -m epson9.ppd \
~    -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft ENTER

Here you specify the serial port (e.g. S0,S1, d0, d1), baud rate (e.g.
9600, 19200, 38400, 115200, etc.), number of bits, parity, and flow
control. If you do not need flow control, delete the "+flow=soft" portion.
Unquote

A variation of this may be your best bet.

HTH,
Ed
- --
Ed Fletcher
ed at fletcher.ca

What difference does it make to the dead, the orphans and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty or democracy?  -  Mahatma Gandhi (1869-1948)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFCewRMlTbGAQhc1A8RApUYAJdCE8VbAu52UbtSGngyHWbY6S9gAKCB7WPV
Q9g12cP+7K2qC51hXN9mfQ==
=aIcZ
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list