On Tuesday 02 September 2003 11:51, Russell Shaw wrote:
Elie De Brauwer wrote:
On Tuesday 02 September 2003 11:39, Russell Shaw wrote:
Hi, When i do: cp test.txt /dev/lp0 shouldn't it blindly copy the text to the port and return immediately? (it hangs)
That depends, in some cases that could work unless you have a printer like hp deskjet 710, 720 etc who require additional filtering, the models mentioned require (cpu intensive) filtering thru a pnm2ppa filter.
It would be a good idea to mention which printer you are using
It's a lexmark postscript laser (optra R+). I was wondering if the command should work even if there was no printer connected.
Try catting a postscript file, i thnk you printer should understand 'postscript'.
That's how i've done tests before. It took me ages to figure the latest problem. I connected the inkjet, and "cp test.txt /dev/lp0" worked (obviously needs a printer attached). I forgot to change the printer box, so when i did "lp -d Laser test.txt", i got postcript ascii text on the inkjet too. Anyway, the problem was i just had to power-cycle the laser. Simplest problems waste the most time chasing;)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]