Hi harry,
thanks for your response The automation i am using to print the shelf labels this error i am getting when the the items exceed more than 10.sometimes it will work fine but the error saying file in use comes any time.
still i am facing same issue of file in use.can you plz tell me how to resolve the issue.I am using this barcode generator to print shelf label reports in nav 2009.
It's hard to say when you post that it works sometimes. The only time I see the file is in use message is when a Close command isn't being used. We can't see all your report so there are things you have to do on your own. Take it in steps..ie 1-does it create the barcode image file? If so is it importing when requested. If calling more than one item am I clearing previous values. You should be able to figure out why it works sometime.
Also the download section has other barcodes creators if you can't figure this one out. Just search the download section for barcode.
Barcode image is exporting as too small (79 X 16). But I need to increase Width and Height of the Barcode Image.
I want to increase as (160 X 32). Where should i need to change the code for that.
Kindly help me to solve this issue.
What does your code have to do with the barcode generator? If you follow the link from a few posts above you will see the barcode generator has settings for width & height.
If your post is just a miscellaneous barcode question then start a new topic.
Hi, Im using same Barcode Generator V2 for creating barcode as Image. But my question is, im going to change the code to increase width and height of the barcode image.
But my question is, im going to change the code to increase width and height of the barcode image.
That's a statement not a question and by looking at the code below, what are you not understanding?
just change the values of the ones marked (width in pixel & hight in pixel)
OnAfterGetRecord()
IF Item."Item UPC/EAN Number" <> '' THEN BEGIN
CreateBarcode:= SHELL(STRSUBSTNO('%1%2%3%4%5%6',
'i:\navision attain\Navibar.exe', // Program location
' ' + Item."Item UPC/EAN Number"+'{', // code to generate from Nav
'05'+'{', // barcode type "code" you want
'120'+'{', // width in pixel
'50'+'{', // hight in pixel
'c:\temp\barcode.bmp')); // destination for the .bmp-file
Picture.IMPORT('c:\temp\barcode.bmp');
END;
IF Item.EAN <> '' THEN BEGIN
ok:= SHELL(STRSUBSTNO('%1%2%3%4%5%6',
'C:\Programme\BarcodeNAV09\Navibar.exe', // Programm
' ' + Item.EAN +'{', // code to generate
'01'+'{', // barcodetype
'120'+'{', // width in pixel
'60'+'{', // high in pixel
'c:\temp\bild.bmp')); // destination for the .bmp-file
Picture.IMPORT('c:\temp\bild.bmp');
END;
Microsoft Dynamics NAV
The file name "c:\Navibar.exe 617075400200{05{120{60{c:\temp\bild.bmp" contains a character that may not be used.
Please check the file name. You can find additional information on file names in the documentation for your operating system.
OK
anyone have any ideas?
Many thanks
PS. We use NAV09SP2 -
When saving the message comes
Function 'SHELL' is deprecated for Microsoft Dynamics Navision.
I have something really strange.
I have navibar running on a Windows 7 computer, when I run the command : navibar 8717529007107{01{240{120{c:\temp\8717529007107.bmp{true it create's the barcode image but it does not show the number.
When I do the same thing on a other computer running Windows 7, it works.
I have something really strange.
I have navibar running on a Windows 7 computer, when I run the command : navibar 8717529007107{01{240{120{c:\temp\8717529007107.bmp{true it create's the barcode image but it does not show the number.
When I do the same thing on a other computer running Windows 7, it works.
Does anyone have a idea?
Hi DennisT,
Our problem is similar to yours.
When setting the last parameter to {true or left blank tiny litte dots appear below the barcode image instead of readable text. When set to {false the dots disappear.
It is the latest version of navibar, downloaded from the download section.
Could it be something with missing fonts. Although Navibar creates an image, it might use a font to generate the readable text before creating an image. Or could it be that the barcode.ocx is not allowed by the security settings. Or could it be a conflict with Visual Basic (Navibar uses msvbvm50.dll).
Your code is not as described by the program notes.
it should be something like this...
IF Item."No." <> '' THEN BEGIN
CreateBarcode:= SHELL(STRSUBSTNO('%1%2%3%4%5%6',
'c:\windows\Navibar.exe', // Program location
' ' + Item."No."+'{', // code to generate from Nav
'05'+'{', // barcode type "code" you want
'120'+'{', // width in pixel
'50'+'{', // high in pixel
'c:\temp\barcode.bmp')); // destination for the .bmp-file
Item.Picture.IMPORT('c:\temp\barcode.bmp');
END;
look at your last line "Item."Barcode Pic"));" is that a workable destination for the .bmp file?
I am using this barcode generator, and i am getting some issue.
This is the barcode that i want to generate : 1000|LOT267|32, and it generates succesfulluy, but when i try to read this barcode with barcode reader it dosn't read it. I am using the same report to generate barcode, and if i put 1000|Lot267|32 (ot lowercase) it generates the barcode and the barcode reader reads it.
This is the parameter that i call for LOT267 and Lot267:
1000|LOT267|32{14{225{150{C:\Temp\bild.bmp
and
1000|Lot267|32{14{225{150{C:\Temp\bild.bmp
The same report is generating the barcode, the first one barcode reader doesn't read it, the second one it reads succesfully.
I am using Code 128 as barcode type.
Attached you can find barccodes generated.
I know that are different barcodes, but why the first one is not redable. Does this has to do something with letters- uppercase or lowercase?
FYI. I have uploaded picture in .jpg and .bmp .
Also i have generated barcodes using Run, and the same scenario.
C:\Temp\navibar.exe 1000|LOT267|32{14{225{150{C:\Temp\bild.bmp
and
C:\Temp\navibar.exe 1000|Lot267|32{14{225{150{C:\Temp\bild1.bmp
Code 128 A encodes uppercase letters, numbers, and functions.
Code 128 B encodes uppercase and lower case letters and numbers.
Code 128 C encodes numbers and FNC.
It appears you are using TYPE 14....32{14{225{150
11-Code 128 A
12-Code 128 B
13-Code 128 C
14-Code 128
I have something really strange.
I have navibar running on a Windows 7 computer, when I run the command : navibar 8717529007107{01{240{120{c:\temp\8717529007107.bmp{true it create's the barcode image but it does not show the number.
When I do the same thing on a other computer running Windows 7, it works.
Does anyone have a idea?
It turned out that this can be solved by running the navibar.exe program in Windows XP mode.
Change it by right-clicking on de .exe and choose properties.
There you can change the compatibility setting.
Hi Guys,
I got the sample report running with some adjustements and now trying to get the functionality working in other report and I stuck there with I believe a pretty basic problem that I just can't resolve...
There is a Picture box added to Body(2) section of Shipment Line table, named "Bar Code" and Expression "Bar Code"... The code for BC generaion is in Shipment Line onAftergetRecord trigger...
... however compiling the line
"Bar Code".IMPORT(.....
gives me an error
"You have specified an unknown variable
"Bar Code"
Define the variable under Global C/AL Symbols...
I must be missing something elementary here.. yet this should certainly not be a Global C/AL variable... it is not variable in the sample report that runs just fine. Also the properties of the PictureBox seem to be identical...
where to look further? Any hint appreciated.... :?
**EDIT**
I see where from the confusion comes... The example uses Item.Picture that indeed exist in Item table a Blob field.. the "Bar Code" I used certainly does not exist in Sales Shipment Line table...
As I only need to print barcode, is there a way to only create and use it as variable while the reort is printed, witout adding custom BLOB field to table??
Hi, Cuypz.
I am also testing about the relatedexcel ean-13 barcode generationprojects these days. Do you have any ideas about it? Or any good suggestion? Thanks in advance.
Hi, Cuypz.
I am also testing about the relatedexcel ean-13 barcode generationprojects these days. Do you have any ideas about it? Or any good suggestion? Thanks in advance.
Best regards,
Arron
if you need to build a barcode generation project, you will need at least barcode dll, API, and sample codes, sample image to create barcode image.
Comments
viewtopic.php?t=1789&postdays=0&postorder=asc&start=37
What's the automation trying to do?
http://www.BiloBeauty.com
http://www.autismspeaks.org
thanks for your response The automation i am using to print the shelf labels this error i am getting when the the items exceed more than 10.sometimes it will work fine but the error saying file in use comes any time.
still i am facing same issue of file in use.can you plz tell me how to resolve the issue.I am using this barcode generator to print shelf label reports in nav 2009.
Also the download section has other barcodes creators if you can't figure this one out. Just search the download section for barcode.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Barcode image is exporting as too small (79 X 16). But I need to increase Width and Height of the Barcode Image.
I want to increase as (160 X 32). Where should i need to change the code for that.
Kindly help me to solve this issue.
Code is,
Divya
If your post is just a miscellaneous barcode question then start a new topic.
http://www.BiloBeauty.com
http://www.autismspeaks.org
just change the values of the ones marked (width in pixel & hight in pixel)
http://www.BiloBeauty.com
http://www.autismspeaks.org
i think i need a little help
Our Code
Microsoft Dynamics NAV
The file name "c:\Navibar.exe 617075400200{05{120{60{c:\temp\bild.bmp" contains a character that may not be used.
Please check the file name. You can find additional information on file names in the documentation for your operating system.
OK
anyone have any ideas?
Many thanks
PS. We use NAV09SP2 -
When saving the message comes
Function 'SHELL' is deprecated for Microsoft Dynamics Navision.
Are the SHELL Command not supported?
See here: viewtopic.php?t=12417
http://www.BiloBeauty.com
http://www.autismspeaks.org
I have navibar running on a Windows 7 computer, when I run the command : navibar 8717529007107{01{240{120{c:\temp\8717529007107.bmp{true it create's the barcode image but it does not show the number.
When I do the same thing on a other computer running Windows 7, it works.
Does anyone have a idea?
Hi DennisT,
Our problem is similar to yours.
When setting the last parameter to {true or left blank tiny litte dots appear below the barcode image instead of readable text. When set to {false the dots disappear.
It is the latest version of navibar, downloaded from the download section.
Could it be something with missing fonts. Although Navibar creates an image, it might use a font to generate the readable text before creating an image. Or could it be that the barcode.ocx is not allowed by the security settings. Or could it be a conflict with Visual Basic (Navibar uses msvbvm50.dll).
Thanks for any other suggestions.
I am getting the foolowing error message. I have copied the application on the specified path and I am using below code.
Can anybody help?
CODE:
ok:= SHELL(STRSUBSTNO('%1%2%3%4%5%6',
'C:\Windows\navibar.exe',
' ' + Item."No."+'{',
'08'+'{',
'120'+'{',
'60'+'{',
Item."Barcode Pic"));
ERROR:
Microsoft Dynamics NAV Classic
The operating system cannot find the file "C:\Windows\navibar.exe 1100{08{120{60{ " .
Verify that the drive, directory, and file names are correct.
OK
Thanks,
Deepak
it should be something like this...
look at your last line "Item."Barcode Pic"));" is that a workable destination for the .bmp file?
http://www.BiloBeauty.com
http://www.autismspeaks.org
I am using this barcode generator, and i am getting some issue.
This is the barcode that i want to generate : 1000|LOT267|32, and it generates succesfulluy, but when i try to read this barcode with barcode reader it dosn't read it. I am using the same report to generate barcode, and if i put 1000|Lot267|32 (ot lowercase) it generates the barcode and the barcode reader reads it.
This is the parameter that i call for LOT267 and Lot267:
1000|LOT267|32{14{225{150{C:\Temp\bild.bmp
and
1000|Lot267|32{14{225{150{C:\Temp\bild.bmp
The same report is generating the barcode, the first one barcode reader doesn't read it, the second one it reads succesfully.
I am using Code 128 as barcode type.
Attached you can find barccodes generated.
I know that are different barcodes, but why the first one is not redable. Does this has to do something with letters- uppercase or lowercase?
FYI. I have uploaded picture in .jpg and .bmp .
Thanks,
C:\Temp\navibar.exe 1000|LOT267|32{14{225{150{C:\Temp\bild.bmp
and
C:\Temp\navibar.exe 1000|Lot267|32{14{225{150{C:\Temp\bild1.bmp
other .jpeg barcode.
Code 128 B encodes uppercase and lower case letters and numbers.
Code 128 C encodes numbers and FNC.
It appears you are using TYPE 14....32{14{225{150
11-Code 128 A
12-Code 128 B
13-Code 128 C
14-Code 128
Try Type 12
if that doesn;t work for yo0u you can look into these options:
http://www.mibuso.com/dlinfo.asp?FileID=1113
http://www.mibuso.com/dlinfo.asp?FileID=1191
http://www.BiloBeauty.com
http://www.autismspeaks.org
It turned out that this can be solved by running the navibar.exe program in Windows XP mode.
Change it by right-clicking on de .exe and choose properties.
There you can change the compatibility setting.
I got the sample report running with some adjustements and now trying to get the functionality working in other report and I stuck there with I believe a pretty basic problem that I just can't resolve...
There is a Picture box added to Body(2) section of Shipment Line table, named "Bar Code" and Expression "Bar Code"... The code for BC generaion is in Shipment Line onAftergetRecord trigger...
... however compiling the line
"Bar Code".IMPORT(.....
gives me an error
"You have specified an unknown variable
"Bar Code"
Define the variable under Global C/AL Symbols...
I must be missing something elementary here.. yet this should certainly not be a Global C/AL variable... it is not variable in the sample report that runs just fine. Also the properties of the PictureBox seem to be identical...
where to look further? Any hint appreciated.... :?
**EDIT**
I see where from the confusion comes... The example uses Item.Picture that indeed exist in Item table a Blob field.. the "Bar Code" I used certainly does not exist in Sales Shipment Line table...
As I only need to print barcode, is there a way to only create and use it as variable while the reort is printed, witout adding custom BLOB field to table??
I am also testing about the related excel ean-13 barcode generation projects these days. Do you have any ideas about it? Or any good suggestion? Thanks in advance.
Best regards,
Arron
Arron
I'm testing about image resizers to resize images. Any ideas?
Next Tomorrow is Another Day.
http://www.mibuso.com/searchdl.asp?search=description
In the "Search filename and description" box type "Barcode"
Category = "All Downloads"
There are now a bunch of new barcoding solutions Many in pure c/al
http://www.BiloBeauty.com
http://www.autismspeaks.org