Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORM FEED 1

Status
Not open for further replies.

butchELLS

IS-IT--Management
Jul 13, 2004
23
US
does any one know how to eliminate a form feed?

i am printing from unix (sco 5.0.6) to a remote printer (okidata 320) using facetwin. it prints fine but i get a form feed at the end of print. this is not a problem except when i need to print labels of less than 1 page length. i have tried using the "sf" flag in printcap but it continues to form. how do i suppress the form feed?

./butch test gives
total 4
drwxrwxrwx 2 main group 512 Oct 3 09:21 export
drwxrwxrwx 2 main group 512 Oct 3 09:21 import

and then forms to a new page.

butch = lp -c -s -o RAW -dfct_butch $1

fct_butch being the name of the printer.

is the placement of the "sf" flag in printcap critical?
any help would be appreciated.
thank you

 
It's been years since I've played with FacetWin and their slave printer routine. Do you have a printer interface file for this printer in /usr/spool/lp/admins/lp/interfaces? If so, look for the trailing FormFeed there. It could be a statement such as:
echo "\014"
I don't think the location of the :sf: flag in /etc/printcap is important, but there's no guarantee the receiving print server will honor every flag. You might also add :sh: to Suppress Header.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top