Can I use a general printer(HP LaserJet 1200) on solaris?


 
Thread Tools Search this Thread
# 2  
The answer is yes you can.

I can't remember if this printer has an in built jetdirect card or not, if it hasn't you can buy one.

Then you can either download the jetdirect software from the web and install the printer through the software

or

for a basic setup you can just and the ip address of the printer to the /etc/host file and add the printer queue like so.

lpadmin -p (printer queue name) -s ( Host name of printer)

i.e lpadmin -pmyqueue -sofficeprinter

To test the printer key in
lp -dmyqueue /etc/group
# 3  
Thanks a lot.

But I'm still somewhat confusing. Would you please tell me what the 'printer queue name' mean???
Smilie Smilie Smilie

Thanks again
# 4  
Printer queues...

If you run the command below, it will show you what printers you currently have setup on your Solaris server.

lpstat -t | more

You will see a device name (i.e queue name) and then the physical (server) name of the printer.

i.e
system for hp2: accounts1 (as printer lpt1_text)
system for bighp1: accounts1 (as printer lpt1_text)

hp2 as above is a queue name that gets used by an application.
This queue actual prints out on a physical server called accounts1. Accounts 1 is the name of the printer in the /etc/hosts files

The same printer is also known as printer queue bighp1 for another application, but physically is the same printer as hp2.


--------
What you need to do,

Attach your HP printer to the network via a jetdirect card. Lets say you set the IP address of the jetdirect card as 172.26.3.30.
You then edit your /etc/hosts file and add the line 172.26.3.30 hp_printer

you should now be able to ping hp_printer (to make sure hp_printer is found over the network)

No lets say you want to create a printer queue called mark for instance to the hp_printer printer.

-p queue name
-s what the printer is known as in the /etc/hosts file
-T interface file hplaser is standard for hp printers
-I font type


lpadmin -p mark -s hp_printer -T hplaser -I pcl


run the lpstat -t | more command again and you should see your queue called mark against a physical printer hp_printer

test the printer by running a native print commnad to the printer queue mark.


-d queue name to send a print request to.
/etc/group is the name of the file to print


lp -d mark /etc/group


The printer should burst into life.


Hope it helps
Mark
# 5  
If you want me to send you the jetdirect software, give me your email address and I'll pass it on.

Mark
 

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
12-Core MacPro (2013) kernel_task over 1200%
Neo
Yesterday someone asked me to install TeamViewer and share my Mac screen with them while on a conference call. I shut down my Mac before sleeping and woke up to some major problem with my 12-core CPU in hyperdrive, and the system activity monitor showed my Mac kernel_task was at 1,200% and the...... OS X (Apple)
30
OS X (Apple)
Solaris 5.9 - HP Laserjet 9050dn
cyjan
Hi there, I hope someone could shed a light on my problem. OS is running in local zone (global zone - 5.10). We use many printers from Ricoh etc. Most of them are running fine if configured as below (for Ricoh printers I use their installer): lpadmin -p _printer_ -v /dev/null -A write -i...... Solaris
0
Solaris
eXceed and Solaris 10 - General Problems
adelsin
Greetings! I do no like Exceed, but it all I have. First of all, I started my Solaris 10 with a bare minimum base install. I have built up from it with additions like sudo, gcc, and various other packages that I have needed. Now, I am trying to get Exceed to connect with the server and display a...... Solaris
17
Solaris
General question about configuring DHCP on Solaris
corvinusbsd
Dears, my question is that possible to configure any server to work in solaris zone i mean any server cos i read that DHCP can't be work on solaris zone is that real or not Best Regards Alexander Corvinus... Solaris
4
Solaris
TRUE Unix-64 Printer Driver for HP-6L laserjet.
parbende
Can anyone suggest me from where to download the printer driver for HP 6L laserjet printer for servers/desktops having TRUE Unix-64 and Unixware 7.0 OS.... UNIX Desktop Questions & Answers
1
UNIX Desktop Questions & Answers