Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'HP Deskwriter serial?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
HP Deskwriter serial?
Authored by: Thomas Kaiser on Mar 27, '03 04:02:58AM
Mike Sweet (the 'father' of CUPS) wrote the following in the
cups.development newsgroup

You'll need to add your devices to the list of serial ports that are
recognized; otherwise the scheduler will not know about the device
and won't allow you to use it...

One simple way you can add support for your serial ports is to create
a shell script in /usr/libexec/cups/backend that contains the
following (the name of the script is not critical; "serial.local",
"myserialports", etc. will all work):

     echo 'serial serial:/dev/tty.usbserial-FTALHZU9?baud=115200 "Unknown" "USB Serial #1"'
     echo 'serial serial:/dev/tty.usbserial-FTALHZUK?baud=115200 "Unknown" "USB Serial #2"'

Make sure the execute permissions are set
(chmod +x filename).
This script will tell the scheduler that the serial backend
supports additional devices.



[ Reply to This | # ]