Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can remember this from when I had a DMP — it's why I gave up on it. Linux generally works on the theory that you have a graphics printer: it used to generate postscript files for the printer and now often generates PDFs instead. The give-away in your printer configuration is "grayscale" — text obviously wouldn't be described this way. That's why everything is so slow. Incidentally, are you sure about the model? The TM series are small point-of-sale models.
As has been said, you can send text files directly to a printer by using lpr with unformated output sent to the port /dev/parport0 or /dev/lp0.
For the information. I note that "ppdc - cups ppd compiler (deprecated)," so I suspect that you are right about Michael Sweet having had a falling out with the Apple people, and I imagine that trying to work with the raster filter will be unsuccessful.
Hello, michaelk,
I printed out a simple text file with no line over about 30 words with the cat command as you suggested. The result was the same, herky-jerky, slow printing.
Mysterious.
Wayne
I printed out a simple text file with no line over about 30 words with the cat command as you suggested. The result was the same, herky-jerky, slow printing.
I didn't think of using cat, but that really should have worked as it didn't give the computer any opportunity to alter the file. I suspect the explanation here is hardware, not software. Either the parallel port has developed a fault or, far more likely, the printer has reached its use-by date.
Hello, michaelk and DavidMcCann,
Thank you for your input. As to David's comment, just above, I've had this same printing problem on two different computers with at least three Epson receipt printers of two different, but similar, types. I'm wondering if, within the context of a possible dispute between Michael Sweet and the Apple CUPS people, perhaps, there isn't a fully implemented means to use a parallel printer on a Linux machine. Of course, what both of my computers also had in common was that they were 32-bit machines running dBase on dosemu. And all the printers were Epson impact receipt printers.
I had a HP LaserJet 4 printer connected via a parallel port for around 15 years that worked perfectly with linux until it died but that was back in ancient times. I have been using printers with network interfaces ever since.
You did not post if you are using a USB adapter or a true hardware port but hard to determine where the problem lies. I was expecting the printer to be just Espon ESC/P printer language compatible which should not be a problem with using cat. Basically just sending characters to the printer just like DOS would. Make sure there are no zombie process still wanting to use the printer or parallel port.
As aside note I prefer using FreeDOS via VirtualBox versus DOSemu for running legacy DOS programs like dBase but I had a few minor problems with its latest version. No virtual parallel port interface but I created a suitable network hack to send printer output.
Go to any web page and try cntrl P on the keyboard. It'll likely show your printer or offer print to pdf.
If there is no printer regroup to a "software center" of the distro and "install printer"Most distros simply unplug your printer and replug while the machine is running and it "might" say" x______ printer plugged in and maybe ask to install it.
Hello, again,
I guess I'll give up for now on connecting my dosemu driven dBase application to a parallel printer. I can't seem to find very complete documentation on line. Could someone tell me what would be the line (presumably in dosemu.conf) to direct my dBase output to my "Canon_MG2100_series" printer? This printer works properly on my Linux Mint machine.
Thank you,
Wayne
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.