![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help to escape special characters in Korn shell script | rogers42 | UNIX for Dummies Questions & Answers | 6 | 05-14-2009 07:23 AM |
| Searching for escape characters | timcs | Shell Programming and Scripting | 8 | 05-25-2007 06:29 AM |
| escape characters.. | sharsin2001 | Shell Programming and Scripting | 9 | 11-06-2006 10:52 AM |
| number of escape characters? | Sebarry | Shell Programming and Scripting | 0 | 06-22-2006 04:23 PM |
| FormFeed BEFORE printing a job | Docboyeee | UNIX for Dummies Questions & Answers | 2 | 08-23-2002 03:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
lp FormFeed Escape characters
I'm trying to modify the /usr/lib/lp/model/netstandard file to generate a header for all the print jobs that are sent, but there is no formfeed defined so the the job prints right after the header with no page break. What is the sequence I need in order to generate a formfeed? Or, do you have another suggestion that would work better.
|
|
||||
|
what unix os are you using?
Do the following if your OS is sun solaris lpadmin -x printer_name lpadmin -p printer_name -v/dev/null -m netstandard lpadmin -p printer_name -T unknown -I any lpadmin -p printer_name -o protocol=tcp -o dest=printer_ipaddres:9100 /usr/bin/enable printer_name /usr/sbin/accept printer_name Note: printer_name will be the name of your printer while printer_ipaddress is the ip address of your printer. |
|
||||
|
Solaris 8
I have a printer defined and it is working, I'm just trying to edit the netstandard file so the header will be able to generate a formfeed. By default, it doesn't define a formfeed but it does have the code to process it. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|