Thank you for the many speedy responses. I was able to specify the
default printer with
lpoptions -d HP_LaserJet_P2035_2
on my TopSpin 1.3 system on Red Hat Enterprise WS4.
Robert Honeychuck
George Mason U
Fairfax VA
A summary of the responses:
-------------------------
"Plot" in TopSpin doesn't print anything. This is a Linux instrument
controller connected locally, not on a network, to a LaserJet.
I know the printer driver is there because the word processor sees a
CUPS printer named
HP_LaserJet_P2035_2
and the word processor prints text and graphics.
In Red Hat -> System Settings -> Printing, when I try to add a new
printer, my "Printer model" is not there among the many HP LaserJets,
even though the word processor sees the CUPS printer above.
In the Plot editor "Print Command" is
lpr %s
It seems I may have to do cf or expinstall, which I would like to
avoid, since I am installing a printer and not the whole instrument.
In TopSpin, "prnt" does print the screen in a primitive way, without
parameters etc. It gives the spectrum and axes.
Thanks very much to any TopSpin/Linux experts out there who can help
me with this.
Robert Honeychuck
George Mason U
Fairfax VA
rhoneych_at_gmu.edu
-------------------------
If prnt works and plot doesnt then most likely you dont have to futz
with drivers cf etc.
You dont have a default printer is the most likely problem.
Use lpr -P HP_LaserJet_P2035_2 %s
-------------------------
Don't sweat doing the expinstall, just type it and then when it
gets to the screen where you pick what you want to install, choose
'select none' and nothing will be installed and the next screen will be
the printer selection.
I have Topspin 1.3 PL8 on Linux boxes here and have had issues with
printing at times. The only work-around for my problem was renaming my
printer with an 'a' prefix like 'a_printer' so it was at the top of the
list of printers, otherwise I could not set it as the default. In my
case it was a network printer.
-------------------------
Hi Robert,
Just run expinstall and select appropriate printer and plotter.
Expinstall takes a short time because it writes the printer info to
each file, etc. This may not solve your problem but is a very quick
solution if it works.
Don't do cf unless you make a hardware change to the console.
-------------------------
Otherwise if you need to install the printer its under Preferences -
Printing Manager. In red hat 3 you right click in area with printers
listed in red hat 4 there is any "add printer" button. But since you
can print from word processing I imagine the printer is already
installed.
-------------------------
Robert,
My systems, also Linux and Topspin, will not do this. I make everyone
use the printer icon or use Xwinplot. You could create a macro plot
for the command using edmac.
I don't see this as much of a problem and therefore haven't created
the macro. I use other macros to run other commands.
-------------------------
In Red Hat -> System Settings -> Printing, try to pick a
similar HP model
and
see what happens.
-------------------------
Robert--
For topspin version 1.3pl8 in the "printer setup" window set the
"print command" to
lp -c -s -oraw -n1 %s
This has always worked for us. Good luck.
-------------------------
Perhaps you have checked this already but can you see the printer in
the list of printers available to Topspin (parameter CURPLOT)?
-------------------------
I'm not a Linux/Unix/Topspin expert but on our unix boxes
running xwinnmr/xwinplot lpr %s etc is the network print command. The
local print command is just lp % whatever. I wouldn't worry about not
having the correct printer driver for HP laserjets we use hplj5 & 6
drivers for HP5000 Laserjets and networked colourjets, installed with
the cfpp command in xwinnmr, and they seem to work fine.
-------------------------
Try print command:
lpr -PHP_LaserJet_P2035_2 %s
instead.
-------------------------
Received on Wed Jan 07 2009 - 06:14:22 MST