1754020 Members
7581 Online
108811 Solutions
New Discussion юеВ

remote printing

 
Joanne De lara
New Member

remote printing

Setup remote printing from UNIX w/s running HP-UX 10.20 to a print queue
residing in a Novell Netware 5 server. The print job 'stair-steps' (no carriage
returns) because there is no filtering available on the Novell server to
convert the file to ASCII. How can I modify the script
/usr/lib/lp/model/rmodel so that the file is converted to ASCII before it
reaches the Novell server?
2 REPLIES 2
Paul Heffels_1
Frequent Advisor

Re: remote printing

Hi Joanne,

I used a script called hpfilter before but I can't find it anymore, maybe
anyone else here has it. What it did was change the LF into ^M using sed.

You could easily write such a script yourself. Let's say you name this script
'mylp'. In the most basic form it could look like this:

# Change line termination
ux2dos $2 | lp -d$1

You could use this script (after setting the right permissions like 'chmod 755
myfile') to print to a Novell printer with the command:
mylp printername filename

This should do the job although there are many more ways to achieve the right
result.
Warren Moon
New Member

Re: remote printing

I have similar problem with a Compaq Unix server sending work orders to a HP printers using Novell 5. I would like to see the solution.

Warren