473,612 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

formfeed \f, vertical tab \v usage

Hi,
Can i know how formfeed exactly works,
also vertical tab, i have used vertical tab with printf() as shown
below:

printf("This is the \v line");

the output:
This is the ♂ line

greenhorn.

Nov 14 '05 #1
4 18348
Greenhorn <te************ @yahoo.com> wrote:
Can i know how formfeed exactly works,
also vertical tab, i have used vertical tab with printf() as shown
below: printf("This is the \v line"); the output:
This is the ??? line


Looks as if your terminal (or wherever the output goes to) doesn't
understand the special character created by '\v'. I get

This is the
line

Or are you perhaps sending the output to a file and then use a viewer
that does not interpret the '\v' character as a vertical tab?

Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@p hysik.fu-berlin.de
\______________ ____________ http://www.toerring.de
Nov 14 '05 #2
i am not sending it to a file, its going to the terminal, seems its not
recognizing, even the formfeed.

greenhorn.

Nov 14 '05 #3
On 5 Mar 2005 06:46:52 -0800, in comp.lang.c , "Greenhorn"
<te************ @yahoo.com> wrote:
i am not sending it to a file, its going to the terminal, seems its not
recognizing, even the formfeed.


Its worth considering what "formfeed" means - think paper forms.

In any events, the way that escape sequences are interpreted is dependent
on your output device hardware. Some hardware can't do some things (how to
backspace on a teletype? how to go up one line on a single-line display?
how to formfeed a VDU? ).

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt >
Nov 14 '05 #4
On Sat, 05 Mar 2005 17:45:49 +0000,
Mark McIntyre <ma**********@s pamcop.net> wrote:

On 5 Mar 2005 06:46:52 -0800, in comp.lang.c , "Greenhorn"
<te*********** *@yahoo.com> wrote:
i am not sending it to a file, its going to the terminal, seems its not
recognizing , even the formfeed.


Its worth considering what "formfeed" means - think paper forms.

In the old times there were printer where you could define vertical
tab positions, for example on line 20 and line 50. The vertical tab
character would then cause the printer to move to the next vertical
tab position, which could be line number 50 if the current line is
greater than 20. With todays printers you can use the escape
character followed by some magic other characters to cause the same
action.
Villy
Nov 14 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2216
by: PW | last post by:
I'm creating an ASP to print labels for a client. How do you send a formfeed to the printer ?
8
30896
by: abracad | last post by:
Hi Is it possible to vertically align an image in the middle of a DIV of fixed height?
1
7892
by: Kenneth | last post by:
Okay, I've been scouring Google for hours looking for a solution to this problem, but as of yet I can't find one. XHTML Transitional seems to specify that I can no longer set a table's height to 100% and vertically center content inside of it. Therefore, I'm seeking a way, preferably in CSS to vertically center a site. Here's more of a visual to what I have: /********************************
8
20844
by: Chun-Chieh Wang | last post by:
how does the '\f' affect output? in what situation will I use '\f' ? -- ¶À¤l¹Å½×¼Æ¾Ç®a: ¡u¼Æ¾Ç®a¤@¥Í¥u·d¨â¼ËªF¦è¡G¤£¬O·d¼Æ¾Ç´N¬O·d¤k¤H¡C ¦ý¬O§Ú¤£¬O¼Æ¾Ç®a¡K¡v
1
2599
by: Dave Cullen | last post by:
How do I force a new page when printing with PrintDocument? I put a vbFormFeed in there after my footer and it gets ignored. Thanks Dave
3
4413
by: acunnon | last post by:
I am trying to put together an login page my problem is getting the three items aligned to the middle verticaly without specifing a height to anything on the page. CSS html{ height:100%; min-height:100%; } body{ vertical-align:middle;
8
3524
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag: body { font-family: Trebuchet MS, Arial; cursor : default; background:#000000 url("Images/long-template.jpg"); background-repeat:no-repeat; background-position: center; background-attachment:scroll; height: 1228px;
13
1662
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't figure how to have IE7 work. Why? How can I have it work in all 3 browsers? http://nrap.selfip.com
40
5472
by: maya | last post by:
hi, how do I get text to vertical-align inside a div? http://www.mayacove.com/misc/home.html vertical-align should work, according to this: http://htmlhelp.com/reference/css/text/vertical-align.html
0
8171
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8615
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8568
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6081
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2554
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.