Welcome to Dream.In.Code
Getting VB.NET Help is Easy!

Join 136,542 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,822 people online right now. Registration is fast and FREE... Join Now!




printing in vb.net

 
Reply to this topicStart new topic

printing in vb.net, stop the printer

thava
14 Aug, 2008 - 05:05 PM
Post #1

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
hi
i create print using report viewer control my question is
when a page is printing with one row only the remaining paper is
eject automatically, i don't want to waste the papers so i want to stop the automatic paper eject
how can i do this?
is there any other special api's are there?

This post has been edited by thava: 21 Aug, 2008 - 07:11 AM
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Printing In Vb.net
15 Aug, 2008 - 06:17 PM
Post #2

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
Are you saying that it prints out a blank page

This post has been edited by gbertoli3: 15 Aug, 2008 - 06:58 PM
User is online!Profile CardPM
+Quote Post

thava
RE: Printing In Vb.net
16 Aug, 2008 - 06:01 PM
Post #3

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
its not like that
only one name is printed
the remaining page is leave blank

hope you help me.....

This post has been edited by thava: 16 Aug, 2008 - 06:04 PM
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Printing In Vb.net
16 Aug, 2008 - 08:33 PM
Post #4

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions

What do you mean by

QUOTE(thava @ 16 Aug, 2008 - 07:01 PM) *

only one name is printed


User is online!Profile CardPM
+Quote Post

thava
RE: Printing In Vb.net
17 Aug, 2008 - 05:14 PM
Post #5

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
sorry

i explain you

for eg...
i want to print the name of customers for a particular city
i create the report successfully
the report also printed successfully with proper page eject
the problem is

it there are 101 names in a city
i print 50 names per page
and it takes 3 page

when i take another city the printer should follow the printing from the 3rrd page
is it possible?





User is offlineProfile CardPM
+Quote Post

thava
RE: Printing In Vb.net
18 Aug, 2008 - 06:04 PM
Post #6

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
ok! is that any other report tool or coding do this pls its very urgent
User is offlineProfile CardPM
+Quote Post

sired22
RE: Printing In Vb.net
18 Aug, 2008 - 06:48 PM
Post #7

New D.I.C Head
*

Joined: 9 Aug, 2008
Posts: 22



Thanked: 1 times
My Contributions
i dont think it is. i think printer are hard wired to eject any sheets when the printing task that it has gotten from the computer is finished.

The only way i can think of solving this is not sending it to the printer unless there are x number of lines. In other words if there are 101 things to print send the first 100 to be printed and hold the last 1 to append to before printing.

then again i may be wrong. I have never needed to code some thing that needed to print.

This post has been edited by sired22: 18 Aug, 2008 - 06:48 PM
User is offlineProfile CardPM
+Quote Post

thava
RE: Printing In Vb.net
21 Aug, 2008 - 07:15 AM
Post #8

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
i think you are right
but is there any coding to print like that

This post has been edited by thava: 21 Aug, 2008 - 07:15 AM
User is offlineProfile CardPM
+Quote Post

thava
RE: Printing In Vb.net
28 Aug, 2008 - 04:27 PM
Post #9

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 450



Thanked: 18 times
Dream Kudos: 50
My Contributions
sad.gif
ok
how can i delete this post
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Printing In Vb.net
28 Aug, 2008 - 04:29 PM
Post #10

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
You can't delete a post. If anyone can delete a post it would be the staff. Besides why would you want to delete this post? It could help others with the same problem.

This post has been edited by gbertoli3: 28 Aug, 2008 - 04:30 PM
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 10:35PM

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month