Function of print


Python print() Function

❮ Built-in Functions


Example

Print a message onto the screen:

 print("Hello World")

Try it Yourself »


Definition and Usage

The print() function prints the specified message to the screen, or other standard output device.

The message can be a string, or any other object, the object will be converted into a string before written to the screen.


Syntax

print(object(s), sep=separator, end=end, file=file, flush=flush)

Parameter Values

Parameter Description
object(s) Any object, and as many as you like. Will be converted to string before printed
sep='separator' Optional. Specify how to separate the objects, if there is more than one. Default is ' '
end='end' Optional. Specify what to print at the end. Default is '\n' (line feed)
file Optional. An object with a write method. Default is sys.stdout
flush Optional. A Boolean, specifying if the output is flushed (True) or buffered (False). Default is False

More Examples

Example

Print more than one object:

print("Hello", "how are you?")

Try it Yourself »

Example

Print a tuple:

x = ("apple", "banana", "cherry")
print(x)

Try it Yourself »

Example

Print two messages, and specify the separator:

print("Hello", "how are you?", sep="---")

Try it Yourself »

❮ Built-in Functions


COLOR PICKER



Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3. CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial

Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference

Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples


FORUM | ABOUT

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2022 by Refsnes Data. All Rights Reserved.
W3Schools is Powered by W3.CSS.

Print Awareness During Read Alouds

By: Reading Rockets

How can you help kids develop print awareness? Here are some sample questions and prompts you can use before, during, and after a read aloud activity to help children activate basic knowledge about print and books.

Prior to reading any story aloud

  • Introduce the story by stating the title, then the author's name and asking students, "What does an author do?" (Students should respond, "Writes the story.").
  • State the illustrator's name and ask, "What does an illustrator do?" (Students should respond, "Draws the pictures.").
  • Hold up the book and say, "This is the front of the book, (turn it sideways and state) and this is the spine." Turn the book to the back cover and state, "This is the back of the book." Then ask, "Do we begin reading from the front or the back of the book?" (Students should respond, "From the front. ").
  • "Let's look at the picture on the front."
  • Hold up the book with the front cover facing the students. Ask: "What do you think will happen in this story? Remember, I want you to answer using complete sentences."

Before the reading

  • Select vocabulary words from the story that you need to discuss prior to reading the story. Write them on sentence strips or on the board. Discuss the words with students.
  • Please note the use of open-ended questions that will require the students to give responses that extend beyond Yes/No answers. Remember to use open-ended questions as you read the story and in your discussion after the reading.
  • Encourage students to draw upon what they know about the words from their personal lives. For example, if the word is the verb fish, perhaps some of the children have gone on fishing trips with their parents. Encourage a brief telling of personal stories. Their personal stories allow students to make connections with the text.

During the reading

  • Briefly discuss the pictures on each page after reading that page.
  • Encourage students to guess/predict what will happen next.

After the reading

  • Ask students to tell you if they liked the story and why. Encourage responses in complete sentences. "I liked it when the little girl rescued her friends because it showed that girls can be heroes."

Reading Rockets (2004)

Reprints

You are welcome to print copies or republish materials for non-commercial use as long as credit is given to Reading Rockets and the author(s). For commercial use, please contact [email protected]

Related Topics

Early Literacy Development

Parent Engagement

Print Awareness

Reading Aloud

New and Popular

100 Children’s Authors and Illustrators Everyone Should Know

A New Model for Teaching High-Frequency Words

7 Great Ways to Encourage Your Child's Writing

All Kinds of Readers: A Guide to Creating Inclusive Literacy Celebrations for Kids with Learning and Attention Issues

Screening, Diagnosing, and Progress Monitoring for Fluency: The Details

Phonemic Activities for the Preschool or Elementary Classroom

Our Literacy Blogs

Shared Reading in the Structured Literacy Era

Kids and educational media

Meet Ali Kamanda and Jorge Redmond, authors of Black Boy, Black Boy: Celebrating the Power of You

Get Widget |

 Subscribe

Printer features

Multiple pages per side

Multiple pages can be printed on one sheet of paper. In this case, the pages are reduced and arranged in the specified order. Up to 16 pages can be printed on one side of a sheet.

Poster

This feature allows you to print one document on 4 (Poster 2x2), 9 (Poster 3x3), or 16 (Poster 4x4) sheets of paper. The sheets can then be glued together to form a poster-size document.

Select Overlap Poster Parts. Specify the Poster Parts Overlap in millimeters using the radio button in the upper right corner of the Basic tab to make it easier to glue the sheets.

Brochure

This feature allows you to print documents on both sides of paper and arrange the pages so that the paper can be folded in half to create a booklet.

Manual Duplex Printing

You can print on both sides of a sheet of paper. Set the document orientation before printing.

  • No: the function is disabled.

  • Long Edge: most commonly used for book binding.

  • Short Edge: most commonly used for calendars.

Paper Options

Change the size of the printed document in both directions, specifying the new size as a percentage of the original.

