Get started 

Customize  

Roboprint   

Reasons that printing may be other than intended 

Hints about Profesional Design.   

Home Page  

Contact us

 
How to work with Roboprint

   

Get started  

 

  1. Select the right button while the cursor is on the Tools window. In this way, you will reach the Components window.  In the Components window,select Browse, search for the directory in which the Roboprint evaluation is found or go to the Windows\system if the work is a registered copy. 
  2. Select the OCX File of Roboprint, and it will appear on the Components list. 
  3.  Select OK and return to Edit environment. 
  4. Tools window.  Drag it to your form. The   Preview and Print options are now surrounded by a red frame. 
  5. Select F5 in order to carry out your command. Now select the PREVIEW button of Roboprint. 
  6. In the center of the form, a small window will appear which points to the page number which has just been created. 
  7. Following it, the Prewiew window will appear and within it you will be able to see a display of how your form will appear.  Select the Print button and the contents of your form will be sent to your printer. 
  8. If you choose to use your buttons, you must determine the value of Roboprint Visible to False and add a line of code in your button e.g.: 

Private Sub PreviewButton_Click()   
Roboprint1.Preview   
End Sub 

Private Sub PrintButton_Click()   
Roboprint1.LVPrint   
End Sub   
    

 Top

Monochrome Always   
Color  
Page Numbers  
Titles  
RepeatHeader  
Margins  

In a large proportion of instances, the user will be satisfied with the results and will have to decide, at this point, on determining values of a number of aspects of Roboprint:   

GridToFit Property 
 
When the Grid is too large Roboprint adapt the print of the columns in two ways: 
Split: When Roboprint finish to print all the columns that fit in to the page, and continue with the remainders till all the columns are printed. 
Shrink: Zooming out the grid to fit in to the page. 
 

Monochrome Always    
This will cause the PREVIEW to be black and white even when Roboprint.Color Property = V_Color.  This is recommended for documents consisting of many pages.  A single-color document will require much less working memory and the work will be carried out more quickly.  

Color  
V_Monochrome will cause background colors to be printed white.  Lines, forms and text will be black.   

Page Numbers  
Prints the page number at the bottom of the page.   

Titles   
FootTitle – TopTitle – this is for headers and footers.  In order to compose a title of more than one line, you must add the code  
line:FirstLineString & Chr$(10) & SecondLineString etc.   
TopFootAlign can be: 0-Left, 1-Right, or 2-Center  

RepeatHeader   
This allows printing titles or lists of tables on every page.   

Margins   
TopMargin, LeftMargin, FootMargin and RightMargin. Thevalues represent centimeters (approximate).    

 Top

Customize Roboprint

Reasons that printing may be other than intended 

Tables   
When Controls appears beside the table, they will be printed under the   table.  
Solution:  Determine the value of SideBySide property to True . 
Shortcomings of the solution:  
If there are unseen columns in the table, the table will be printed on the left side in order to allow all of the columns to be printed.  In this case, controls may be printed on the table.  If the table has many lines and the printing is extended to an additional page or pages, be certain that beside it Control will be printed, but only on the final page on which the table will appear. In order to prevent this, the Control must be placed so that its Top Property will be smaller than that of the table.   

Not all of the columns can fit on the page   
If you must scroll to the right in order to see all of the columns which you typed in the table, the table will be wider than the space that it occupies on the screen.   
Solution:  Set the Orientation Property to Landscape, or set the GridToFit to 2- Shrink If an additional small amount of space is required , otherwise set GridToFit to 1- Split(default) or 3-SplitNewPage.

RichText background appear black.

Solution:
Set the BackColor  and any color in RichText that is a System Color to a Standard color. Roboprint "see" the System Color in Richtext as though it's black.

Containers   
If you are working on Container with Scroll Bars, you can assure its location at 0,0 in BeforePrint_Event and it can be returned to its place by AfterPrint_Event.  

Size of Printed Objects Related to the Screen   
The width of regular A4 paper is 12,000 dots.  If the definition which you have chosen for your computer screen is 800 x 600 for small fonts, there will be proper coordination between the size of the objects as you see them and their size on the printed paper.  However, if you chose the definition of large fonts, for example, the printed size will be 25% smaller because in this case Screen.Width=9000.  
If you want complete coordination, you must select the Roboprint.Zoom Property for 125.  If you want to be certain that the size which you see on the screen will remain constant for every definition of the user, you must add Ocx  AdaptoScreen Control (Robosize) which is found in our Download page    
This will insure proper coordination between the size of the form and the objects of different definitions and will transmit the information to Roboprint in order to correct for differences.   

Placement of the Document on Paper   
You can determine the size of margins through Properties of Roboprint; however, you may wish to move the printing left or right without changing the nonprinted (margins)part of the paper.  This is very important in the event that you are working in RightToLeft=True. This movement is carried out by RightOffsetProperty while 1 equals approximately 1 cm.  
A negative value will move the printing to the right.   

Dialogue Box of the Printer   
This is to change the printer and its properties.   
Roboprint.ShowPrinterAlways = True  will cause the Dialogue box to appear before every print command is sent to the printer.  In order to cause the Dialogue box to appear by utilization of the code, type Roboprint.ShowPrinter.  

Cancel the printing of Control   
In order to cancel the printing of Control, select the value of its Tag at noprint.  In order to determine the printing of Control will begin in every case on a new page, select Tag value to newpage.  

      Top

Hints about Profesional Design. 

Every professional program with which you work will be operated through MdiForm, and this is the correct way to work.  Essentially, MdiForm must be the first form which you create while working on your project.  Thus, you will see from the beginning the final appearance of your forms.   
Unfortunately, many programmers choose to utilize various strange substitutes.  Some of the most widespread ideas in use include:  

MainForm  
This is a form with buttons which can call up various other forms.  This method, which is essentially an imitation of the Dos screen, creates an unorganized screen while essentially foregoing most of the advantages of working through Windows such as the Toolbox and the Main Menu.  On each occasion on which a form is called up, the user must return to MainForm.  


Download - Roboprint - Robosize - HowTo - Orders and Prices - F.A.Q. - Contact Us

Copyright © 2002 by Robocx.
All rights reserved. Revised: July 6, 2006.