Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 165901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:00:13+00:00 2026-05-11T12:00:13+00:00

Here is the problem: One sheet contains 10 labels. I want to print many

  • 0

Here is the problem:

One sheet contains 10 labels. I want to print many labels, but from an arbitrary starting index. Now, I want to find how many sheets would be required to print the labels that the user desires. For example, let’s say I took starting index 52 and I want to print 23 labels. Then how do I find the number of sheets required? Does anyone have a formula to count this?

edit Hello guys, thanks for the answers the problem is solved now. thank u very much all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:00:14+00:00Added an answer on May 11, 2026 at 12:00 pm

    I guess you mean that you have a predetermined page layout, i.e. if you want to print labels 42 to 67, you have to print the pages with the labels 40-49, 50-59, and 60-69.

    All you need to do is find the sheet index of the starting page and the sheet index of the ending page, subtract them, and add 1. The sheet index of label n is floor(n/10) (or just n/10 with integer division). So, if your starting label is n, and you want to print x labels, the number of sheets you need is:

    floor((n+x)/10) - floor(n/10) + 1 

    This all assumes zero-based indices, for sanity (that means that the first label has index 0). If your label numbers are one-based, i.e. the first label has the index 1, then you need to subtract one from n first, so the formula becomes:

    floor((n-1+x)/10) - floor((n-1)/10) + 1 

    This should be easy to understand.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have similar problem to one discussed here , but with stronger practical usage.
so here's the problem I have one form, it outputs search results after submit,
here is the problem. I have one PC using VS2008 (SP1 ) and another
Here's my problem: I have an unmanaged dll that I made.I'm calling one of
Here is my problem. If I use only one Windows Forms project and call
Here i got a problem in my script, Once we set one radio button
I'm having this problem when I tried to extract information from excel files. Here's
I am trying to create a link from a cell on one sheet to
I'm using code I found for a jquery style sheet switcher. From here: http://www.cssnewbie.com/simple-jquery-stylesheet-switcher/
Following on from a previous question, ( previous question here ), the problem I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.