jeff@dsndata.uucp (Jeff Minnig) (10/12/90)
I am trying to use the printer spooler under hp-ux drive an HP7595A Draftmaster plotter. The problem I am having is that the spooler model for the draftmaster doesn't know that I need to change sheets between plots. If I spool more than one plot at a time, all of the plots get put on one sheet. Things I have tried: a) both plotter models for HPGL in /usr/spool/lp/model. Neither model made a difference. b) Adding an "NR;" hpgl command to the end of my hpgl spool file. This *did* stop the plotter between plots, but I get an spooler message blatted to the raw console screen concerning the plotter not responding for the next plot. This is especially irritating as it screws with my X windows. I am using the DraftMaster for testing purposes, but in the future, I will have to support sheet-feed, manual-feed, and roll-feed plotters: 7550A, 7570A, 7575A, 7576A, 7580A, 7580B, 7585B 7586B, 7595A, 7596A, 7600D, 7600E Hardware: 9000/375 OS: HP-UX Rev 7.0 Plotter Interface: HP-IB Is there another driver program that I need to be using in the interface file besides /usr/lib/plotdvr? Is there a solution at all under hp-ux short of writing a specialized version of /usr/lib/plotdvr just to handle plotters that need sheet-change? --- Please reply via email. If I get sufficient response or a solution to the problem, I will post a summary to the net. Thanks in advance. -jeff- ---------------------------------------------------------------------- ---------------------------------------------------------------------- Jeff Minnig | (402) 476-8278 Design Data | 1033 'O' St. Suite 324 | {hpfcla,ssbell,unocss}!dsndata!jeff Lincoln NE 68508 | ---------------------------------------------------------------------- Home is where your keyboard is. ---------------------------------------------------------------------- -- ---------------------------------------------------------------------- I said it, not the people I work for. ---------------------------------------------------------------------- Jeff Minnig | (402) 476-8278 Design Data | 1033 'O' St. Suite 324 | {hpfcla,ssbell,unocss}!dsndata!jeff Lincoln NE 68508 | ---------------------------------------------------------------------- Home is where your keyboard is. ----------------------------------------------------------------------
glenn@hpcuhc.cup.hp.com (Glenn Saito) (10/14/90)
I've not experienced the problems that you're having with your 7959a draftmaster, > The problem I am having is that the spooler > model for the draftmaster doesn't know that I need to change sheets > between plots. If I spool more than one plot at a time, all of the > plots get put on one sheet. but I can suggest that you reconfigure the plotter spooling system using the information that I've provide below. My setup very similar to yours: > Hardware: 9000/375 > OS: HP-UX Rev 7.0 > Plotter Interface: HP-IB >Things I have tried: > > a) both plotter models for HPGL in /usr/spool/lp/model. > Neither model made a difference. The only model file that I know of that should be used with a 7595a draftmaster is the /usr/spool/lp/model/hp7595a model file.. You can either run SAM or edit and run the /etc/mklp script. If you updated to 7.0 then you might need to copy /etc/newconfig/mklp to /etc/mklp. I prefer using /etc/mklp because of the control that I have over the spooling system. in case you need this my /dev/plt7595 looks like the following: crw------- 1 lp bin 21 0x070500 Oct 12 10:38 /dev/plt7595 The above information can be found in the "Peripheral Installation Guide" under the "adding plotters and other graphics devices." Goodluck and please post a reply. Thanks. glenn saito BTW, the 300 is being used as a printer spooling/tape access system that currently has 2 7550 plotters, 1 7595a draftmaster plotter, 1 2566A impact printer, 1 2684D laserjet printer and 1 7978 magtape drive. It's also used for other things, but it handles all the plotters and printer just fine.
joseph@hpuplca.HP.COM ( Joseph Hohl ) (10/15/90)
> I am trying to use the printer spooler under hp-ux drive an HP7595A > Draftmaster plotter. The problem I am having is that the spooler > model for the draftmaster doesn't know that I need to change sheets > between plots. If I spool more than one plot at a time, all of the > plots get put on one sheet. > > Things I have tried: > > a) both plotter models for HPGL in /usr/spool/lp/model. > Neither model made a difference. > > b) Adding an "NR;" hpgl command to the end of my hpgl spool file. > This *did* stop the plotter between plots, but I get > an spooler message blatted to the raw console screen > concerning the plotter not responding for the next > plot. This is especially irritating as it screws > with my X windows. I've modified the lp interface file before by adding the same 'NR' command and it worked for me. Another feature I added was to select a pen that would correspond to the size of paper that had to be loaded next (ie: pen 1 A size, pen 2 = B size etc..), this would allow the operator to look at the front panel to determine what size of paper to load (the paper size was derived from the first character of the file name). I don't have the script anymore but the modifications were only a few lines of borne/korn shell commands. I didn't get any of the error messages you are referring to. > Hardware: 9000/375 > OS: HP-UX Rev 7.0 > Plotter Interface: HP-IB The difference is that I used the RS-232 I/F. I didn't get any messages, the plotter would just 'XOFF' the computer until the user changed the paper and pressed remote. I suspect that HP-IB doesn't have an XOFF equivalent. > > Is there another driver program that I need to be using > in the interface file besides /usr/lib/plotdvr? HP's ME10/30 products include a plot spooler (doesn't use the lp spooler) for complete control of what drawings get printed and when. > Is there a solution at all under hp-ux short of writing > a specialized version of /usr/lib/plotdvr just to handle > plotters that need sheet-change? > > --- > > Jeff Minnig | (402) 476-8278 > Design Data | > 1033 'O' St. Suite 324 | {hpfcla,ssbell,unocss}!dsndata!jeff > Lincoln NE 68508 | > ---------------------------------------------------------------------- > Home is where your keyboard is. > ---------------------------------------------------------------------- > ---------- Joseph
rer@hpfcdc.HP.COM (Rob Robason) (10/18/90)
I'm a little puzzled about your posting. plotdvr is there almost entirely for the purpose of notifying the user to change paper when a "PG;" comes through. What you describe sounds as if you are using the -f option to plotdvr which disables this notification. This isn't documented anywhere, but here's a summary of plotdvr use, hope it helps: plotdvr HP-GL plotter filter. This filter scans the data for "PG" commands (paper feed). When this data is encountered, the filter strips it from the data stream and informs the requesting user of the need to change paper in the plotter. Options: -lrequest_id Specifies the printer request id and is used in various messages regarding the plot request. -uusername Specifies the login name of the user making the request. Used in communications with the user regarding the request. -e Specifies the use of escape sequences, rather than HP-GL commands, to determine plotter status. -f Plot without stopping for paper changes. The "PG" commands are not stripped from the data stream and the user is not notified of them. This option is used on plotters capable of automatic page feed. -i Prevents initialization of the plotter. Rob