HMG Print Samples — 2

 Print a plain text file by HMG Print – 1

 

TestPrintFileExpr

 

 

Download source ( .prg, .hbp ) and sample text files.

How I can print

How I can use printer under Windows ?

NOTE : Before printing you may look at converting DOS characters to Windows.

Printing is one of master necessities of business programming; reports, lists, payrolls, bills, etc.

In oldy – goldy DOS days everything was easy, because everything was simple.

While Windows bring up tons of innovations and possibilities to our life, naturally bring also tons of complexities so difficulties.

Printer usage is one of most important. In DOS, like every system resource, printers too was completely under our control. We could anything possible to OUR printers: print anything in any format ( bold, compressed, emphasized, etc) on anywhere of the paper, page eject, move print head forward ( even backward) etc.

In Windows there isn’t a single machine, single user, single printer. Main philosophy of Windows is “Network everywhere“. Whatever your system configuration is, Window treat it as “Network”. Although we cannot disclaim benefits of this approach, printer issue become problematic to us.

Now, Windows says : “there isn’t YOUR printer, all printers ( even exist only one ) are network printers. If you have something to print, you can’t send it directly to printer; ask me and wait for I’ll do something for you.”

Since we can’t rollback the time (and this isn’t necessary); only way for us is : playing game depending its rules. On printing, we should learn and utilize printing ways of Windows.

Here I would talk about possibilities, ways and opportunities of printing.

Obsolete Ways 

Send to file 

Print File

GUI ways

HMG Print ( Mini Print ) for beginners in 10 easy steps

Print a plain text file by HMG Print – 1

HMG Samples

About HMG Samples

Language Related

 Arrays

Array Arithmetic

Load / Save ANY array

Conversion

DOS -> Windows Character Conversion

National Issues

National Alternate Collating Sequence

National Change Case

 Windows

Tracking Mouse

Controls

Browse

Quick Search    

Combo box

Dynamic ComboBox

Edit Box

Word wrap in EditBox

 Grid

Get Data Into Grid via IDE

Text Box

Auto fill in text box

Search in and Fill Box (SFilBox) 

Tree

Tree Menu

Two Methods for Tree

Functions

 Drives, Directories and Files

Drives and Directories

Directory List

Fill Directory List

PutFile() with default file name

Messages

HMG Message Functions

Message for multiple values

Message Extended

Where Is It ?

Improvements in Message functions

Miscellaneous

Is application running ?

Get Process ID

Simple Error Handling

Funny

Cuckoo Clock

Untouchable window

Warn Lazy User

Pegs Game

Drawing

Play Draw

Draw Border

Printing

 Text Mode

Using printer under Windows 

Obsolete ways

Send to File

Print File

GUI Mode

HMG Print

 HMG Print ( Mini Print ) for beginners in 10 easy steps

Print a plain text file by HMG Print – 1

HMG Report

HMG HPDF

HMG_HPDF — Bill

Unicode

HMG Unicode

Utilities

Color Codes

DB Validate 

Hex View

Mini Agenda

DBA : Data Base Assistant

Low-Level DBU

x-Base Modul List

Mini Search Machine (2014)