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

Tim Waugh twaugh at
Mon Oct 3 13:04:53 UTC 2011

On Mon, 2011-10-03 at 18:00 +0530, Sanjay Arora wrote:

> But it still does not print from CLI applications printing to the
> printer port (In my case, from ls -lha >prn or Harbour compiled legacy
> dbase applications). The output of ls -lha > prn does not land in the
> print queue, even if this printer is the default printer, nor does the
> output of the legacy DOS based programs recompiled on Linux (Harbour
> my case for recompiling old dbase programs).

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : 

More information about the users mailing list