Sponsored Content
Top Forums Shell Programming and Scripting Page Break in a file for printing Post 302606897 by vbe on Tuesday 13th of March 2012 05:28:31 AM
Old 03-13-2012
Dont pay too much attention to my previous post - I just got to work... was stuck half an hour in a motorway tunnel on my motorcycle, my head and brains "fumed would you say?" need fresh air...
Just so you see how crazy I went on the idea: splitting the files into multiple then appending them again while adding a blanc page between...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Printing Pictures in Unix (company logo on top of page??)

I am trying to attach a company logo to the top of a laser report can anyone tell me how to attach a .jpg or .bmp file to a report?? (1 Reply)
Discussion started by: hughes0928
1 Replies

2. Shell Programming and Scripting

Page Break with AWK or SED

Hello All, I am new to unix scripting, I have an urgent issue Is it possible to do a group by on the last column and then a page break on the text file. For example I have a text file, below is the example data STRT 2154081~VA ~23606 ~TM14~8506~1485 STRT 2130893~VA ~23602 ~TM15~8602~1586... (4 Replies)
Discussion started by: udaybo
4 Replies

3. Shell Programming and Scripting

help on page break

Hi, i have a file say samp.s which has 123 a b c d 123 e f g h 123 i j k l 123 m n o p 234 a b c d 234 e f g h 234 i j k l the first 3 characters in each line are considered the key values i have one more file temp.txt which has 123 234 i want to have a page break in... (5 Replies)
Discussion started by: Sheema
5 Replies

4. Shell Programming and Scripting

Printing to a web page

I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies

5. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

6. AIX

AIX Printer Issue: Blank Page Printing.

We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages. Please let us know the cause of this issue and ways to rectify it. If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies

7. Shell Programming and Scripting

Page Break in large file

Hi, The shell script inserting the millions of rows into target flat file system and handling the line number for each line. We need a page break line after every 10,000 lines. is there any command to insert a page break line into target file. (3 Replies)
Discussion started by: koti_rama
3 Replies

8. UNIX for Dummies Questions & Answers

Insert a break page after certain string using SED

Hi: I have 2 files: teststring.txt and a tempfile.txt teststring file contains: s/Primary Ins./\n1/g I'm trying to search for "Primary Ins." string in tempfile. For every "Primary Ins." string that is found, a new line is inserted and put in number 1. Then, write out the newfile... (7 Replies)
Discussion started by: newbeee
7 Replies

9. How to Post in the The UNIX and Linux Forums

Printing a 'right arrow' on a new page at the End Of Job

Hi, I have set up an HP printer, Model P3005dn" on our server running HP-Ux 11.31. The printing is fine but I'm also getting an extra page printed with an right arrow (-->) only. I suspect that this could be the "Tab Expansion" or a "CR/LF" character. Can ayone please advise what could... (0 Replies)
Discussion started by: Koketso
0 Replies

10. Shell Programming and Scripting

Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly

Hello. First happy new year to everybody. I have a script that generate a text file ( /tmp/part_list.txt for example ). This file can be edited using a kde graphical text editor like kate or kwrite The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
MII(4)							   BSD Kernel Interfaces Manual 						    MII(4)

NAME
mii -- IEEE 802.3 Media Independent Interface network bus SYNOPSIS
acphy* at mii? phy ? # Altima AC101 10/100 PHY amhphy* at mii? phy ? # AMD 79c901 PHY (10BASE-T part) bmtphy* at mii? phy ? # Broadcom BCM5201/5202 PHYs brgphy* at mii? phy ? # Broadcom BCM5400/5401 Gig-E PHYs ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs dmphy* at mii? phy ? # Davicom DM9101 PHYs exphy* at mii? phy ? # 3Com internal PHYs gentbi* at mii? phy ? # Generic ten-bit 1000BASE-X PHYs glxtphy* at mii? phy ? # Level One LXT-1000 Gig-E PHYs gphyter* at mii? phy ? # NatSemi DP83861 Gig-E PHYs icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 PHYs ikphy* at mii? phy ? # Intel 82563 PHYs inphy* at mii? phy ? # Intel 82555 PHYs iophy* at mii? phy ? # Intel 82553 PHYs lxtphy* at mii? phy ? # Level One LXT-970 PHYs makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs nsphy* at mii? phy ? # NatSemi DP83840 PHYs nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs pnaphy* at mii? phy ? # Generic HomePNA PHYs qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs rlphy* at mii? phy ? # Realtek 8139/8201L PHYs sqphy* at mii? phy ? # Seeq 80220/80221/80223/80225 PHYs tlphy* at mii? phy ? # ThunderLAN internal PHYs tqphy* at mii? phy ? # TSC Semiconductor 78Q2120 PHYs ukphy* at mii? phy ? # Generic/unknown PHYs urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs options MIIVERBOSE DESCRIPTION
Media Independent Interface is an IEEE standard serial bus for connecting MACs (network controllers) to PHYs (physical media interfaces). The mii layer allows network device drivers to share support code for various PHY models, and allows unused support for PHYs which are not present in a system to be removed from the kernel. Network device drivers which use the mii layer carry the ``mii'' autoconfiguration attribute. This allows kernel configuration files to sim- ply specify PHYs as described above in the synopsis. The following is an example of the messages displayed when a network interface with an attached PHY is detected by the kernel: epic0 at pci0 dev 12 function 0: SMC EPIC/100 Fast Ethernet epic0: interrupting at kn20aa irq 4 epic0: SMC9432TX, Ethernet address 00:e0:29:07:17:c4 qsphy0 at epic0 phy 3: QS6612 10/100 media interface, rev. 1 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto All PHY drivers display the media types supported by the PHY when it is detected by the kernel. These media types are valid media keywords for use with the ifconfig(8) program. SEE ALSO
acphy(4), amhphy(4), bmtphy(4), brgphy(4), ciphy(4), dmphy(4), exphy(4), gentbi(4), glxtphy(4), gphyter(4), icsphy(4), ifmedia(4), ikphy(4), inphy(4), iophy(4), lxtphy(4), makphy(4), nsphy(4), nsphyter(4), pnaphy(4), qsphy(4), rgephy(4), rlphy(4), sqphy(4), tlphy(4), tqphy(4), ukphy(4), urlphy(4), ifconfig(8) The OUI assignments list can be found at: http://standards.ieee.org/regauth/oui/index.shtml BSD
October 13, 2006 BSD
All times are GMT -4. The time now is 08:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy