Re: Printing: OpenOffice yes, bash no.



On Wed, 27 Jun 2007 13:19:14 +0200, toni wrote:

Using OpenOffice I can print everything without any problem.

But when I try to do it using shell command, ther's no way to print
something.


# cat textfile > /dev/usb/lp0 - lp1 - lp2
# cat textfile > /dev/usblp0 - usblp1
#cat textfile > /dev/lp0 - lp1 - lp2 (lp0 wait eternally)

#cp textfile /dev/usb/lp0 ... etc. etc.

lp and lpr returns
Error - no default destination available.

(on www.linuxprinting.org I have already download and install their
recommended driver for my printer... Minolta PagePro 1300W)

Any idea?
Thanks for all!

Cups admin page, set the printer to be default. From the command line: lpr
textfile.

.



Relevant Pages

  • Printing: OpenOffice yes, bash no.
    ... Using OpenOffice I can print everything without any problem. ... But when I try to do it using shell command, ... #cp textfile /dev/usb/lp0 ... ... Minolta PagePro 1300W) ...
    (alt.os.linux)
  • Re: Printing: OpenOffice yes, bash no.
    ... textfile. ... I have used lpadmin -d and the name in /etc/printcap ... lpr textfile.... ... I'm glad I could be of assistance. ...
    (alt.os.linux)