on 03-08-2007 5:51 AM
Hi,
Iam creating one barcode.My requirement is Barcode dimensions is 6inches width and 4 inches height.When i create the barcode when i have to given
this dimensions.
Thanks & Regads,
sairam
Hi,
Can you check, may be it will help you.
bool BarcodeInit(far char * buff, int bufflen)
/* SAPlpd calls this function when SAPlpd starts. The
parameter buff points to a buffer in SAPlpd of length
bufflen. The barcode.DLL puts a string in this buffer which
is output by SAPlpd in its log window.
The string identifies
thebar code.DLL: name, manufacturer, version.
Return TRUE if OK. */
int Bar codePrint( HDC * hPr, bar code * bc_ptr)
/* This function is called by SAPlpd to print a bar code. The
hPr parameter contains the GDI device context for the output
device. The parameter bc_ptr points to a control block which
contains the information about the bar code.
Return code 0: execution successful
Return code <> 0: An error occurred. In this case, the
pointer errmsg in the control block must be set accordingly.
The control block must contain the following fields: */
short protovers /* Log version used. Set to 3 by
SAPlpd. */
int xpos; /* Start position. Set to the current
int ypos; cursor of SAPlpd.
Output of the
barcode begins here.*/
int hsize; /* Required size of barcode. -1 sets
int vsize; to standard size. */
char far * str; /* Data */
int strlength;
int check; /* Compute checksum:
0: no checksum
1: with checksum
-1: Accept standard barcode
settings */
int label; /* label Bar code */
int fontsize; /* Font size and pitch
int hspacing; (specified according to current
map mode) */
int codeid = { /* which barcode? */
BC25INDU, 2 of 5 industrial
BC25MATRIX, 2 of 5 matrix
BC25INTER, 2 of 5 interleave
BCCODABAR Codabar
BCCODE39, Code 39
BCCODE39EXT, Code 39 Extended
BCCODE93, Code 93
BCCODE93EXT, Code 93 Extended
BCCODE128B, Code 128 Subset B
BCEAN8, EAN 8
BCEAN8P2, EAN 8 + 2
characters
BCEAN8P5, EAN 8 + 5
characters
BCEAN13, EAN 13
BCEAN13P2, EAN 13 + 2
BCEAN13P5, EAN 13 + 5
BCUPCA UPC A
BCUPCAP2 UPC A + 2
BCUPCAP5 UPC A + 5
BCUPCD1 UPC D-1
BCUPCD2 UPC D-2
BCUPCD3 UPC D-3
BCUPCD4 UPC D-4
BCUPCD5 UPC D-5
BCUPCE, UPC-E
BCUPCEP2, UPC-E + 2
BCUPCEP5, UPC-E + 5
0 Accept barcode
default};
int scale_s1; /* Scaling information about stripe widths
int scale_s2; and vertical line spacing.
int scale_s3;
int scale_s4;
int scale_l1;
int scale_l2;
int scale_l3;
int scale_l4;
char far * errmsg; /* Possible error message */
Br,
Laxmi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi when you select the barcode character form it will give you the dimention also. look for the required barcode format
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.