Operating System - HP-UX
1821188 Members
3388 Online
109631 Solutions
New Discussion юеВ

Re: Printer getting attached to /dev/null

 
Amit Dixit_2
Regular Advisor

Printer getting attached to /dev/null

Hi,
I havee installed a printer on hp-ux 10.20
it got attached to /dev/null, i deleted it
but its still shows that printer in lpstat -t
when i give lpadmin -xprinter_name
it says noexistent printer.

when i try to install a new printer it is
again attachhing to /dev/null though i am
installing through jetdirect.

PLEASE HELP ME OUT..

THANKS IN ADVANCE

AMIT
7 REPLIES 7
KapilRaj
Honored Contributor

Re: Printer getting attached to /dev/null

/etc/lp/interface may have some info for you left out for the old printer ! remove them and then re-configre the printer !

Kaps
Nothing is impossible
Mark Grant
Honored Contributor

Re: Printer getting attached to /dev/null

If I remember correctly, it is supposed to "attach" to /dev/null on 10.20 when using jetdirect. If your printer isn't working, I'd look elsewhere for the solution. Can you ping it?
Never preceed any demonstration with anything more predictive than "watch this"
Amit Dixit_2
Regular Advisor

Re: Printer getting attached to /dev/null

Hi,
Yes I am able to ping the jetdirect card.

I have configured the HP Designjet 750C
plotter on parallel port now.

But when i send the data the plotter recv
LED glows for few seconds and on LCD it
displays that it is recvng but it then
doesnt print anything.

Why is it so.

How can i ask my plotter to print raw data.

Thanks,
Amit.
KapilRaj
Honored Contributor

Re: Printer getting attached to /dev/null

The plotter may not print the raw data you may need to feed a HPGL data to it like following

lp -or -d
SP1;
PD0,0,1000,1000
SP0;
PG;
[CTRL D]

I forgot who gave me this script ... sure it is from ITRC forums thanks to him ..

Kaps
Nothing is impossible
Amit Dixit_2
Regular Advisor

Re: Printer getting attached to /dev/null

kapil,
How to execute above set of commands,

Thanks,
Amit.
Bill Hassell
Honored Contributor

Re: Printer getting attached to /dev/null

As mentioned, the DesignJet is NOT a printer, it is a plotter and therefore does not print simple text such as ABC. You muct send the plotter HPGL commands. The above series of commands is the one I used to test the oldest HPGL pen plotters more than a dozen years ago. Just put the commnds into a file that looks like this:

sp1;
pa 0,0;
pd;
pa 1000,1000;
pu;
pg;

Then send this file to the plotter:

lp -dplotter_name test_file

The reason the plotter light flashes is that it is receiving the print job, but it is in a foreign language and is therefore ignored.


Bill Hassell, sysadmin
KapilRaj
Honored Contributor

Re: Printer getting attached to /dev/null

Bill,

I think u gave me this solution abt 3/4 years back back when i had a similer problem !

Amit , Give it a try .... it works !

Kaps
Nothing is impossible