home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!cc.gatech.edu!news
- From: ammo@cc.gatech.edu (Ammo Goettsch)
- Subject: Newbie questions -- C++, PS printer
- Message-ID: <1992Dec14.003102.4687@cc.gatech.edu>
- Sender: news@cc.gatech.edu
- Reply-To: ammo@cc.gatech.edu (Ammo Goettsch)
- Organization: Georgia Institute of Technology
- Date: Mon, 14 Dec 1992 00:31:02 GMT
- Lines: 22
-
- Hi, I have been hacking on Linux for just a few days, trying to get my
- work ported to my PC.
-
- Here are 2 newbie questions, to be answered by the knowing in email or
- on the group, by preference.
-
- 1) I have a post script printer. I have the /dev/lp1 working. I would like
- to have "lpr textfile" make post script out of a straight text file and
- dump it to my printer. This is like the "enscript" program we have on our
- UNIX boxes. What program do I need to do this?
-
- 2) I compiled tons of C code and some C++ code from work, by using g++.
- Everything works fine except C++ program which use cout for standard output
- cannot find "cout" or operator<<(various types)" and so they don't link.
- Do I need to link a special library for this? I thought this stuff should be
- in libc.a?
-
- I am presently using an SLS distribution Linux which thinks it's 0.96
- without any patches other than newer xfree86.
-
- Please help,
- Ammo Goettsch
-