Operating System - HP-UX
1820072 Members
2561 Online
109608 Solutions
New Discussion

Setting up remote printer for laser printer

 
SOLVED
Go to solution
ng_7
Regular Advisor

Setting up remote printer for laser printer

hi, expert,

May I know what is the driver in windows should i use in order to set up remote printer for HP LaserJet 2200DN and HP LaserJet 1015 ?

thanks

regards
ng

 

 

P.S. This thread has been moved from Archived Printing Boards > Black and White to HP-UX > sysadmin - HP Forums Moderator

3 REPLIES 3
Bill Hassell
Honored Contributor

Re: Setting up remote printer for laser printer

Your question is unclear. If you mean that you want to setup a Windows box to accept print requests from HP-UX, then you would use add Unix printing support to your Windows box. It would help if we knew what version of Windows you are using: Win95, Win98, WinME, WinNT, Win2K, WinXP, WinServer-2003, etc.

If instead you want to print from your Windows box to an HP-UX box that has the printers installed, you would use the standard drivers for the printers (download from hp.com) and specify the port on the Windows box as a Unix lpd port.


Bill Hassell, sysadmin
ng_7
Regular Advisor

Re: Setting up remote printer for laser printer

sorry for my unclear question.

i would like to set up a HP laser 2200DN and HP laserjet 1015 which attached to win xp computer as Unix remote printer. which mean user will print from unix to this 2 printer which is attaced to winxp. I had successfully setting up remote printer for dot matrix printer, but for this 2 model, even i use back the original driver, it seems the driver not compatible with unix. the print out is not exactly what i want. thus , i guest this is due to driver problem.

can anyone tell me what is the compatible driver for this 2 printer which can working fine under unix ?

thanks

ng
Bill Hassell
Honored Contributor
Solution

Re: Setting up remote printer for laser printer

I suspect that the "not exactly what I want" printout is stair-stepping across the page and off the right edge. This is normal for HP-UX remote printers. All Unix systems store plain ASCII files as strings separated by the line-feed character. For printers connected directly to HP-UX, the printer script adds a carriage-return to each line.

But a remote printer on a non-HP-UX system, the files is sent as-is and the Windows box doesn't know how to add the CR. You can verify this with the ux2dos command:

ux2dos /etc/profile | lp -dnewprinter

If this works OK, you can use the ux2dos command for all your ASCII file printing. Or you can talk directly to the printers and bypass the Windows box (always a good idea) for printing. To add the 2200DN, just use this command on HP-UX:

addqueue -h 12.34.56.78 -q myprintq -t off -b off

(where 12.34.56.78 is the IP address) Now HP-UX will give you access to many, many print options (man net_ljx000) and will print normally.

The 1015 may be a problem. Many of the low cost printers do not use ASCII for printing and just a quick search shows that it only has PCL5e which I believe is a encoded/compressed set of codes. HP-UX does not have drivers like Windows, just simple printer scripts. Printers for HP-UX (and Unix in general) need to support plain ASCII text.

The dot-matrix printer may have worked because there is an option in the printer to automatically treat LF as CR+LF.


Bill Hassell, sysadmin