Re: Printing from new PC without LPT/Serial port to Dot Matrix Printer on Smb Share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim

On Mon, Oct 3, 2011 at 6:34 PM, Tim Waugh <twaugh@xxxxxxxxxx> wrote:

To print from the command line, use the lp command.

Tim.
*/

lp would print a file to the named printer. How do I print or redirect the console output to the printer as is the case in "ls -lha > prn"

And moreover a legacy program is printing to a device lpt1, had the port existed & been connected/redirected to some printer....it would have printed.

Problem here is that there is no connection between the print output of the software and the lpd/lpr/cups/smb device. The software is NOT modified to recognize the lpr/cups device and therefore is printing to a lpt1 port, as all DOS legacy programs do. What I need to do is somehow capture the output to the lpt1 device & redirect it to the printer setup on linux.

Is it possible to create a directory named lpt1 in /dev and make it behave like a device (whatever behaving like a device is), so that the program output written to it can be redirected to the the linux printer?

With best regards.
Sanjay.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux