Operating System - HP-UX
1833801 Members
2571 Online
110063 Solutions
New Discussion

Re: Printing on network printer formatted file

 
BOMBA_1
Occasional Advisor

Printing on network printer formatted file

We have an application generating files with formatted text (escape sequence for PCL5). I have to print those files on network printers.

If I define a network printer with hppi the printing is OK with my text formatted (bold for instance).
If I define a remote printer and put the IP address of my printer as the remote system name the printing is OK too.
But I want to use a windows print server where my printer is define. In that case the file is printed but without being formatted (the PCL5 escape sequence are printed).

(The printer is an HP4050N printer)

Have you got any idea to solve that trouble?
thanks
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: Printing on network printer formatted file

If you use no lp -o options when printing your PCL file then it should print OK. Remote printing to a non-HP-UX server ignores all -o options. Now if the escape sequences are 100% imbedded in the print job, and assume nothing about the current printer settings, remote printing should also work OK. However, some PC users love to play with the front panel of the printer and this can affect various print jobs.

Mixing HP-UX and Windows printing is seldom successful, so if the printer is on the network and you can set it up using hppi, by all means use that connection. Putting another computer in the middle just increases the possibility of current and.or future problems.


Bill Hassell, sysadmin
BOMBA_1
Occasional Advisor

Re: Printing on network printer formatted file

I do not use any -o option. escape sequence are 100% embedded and nothing about the printer. Remote printing works if I do not the the windows print server were my printer is defined.
I want to use our windows print servers because I have to print thru firewall and I do not want to open the port 515 for all the printers but only for the windows print servers. And if I use hppi I have to open the SNMP port too, and I may have trouble with non-HP printer.