Solved

How to print on continuous paper?

Posted on 1998-10-21
14
293 Views
Last Modified: 2010-04-30
How to print on continuous paper? Or to make it stop at the next page in the position I want.
0
Comment
Question by:anik
  • 5
  • 4
  • 3
  • +1
14 Comments
 
LVL 1

Expert Comment

by:zivf
ID: 1440913
You should have given this question 1 point, because 5 are too much for a simple answer like this.
0
 

Author Comment

by:anik
ID: 1440914
OK I increased it.
0
 
LVL 2

Expert Comment

by:gikam
ID: 1440915
do u want to print graphics or draft text?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 1

Expert Comment

by:zivf
ID: 1440916
I think you are the most generous person I ever met!
to remind you EASY question is considered in EE to be given 50 points, and what you say is that you barely want attention to your problem, this is what you'll get.
0
 

Author Comment

by:anik
ID: 1440917
I want to print only text.
0
 

Author Comment

by:anik
ID: 1440918
Anyway about the point. I'm new in VB so I don't know if this question was easy or hard. I thought that for the expert maybe this question will be just a little effort. I'm also willing to increase the point if you could give me a good answer. By the way, zivf, can you answer this question? If you REALLY can, how do you want the point to be? I could increase it if you could also give me the sample source code.

Thank you in advance.
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 30 total points
ID: 1440919
Set you page length in the Printer Properties page to the length of the paper you're using.

M

0
 

Author Comment

by:anik
ID: 1440920
Is that mean I have to change property every time I'm printing? Is there anyway to set it in my program.
0
 
LVL 2

Expert Comment

by:gikam
ID: 1440921
I would answer u, but u must reject the current answer.
If u want to print draft text just open the PRN port as a file:
open "PRN" for output as #1 (or so)
then all u have to do is:
PRINT #1,"My string"
as much as u want
if u want to do a form feed just do:
PRINT #1, chr$(12)
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1440922
You sould set the property in under Start/Settings/Printers. Once you've loaded the printer with continuous feed paper it will remain loaded no matter what program you run. Thus you set it at the control panel level instead of inside the program. Once set it should remain set. If you change papers, change the setting so the system stays in step with how you're actually using the printer.

M

0
 
LVL 2

Expert Comment

by:gikam
ID: 1440923
mark,
and what if I want to change the paper's length to 10 meters?
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1440924
I don't know if the range on the paper size will go that high, but there's no logical reason why it won't work. Only problem is you're going to get 10M of paper feed every time to issue a page command!

It's your office! (grin) You can make as much confetti as you want.

M

0
 
LVL 2

Expert Comment

by:gikam
ID: 1440925
the printer settings are limited
0
 

Author Comment

by:anik
ID: 1440926
gikam I open another question. I wonder if your method will fit.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question