Somepages
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts
Page 1 of 1
Hello,
can someone help me
with our print range?
it seems we can't use the frompage and topage
to print the pages we want
search on the net for hours found some examples
but its not working....
anyone?
Thank you
can someone help me
with our print range?
it seems we can't use the frompage and topage
to print the pages we want
search on the net for hours found some examples
but its not working....
anyone?
Code: Select all
even we added on the beginprint
PrintDocument1.PrinterSettings.FromPage = 2
PrintDocument1.PrinterSettings.ToPage = 2
PrintDocument1PrinterSettings.PrintRange = PrintRange.SomePages
Code: Select all
please...If (CType((sender), System.Drawing.Printing.PrintDocument)).PrinterSettings.FromPage = 0 AndAlso (CType((sender), System.Drawing.Printing.PrintDocument)).PrinterSettings.ToPage = 0 Then
PrintDocument1.PrinterSettings.FromPage = Integer.Parse(pageNum)
PrintDocument1.PrinterSettings.ToPage = Integer.Parse(totalPages)
PrintDocument1.PrinterSettings.PrintRange = System.Drawing.Printing.PrintRange.SomePages
End If
Thank you
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
nobody ?
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Sorry Dummy1912 I don't have much experience using printer controls, never had the need for them myself lol
Try adding this to your code before or after you set topage/frompage
Try adding this to your code before or after you set topage/frompage
Code: Select all
ORPrintDocument1.AllowSomePages = True
Code: Select all
PrintDocument1.AllowSelection = True
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Hi,
Thanks for the tryout but didn't work :(
Thanks for the tryout but didn't work :(
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
4 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023