Watermark

Watermarks are printed as text over the body text of the document. For example, you can print the text DRAFT or CONFIDENTIAL in large gray diagonal letters on the first or all pages of a document.

Watermark

( Creating a watermark )

  1. To change the print settings from an application, open the Printing Preferences window.

  2. On the Advanced tab, select Edit from the Watermark drop-down list. The Edit Watermarks dialog box opens.

  3. Enter text in the Watermark Text field.

    A maximum of 256 characters can be entered. The text will appear in the preview window.

Watermark

( Watermark change )

  1. To change the print settings from an application, open the Printing Preferences window.

  2. On the Advanced tab, select Edit from the Watermark drop-down list. The Edit Watermarks dialog box opens.

  3. Select the desired watermark from the Current Watermarks list and change its text and settings.

  4. Click the Update button to save your changes.

  5. Press the OK or Print buttons to exit the Print window.

Watermark

( Watermark Removal )

  1. To change the print settings from an application, open the Printing Preferences window.

  2. On the Advanced tab, select Edit from the Watermark drop-down list. The Edit Watermarks dialog box opens.

  3. In the Current Watermarks list, select a watermark and click the Delete button.

  4. Press the OK or Print buttons to exit the Print window.

overlay

This feature is only available when using the PCL/SPL printer driver. This option is not available when using the XPS driver.

An overlay is text or an image that is stored on a computer's hard drive as a special file format. Overlays can be printed on any document. Overlays are often used in place of pre-made forms and letterheads. Instead of preprinted forms, you can create an overlay that contains exactly the same information as letterhead. To print a letter on company letterhead, you do not need to load letterhead into the device. Just print the overlay document.

To use an overlay containing a logo or image, you must create one.

overlay

( Create an overlay )

  1. To save a document as an overlay, open Printing Preferences

  2. On the Advanced tab, select Edit from the Text drop-down list. The Edit Overlay window opens.

  3. In the Edit Overlay window, click New.

  4. In the Save As window, enter a name in the Job Name field. If necessary, specify the path to the file (the default path is C:\Formover).

  5. Click the Save button. The new name will appear in the Overlay List box.

  6. Press the OK or Print buttons to exit the Print window.

    The file is not being printed. Instead, it is stored on the computer's hard drive.

overlay

( Using overlay )

  1. Click the Advanced tab.

  2. Select an overlay from the Text drop-down list.

  3. If the required overlay file is not in the Text list, select Edit... and then select Load. Select the desired overlay file.

    If the overlay file is stored externally, it can also be loaded using the Open dialog box.

    After selecting the file, click the Open button. The file will appear in the Overlay List. After that, it can be used for printing. Select an overlay from the Overlay List list.

  4. Optionally, select the Confirm Print Overlay check box. If the checkbox is checked, when the document is printed, a confirmation message will appear asking if you want to use the overlay.

    If this check box is not selected and an overlay is selected, this overlay will automatically print with the document.

  5. Press the OK or Print buttons to exit the Print window.

overlay

( Overlay removal )

  1. In the Printing Preferences window, click the Advanced tab.

  2. Select Edit from the Text list.

  3. Select an overlay from the Overlay list.

  4. Click the Delete button.

  5. In the delete prompt, click Yes.

  6. Press the OK or Print buttons to exit the Print window. An overlay that is no longer in use can be deleted.

Print functions

Print functions

Feature Sets: Set 1

• • • 9000 • 9000 • 9000 • 9000 • 9000 • 9000 • (Toner Save)

You can save toner using this function. If the Toner Save Mode check box is selected, the print becomes fainter. Default setting: Off

Note

Media Type

The following types of media can be used with the machine. For optimal print quality, select the type of media you want to use.

Plain paper

Thin paper

Thick paper

Extra thick paper

Bond paper

Transparencies

Env. thick

Conv. thin

Recycled paper

Job Spooling

Only those who know the password can print secure documents. Since these documents are protected in the machine, you must enter a password using the machine's control panel. For a protected document, you must set a Password and a Job Name.

Password

Select the password for the secure document being sent to the machine from the drop-down box.

Job Name

Select the job name for the secure document to be sent to the machine from the drop-down box.

Resolution

Resolution can be set to one of the following:

600 t/d

300 t/d

HQ 1200

9000 9000 9000

We do not recommend using the Toner Save mode for printing photos or grayscale images.

Feature Sets: Set 2

*

The default is "On".

High Quality Image Printing

You can increase the print quality of images. If the High Quality Image Printing check box is selected, the print speed may be slower.

Reduce Paper Curl

Checking this box can reduce paper curl.

If only a few pages are printed, you do not need to select this setting. In the printer driver, change the MediaType setting to thin media.

Improve Toner Fixing

Checking this box can improve toner fixing on paper.


Learn more


Wave

North Coast Community Services
710 Fraser Street, Prince Rupert, BC V8J 1P9
Ph: 250.627.7166 | Fx: 250.627.7482

© All Rights Reserved | powered by ExpressionEngine