DOS PRINTING FILES — CODES


In this Article, All the neccessary Codes used in notepad file is given in the tabular form.



Codes:

Sr. No. Description Start Code End Code Example
1 Page Setup — To Start the Page ^27^^67^ Size of the page / 3 ^27^^67^^24^ — IF you have page of size 8 inch
2 To write Column Name @# $# @#DeliveryNo$#
3 To Set the size of column character. {}n n = no of characters @#DeliveryNo{}06$#
4 To start the printing of column name after some space from starting of the page. N<- N = no. of Space. @#23<-TruckNo{}16$#
5 To Increase the font-size. ^14^ ^20^ ^14^@#DeliveryNo{}06$#^20^
6 To Reduce the font-size. ^27^^77^ ^27^^80^ ^27^^77^@#DeliveryNo{}06$#^27^^80^
7 To Give a bold effect to the fonts . ^27^^71^ ^27^^72^ ^27^^71^@#DeliveryNo{}06$#^27^^72^
8 To Increase the font size + Give a bold effect to the fonts. ^14^ ^27^^71^ ^27^^72^^20^ ^14^^27^^71^@#DeliveryNo{}06$#^27^^72^^20
9 To Reduce the font size more. ^15^ ^18^ ^15^@#DeliveryNo{}06$#^18^
10 To Print the current date. ~date @#DeliveryNo{}06~date$#
11 To Print in decimal format. ~decimal @#Silak{}07~decimal$#
12 To Print your data in right side of the page. ~right @#DeliveryNo{}07~right$#
13 To Skip the line if answer is zero. ~decimalnonzero @#DeliveryNo{}07~decimalnonzero$#
14 To Report the specific line from file. ~reportsetup @#2<-Line1~repotsetup$#
15 Data Grid – To print the data from data grid. ~dg @#PackName0{}25~dg$#
It will print the first column/word from the data grid.
16 To Print the date in words. ~words @#FreightBy{}43~words$#
17 To Print the Currrent Time. ~time @#CurrentDate{}12~time$#
18 To Break the page. ^12^ ^12^
19 To Count the no of pages. @#PageCount$# @#PageCount$#

Was this article helpful?

Related Articles