473,385 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to print a DataReport in a desired size ?????

i want to print a datareport in 8" by 6" size.

so how can i proceed?

TIA

regards
vishwas
Sep 18 '07 #1
3 1829
hariharanmca
1,977 1GB
i want to print a datareport in 8" by 6" size.
so how can i proceed?
Actually the reports are in A4, A5, landscape, etc.

You have to design your own text format report for 8" by 6" size.
Sep 18 '07 #2
Actually the reports are in A4, A5, landscape, etc.

You have to design your own text format report for 8" by 6" size.
how it can be done and how should i ensure that it is in 8" by 6" size
Sep 18 '07 #3
hariharanmca
1,977 1GB
how it can be done and how should i ensure that it is in 8" by 6" size
Expand|Select|Wrap|Line Numbers
  1.     Open LPT1 For Output As #1
  2.         Print #1, "printLine1 Here"
  3.         Print #1, "printLine2 Here"
  4.         Print #1, "printLine3 Here"
  5.         Print #1, "printLine......... etc Here"
  6.         Print #1, vbCrLf ' for line feed
  7.     Close #1
that you have to test with 8 by 6 paper for alignment.
Sep 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Devin Dow | last post by:
Print Preview looks perfect, but the Printout is cut off (extends off the page). Has anyone else experienced this? A3 paper size seems to exacerbate the problem. I can't believe it because...
2
by: prophet | last post by:
how do I create a print button that is on my index page that prints my target page (and only the target page) I tried <INPUT onclick=window.print(); type=button value="Print This Page"...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
2
by: vishwaskothari | last post by:
when i click on the print button present on the datareport there comes the runtime error. i have checked the printer it is properly installed and working with the other softwares(like MS Word)...
1
by: charvi | last post by:
Hi when i generate a reporte of 8 fields in a horizontal way in datareport it give error saying report width greater than paper size.is there any method to set report width to the size of...
1
by: muddasirmunir | last post by:
i am using vb6 i am facing one problem is datareport that in my computer i had instaled a panasonic printer and the data report show fine but when i take my project to my office computer...
2
by: obkfixx | last post by:
help! how do u print a datareport without showing the datareport??? u print it automatically..... but the format n ur data report will be printed except that u dont show it.
1
by: MaryKJolly | last post by:
I got this sample project from a website. But there is some syntax error in the statement which contains the CDate function. I can't detect the error? Can enybody help me? SUMMARY This article...
0
by: premMS143 | last post by:
I'm using DataReport in VB6.0 to get printouts. But its not showing the option which page type/size the user wants. How to generate report for user specific page size, say A4, Letter, Legal etc.....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.