Greetings all! I am in one of my occasional struggles with CUPS (which I hate -- as compared with good old LPD)! Not helped by the unhelpful Gnome: Desktop --> Administration --> Printing "assistant".
Basically, I have an HP LaserJet 1300 which I want to use as a raw printer (I do all my printing via PostScript files which I create myself, and the HP has built-in PS capability, so it's just a matter of piping the PS file straight into the printer, with no intermediate processing).
The printer is to be connected to a laptop via a USB cable. So all I want to do is set up printing on the laptop so that when I issue a command
lpr filename.ps
the PS file gets printed by being sent straight to the printer over the USB port.
So how do I set this up as a raw printer? There seems to be no route to this (that I can detect) via the above "assistant".
Maybe there is a direct method using CUPS-oriented commands from the command-line, but I can't manage to suss that out either!
Any help (especially from people who have done this successfully for themselves) will be highly appreciated!
Thanks, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) ted.harding@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 08-Dec-11 Time: 19:52:40 ------------------------------ XFMail ------------------------------
On 08 Dec 19:52, Ted Harding wrote:
The printer is to be connected to a laptop via a USB cable. So all I want to do is set up printing on the laptop so that when I issue a command
lpr filename.ps
the PS file gets printed by being sent straight to the printer over the USB port.
So how do I set this up as a raw printer? There seems to be no route to this (that I can detect) via the above "assistant".
Maybe there is a direct method using CUPS-oriented commands from the command-line, but I can't manage to suss that out either!
Any help (especially from people who have done this successfully for themselves) will be highly appreciated!
Fire up a web browser... point it to https://localhost:631/
then edit the printer config in there, you'll want to modify the printer to be of manufacturer "Raw" with "Raw Queue" as the model.
Set it as the default and then you'll be able to use:
lp filename.ps
Job done, time for a cuppa.
On 09-Dec-11 12:30:57, Brett Parker wrote:
On 08 Dec 19:52, Ted Harding wrote:
The printer is to be connected to a laptop via a USB cable. So all I want to do is set up printing on the laptop so that when I issue a command
lpr filename.ps
the PS file gets printed by being sent straight to the printer over the USB port.
So how do I set this up as a raw printer? There seems to be no route to this (that I can detect) via the above "assistant".
Maybe there is a direct method using CUPS-oriented commands from the command-line, but I can't manage to suss that out either!
Any help (especially from people who have done this successfully for themselves) will be highly appreciated!
Fire up a web browser... point it to https://localhost:631/
then edit the printer config in there, you'll want to modify the printer to be of manufacturer "Raw" with "Raw Queue" as the model.
Set it as the default and then you'll be able to use:
lp filename.ps
Job done, time for a cuppa.
Brett Parker
Thanks to all who suggested ways to set about this! Unfortunately, I am still not properly set up.
Following the procedure on the lines of Brett's suggestion above ( localhost:631 ), I am informed that I now have a printer set up:
Showing 1 of 1 printer. HPLJ "/usr/lib/cups/backend/lpd failed"
Description: HP LJ1300 Location: USB Make and Model: Local Raw Printer Printer State: stopped, accepting jobs, published. Device URI: lpd:/deb2/queue
("deb2" being the name of the localhost).
There are two misbehaviours which I observe:
[1] If I plug the USB cable from the printer into the laptop, and switch the printer on, after a few seconds I get a beep from the computer and then (usually) a few seconds later the printer starts printing out sheets, each with a single line of garbage at the top. This does not always happen, however.
[2] If the above does not happen, and I assume that I should be able to print, I then send it a test file:
lpr test.ps
Then nothing happens. The result of 'lpq' is:
HPLJ is not ready Rank Owner Job File(s) Total Size 1st ted 11 test.ps 21504 bytes
There may be a link eith the "/usr/lib/cups/backend/lpd failed" which I find in the above CUPS web-page fror the printer.
Any diagnostics, anyone?
With thanks once again, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) ted.harding@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 11-Dec-11 Time: 20:32:34 ------------------------------ XFMail ------------------------------