473,748 Members | 4,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printing Objects

Hi,

I want to develop a 'truly' object oriented application, that is, my
business logic objects handle the business logic (of course) and the
persistence to a MS SQL server database. The user interface only deals with
objects (sometimes using reflection to make them 'editable'). I want to know
if anybody has a good suggestion how to print my (collections of) objects. I
dont want to use a tool like crystal reports, because it accesses the
database directly, instead of 'communicating' with the business objects. I
don't know if there are any (commercial) tools available which deal with
printing objects. Anyone?

kind regards,
Christiaan
Nov 15 '05 #1
3 2194
Hi,

You can use CR with a XML file representing the data, you can generate a
XML from the collection and make CR use it as its datasource.

Anyway I think that the printing is a complex operation by itself and you
should use especialized tool for it. CR is a VERY good one for this. !

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Chrisitiaa n" <no**@none.nl > wrote in message
news:u5******** *****@TK2MSFTNG P12.phx.gbl...
Hi,

I want to develop a 'truly' object oriented application, that is, my
business logic objects handle the business logic (of course) and the
persistence to a MS SQL server database. The user interface only deals with objects (sometimes using reflection to make them 'editable'). I want to know if anybody has a good suggestion how to print my (collections of) objects. I dont want to use a tool like crystal reports, because it accesses the
database directly, instead of 'communicating' with the business objects. I don't know if there are any (commercial) tools available which deal with
printing objects. Anyone?

kind regards,
Christiaan

Nov 15 '05 #2
thnx,
I know, I am looking for a specialized tool;) I Just want to know whether
there is a Object-Oriented tool, one which can handle objects instead of
datasources.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us >
schreef in bericht news:On******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

You can use CR with a XML file representing the data, you can generate a
XML from the collection and make CR use it as its datasource.

Anyway I think that the printing is a complex operation by itself and you
should use especialized tool for it. CR is a VERY good one for this. !

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Chrisitiaa n" <no**@none.nl > wrote in message
news:u5******** *****@TK2MSFTNG P12.phx.gbl...
Hi,

I want to develop a 'truly' object oriented application, that is, my
business logic objects handle the business logic (of course) and the
persistence to a MS SQL server database. The user interface only deals with
objects (sometimes using reflection to make them 'editable'). I want to

know
if anybody has a good suggestion how to print my (collections of)

objects. I
dont want to use a tool like crystal reports, because it accesses the
database directly, instead of 'communicating' with the business
objects. I
don't know if there are any (commercial) tools available which deal with
printing objects. Anyone?

kind regards,
Christiaan


Nov 15 '05 #3
I use Active Reports which very similar to Crystal Reports. I do not know
of a printing/reporting object that handles objects as a datasource. I
think it would be difficult to create a printing object that will take any
object. There would have to be some rules for the objects for a developer
to follow. I suggest that you use Crystal, Active Reports or some other
third party tool. I would create my business objects to be persisted to XML
and create the report from there.

Good Luck

"Chrisitiaa n" <no**@none.nl > wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl...
thnx,
I know, I am looking for a specialized tool;) I Just want to know whether
there is a Object-Oriented tool, one which can handle objects instead of
datasources.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us >
schreef in bericht news:On******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

You can use CR with a XML file representing the data, you can generate a XML from the collection and make CR use it as its datasource.

Anyway I think that the printing is a complex operation by itself and you should use especialized tool for it. CR is a VERY good one for this. !

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Chrisitiaa n" <no**@none.nl > wrote in message
news:u5******** *****@TK2MSFTNG P12.phx.gbl...
Hi,

I want to develop a 'truly' object oriented application, that is, my
business logic objects handle the business logic (of course) and the
persistence to a MS SQL server database. The user interface only deals

with
objects (sometimes using reflection to make them 'editable'). I want to
know
if anybody has a good suggestion how to print my (collections of)

objects.
I
dont want to use a tool like crystal reports, because it accesses the
database directly, instead of 'communicating' with the business

objects.
I
don't know if there are any (commercial) tools available which deal

with printing objects. Anyone?

kind regards,
Christiaan



Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1450
by: Paul Rubin | last post by:
How about adding a string interpolation method and a some print methods to strings. 'hello world'.print() => same as "print 'hello world'". With optional fd arg, print to file object 'hello world'.write() => same as "sys.stdout.write('hello world')" i.e. print with no trailing newline 'hello $name'.interp() => like "'hello %s'%name" 'hello $name'.fprint() => like ('hello %s'%name).print() 'hello $name'.fwrite() => like ('hello...
3
4776
by: Fabio Pliger | last post by:
Hi! I'm using wxPython to handle my application gui.. So, I have a notebook widget and i have to print the object inside it's tab ... Maybe doing a preview before printing... I know that wx has many objects to handle printing.. i've tryied to use them, but i wasn't able to... Any hint? By now, i solved the problem saving a screenshot if the screen in an image(bmp) and then sending it to printer... (a print preview would be cool...) tnx...
1
2694
by: Frank.Sebesta | last post by:
I have a employees database with a picture that shows on a form with employee information. Similar to the Northwinds sample database. When I print the record, my output is only the data and does not include the picture. My pictures reside on my C drive. How can I get the picture to print with the record or I would be happy to just print the picture seperately?
5
10148
by: Patrick De Ridder | last post by:
How can I turn what I want to print 90 degrees using the logic below? Please tell me the code with which to make the modification. Many thanks, Patrick. using System.ComponentModel; using System.Drawing; using System.Drawing.Printing; using System.IO;
6
3244
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument (much like the current model), but my PrintDocument would have a Pages collection such that each time you need to have an additional page, you would just add another page to the collection and then use the page object for the actual drawing etc. ...
4
1950
by: Prakash | last post by:
I'm developing an HR package which would contain the Employees Photo + upto 3 pages (pictures) of his Passport + pictures of his Driving License and Residence Card. If the user wants to print the Passport Copies, Driving License, Residence Card, etc. what is the best method to accomplish this ? Best Rgds, Prakash.
8
5909
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web clients (Internet Explorer). My flash content was originally brought in via the “flash satay” method, but I have since used some server-side magic do deliver one <objecttag
0
2248
by: nikhilgargi | last post by:
Requirement: I need to provide printing capability in a C# desktop application that I am developing The documents that need to be printed can be in Rich Text Format (RTF) or HTML. Custom application specific headers are to be added in the print out. Problem: The System.Drawing.Printing namespace .Net provides objects and dialogs to take care of basic print tasks. But there is no native support of printing RTF and HTML formats. One would...
7
2567
by: Iain Wilson | last post by:
I am pulling my hair out trying to print various objects from a .net web page My apologies for cross posting but I need an answer and my previous post has attracted no interest. ASP.Net 2.0 using C# This is a simple web page on our intranet (written as a test) and all I am trying to do is print a document to a named printer. If I use a StreamReader then I get an output to the printer. This
0
8987
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9534
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9316
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8239
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2777
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.