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: bossa nova on Nov 11, '02 02:15:42AM

What about printing to a serial printer through a keyspan USB to serial adaptor? Has anyone tried that? Can anyone give me any hints, such as how to type the correct port so that it passes through to the keyspan and then the serial port 1 (or 2) on the keyspan? I want to use the old deskwriter for black and white only print jobs. It still works great-can't see tossing the thing.

TiA...jon



[ Reply to This | # ]
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):

     #!/bin/sh
     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.

HTH,

Thomas

[ Reply to This | # ]