In a case like this it would be nice if you showed us the output. This is another way of saying it does not work..
--
I think this is a bug in awk on AIX due to an "optimization" that we have witnessed before (which may be due to a compiler setting?).
If you assign a field its own value then awk does not seem to be doing anything, while it ought to recalculate the record ($0) using OFS.
Try:
or use gawk if available:
This should then work too:
Last edited by Scrutinizer; 04-29-2012 at 04:43 AM..
Hey,
When printing from UNIX all the dataafter the end of the page is not printed!!
How can I use lp so that instead of just printing to the end of the page, it stops at the end of the page and then prints on the next line???
Thanx (4 Replies)
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Iv'e been having a problem with printing that driving me CRAZY! I am trying to print a large file about 200-300 pgs, but the print job reaches a certain point then stops, the job does'nt finish.
Anyone have any suggestions? (2 Replies)
Hi All
As UNIX newbie, (I know Open VMS very well) I have the following question:
If I use the lpr command for printing, I normally specify the printer name an the file I want to print. So far so good. Once this is done I can than check with the lpstat command the status of my printjob, but... (2 Replies)
Greetings. Got a problem I'm working on, not that familiar with UNIX to be honest. We're having some issues printing from a UNIX Server, hoping someone can help. Here's the situation:
We have remote offices that use Microsoft Windows Remote Desktop Client to connect to a Windows 2003 Terminal... (5 Replies)
Hi,
This issue is killing me. I'm looking to get advise on setting up a remote printer in unix "HP-UX" which will print to a printer which sits remotely connected to a windows 2000 server.
I guess I'm looking for an idiots guide - any assistance you may offer will be gratefully received.
... (2 Replies)
Hi,
I need to print PDF from Unix command line on couple of printers like Lexmark T644PS, HP LJ4100DTN connected to Windows Print Server. I need options of mentioning the printer name and choosing tray number for printing.
I was successfull in FTPing PDF files to printer but i could not find... (2 Replies)
Hi,
The code is generating a file of 180 lines, I can check that with vi, but when I am executing the following command for duplex printing , it is printing 4 pages which include 2 blank pages 2 & 4 (page no).
$ lp -d printer -0 'land,double,lpi=8,length=90' filename
It is expected to print... (1 Reply)
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Hi,
I would like to know the command to print a document with portait option.
Note : I used the below command, however I am not getting any output and it is blocking the printer queue.
lp -d Dubprint -o portrait Adhoc_stmt
Also, how can I see the default printer settings and how to... (1 Reply)