SUMMARY: plotter headache

From: Mariel Feder (unix.support@central.meralco.com.ph)
Date: Fri Jul 04 1997 - 11:42:25 CDT


Sorry for the delay, but I was on vacations for 2 weeks, and
only today, our vendor technical support (miracle!!!!) was the
one to provide the answer.

The original question:
*********************

>
> I've been trying the whole week to make an HP DesignJet 350 C
> print something (which is supposed to understand HPGL).
> It is connected to the paralel port of my Sun machine ultra 1,
> running Solaris 2.5.1.
> I defined it as a printer using the admintool, type HP printer.
> I try to print using lpr -P plotter file.hpgl.
> In the first case, the file is queued (i can see it with lpr),
> then sent to the plotter, wich starts blinking as if it were
> receiving, but nothing is printed.
> I even tried to print using
> cat file.hpgl > /dev/bpp0.
> With this, the plotter starts blinking, and nothing is printed.
> A posibility is that the hpgl file which i am trying to
> print is not correct.
> Howerver, I can see the plot file with hpglviewer, which
> I downloaded from the internet.
> As usual, the vendor does not know what to tell me, and they
> do not have the manuals.
> I thought it could be the parallel port of the sun, of the plotter,
> or the wire, but then, it should not be blinking. It can be anyway,
> so we requested also a serial wire to try, and also a network
> interfase for the plotter.
> However, I have the hint that the problem is that I do not have
> any driver or configuration for the plotter in the Sun, or that
> I am not setting it in the correct printer class, or that maybe
> i am doing everything wrong.
> Is anybody there using that kind of plotter connected to a Sun?
> Which are the correct steps to install it?
> Does anybody has an hpgl file which knows positively that it
> is a correct one to be printed in this kind of plotters? Can you
> please send it to me?

I went on testing and then I sent this:

> I went on testing, and find out the following:
> cat file > /dev/bpp0 prints fine
> lpr -P plotter file doesn't print
> But I can not have the users sending directly to the port.
> I need the print queue managment, of course.
> The file is already an hpgl file, I don't need any convertor
> filter.
> Changing in the admintool the device for the plotter to /tmp/test,
> printing, and then checking the /tmp/test file,
> I found out that the problem is that the default filter, or
> interface program (or default something), adds a banner and some
> control characters.
> What I need now, is the lpr command to send the file exactly as
> it it is, without adding anything to it.

Answer:
*******

What I was doing was to define the plotter as all of the
provided types for the printers, but in order to have a filter
who does not do nothing, what I had to do was:

        In the admintool, choose the printer type other
        and manually type there "unkonwn".

Whith this, no filter will be used.

>From the list
*************

The answers I got from the list were:

- Try printing from the Print Tool.
        Of course I had the same problem

- To define the Plotter as an HPPrinter.
        That was what I was doing, and that was the mistake.

- Install HP Jetadmin.
        That won't work because JetAdmin is for network printers,
and the plotter was connected directly to the Sun box.

- Try to print using -T hpgl
        Didn't work

- Write my own filter.
        That one might have worked, but I felt lazy about it,
and instinctively knew that there should be a filter like that
in the OS.

Repliers
********
Many thanks to all those who answered.

Shriman Gurung
Sundaram Santhosh
Farzad Mansour
Jim Harmon
Stefan Voss
Larry Shuman
Bryan Stolp
Bismark Espinosa

-- 
=============================

Mariel Feder unix.support@meralco.com.ph

Phone: (63) (2) 632.8862 / 632.8977 / 632.2318 Fax: (63) (2) 632.8868

Meralco Electric Company Distributed Information Technology Team Manila - Philipines

=============================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:58 CDT