-
Senior Member
registered user
Setting of comm ports - adding second com port - redirection
I've found 'lx-viewer' which should let me view and plot '.DXF' format CAD files to my HP (hpgl) plotter. A couple of things are stopping me from doing this! How do I set up baud, parity, bits and handshaking on my serial port, how do I get the second coms port recognised by Knoppix and what is the best way of outputting the plot file to the device?
cp plot.hpgl /dev/ttys0 ?????
Many thanks, I'll do a 'google' in the meantime!
Stu.....
-
Senior Member
registered user
Re: Setting of comm ports - adding second com port - redirec
--See ' man setserial ', and /etc/init.d/setserial. To check your serial port current config:
' setserial -a /dev/ttyS0 ' as root.
--You can also:
' cat /proc/tty/driver/serial ' as any user:
serinfo:1.0 driver:5.05c revision:2001-07-08
0: uart:16550A port:3F8 irq:4 baud:9600 tx:8 rx:60 brk:3
1: uart:16550A port:2F8 irq:3 baud:9600 tx:6 rx:0
--From google, here is example of something you could put into /etc/serial.conf:
/dev/ttyS0 uart 16550A port 0x03f8 irq 4 baud_base 115200 spd_normal skip_test
--As far as getting the plot to the device, maybe use cat(?) But you did say lx-viewer should let you do the plot directly to the device...

Originally Posted by
stukennedyuk
I've found 'lx-viewer' which should let me view and plot '.DXF' format CAD files to my HP (hpgl) plotter. A couple of things are stopping me from doing this! How do I set up baud, parity, bits and handshaking on my serial port, how do I get the second coms port recognised by Knoppix and what is the best way of outputting the plot file to the device?
cp plot.hpgl /dev/ttys0 ?????
Many thanks, I'll do a 'google' in the meantime!
Stu.....
-
Senior Member
registered user
Thanks for that. I found a command 'stty' - set tty (set teletype) which lets you change bits per second, parity and handshake. e.g.
stty 19200 cs8 -parenb crtscts -echo -F /dev/ttyS0
-would set baud to 19200, number of bits to 8, turn parity off, e.g. 'none'set hardware handshake and turn off echo on serial port ttyS0 (the first one)
Stu.....
-
Senior Member
registered user
Looking at the qcad website (http://www.ribbonsoft.com/qcad.html) shows that support for hp/gl is postponed. LX-viewer will open qcad .dxf files and will output them to the plotter (use print to file first them cat filename.hpgl /dev/ttySx ) but it's not a practical solution, for a couple of reasons. (font scaling and pen handling).
Time to check out some other cad packages!
Just thought you'd like to know!
Stu.....
Similar Threads
-
By Maverik in forum General Support
Replies: 0
Last Post: 04-02-2005, 07:31 AM
-
By kn2user in forum General Support
Replies: 0
Last Post: 12-06-2004, 06:43 PM
-
By hernan in forum General Support
Replies: 1
Last Post: 09-17-2004, 07:40 PM
-
By cortechs in forum Networking
Replies: 2
Last Post: 03-04-2004, 09:06 AM
-
By jojo in forum General Support
Replies: 3
Last Post: 02-23-2004, 11:56 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70

2 -IBM 16GB 2GX72 00VK248 CDIMM Server Memory DDR4 LOT OF 2 32GB TOTAL
$79.95

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00