Re: LPT1 - Local Printing

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

 



Dnia sobota, 30 grudnia 2006 03:07, kemas henry napisał:
> Hi,
>
> I also use ltsp 4.2 with dosemu and running DOS-16 application,
> but I can print to lpt1.
>
> All that I have to do is change
>  $_printer = lx300_ws001 (entry in /etc/printcap)
>  $_printer_command = lpr -l
> then try to print to lpt1, hopefully it will work for you

He said he has no printacp entry... If he use /dev/lp0 directly and it's ok 
for him than easiest way to achieve this is 

$_printer_command = "cat - > /dev/lp0"

Of course multiply user printing on this printer will fail becouse of lack of 
queue (but who said that queue is always what we need?).

What can I say for addition is how to create simple printcap entry... I use 
following printcap file for my OKI needle printer:
-- /etc/printacap --
oki|needle:lf=/var/log/printer:lp=/dev/usb/lp0:sd=/var/spool/lpr/oki:sh:sf:
-- end of file ---

Notice that my printer use /dev/usb/lp0 and /var/sppol/lpr/oki directory MUST 
exists. I use lpr from lpr.sf.net for queueing.

-- 
Rafał Cygnarowski
rafi@xxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux