mibuso.com

Microsoft Business Solutions online community
It is currently Fri May 24, 2013 9:41 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 110 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 01, 2008 3:40 pm 
Offline

Joined: Fri Oct 26, 2007 2:20 pm
Posts: 70
Location: Hyderabad
Country: India (in)
Hi all,

After I run the Reprot.
When It reaches the code-->Picture.IMPORT('c:\temp\bild.bmp');
It is raising the error : The Operating system cannot find the file 'c:\temp\bild.bmp'. Even though I created a folder named temp. I am not getting where I went wrong.

Please guide me..

Regards
Teja


Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 01, 2008 6:40 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
are you sure the destination is correct in your code?
http://www.mibuso.com/forum/viewtopic.p ... c&start=37

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Barcode generator v2
PostPosted: Tue Dec 02, 2008 6:35 am 
Offline

Joined: Thu Dec 20, 2007 1:09 pm
Posts: 61
Location: Hyderabad
Country: India (in)
Hi savatage,

Thanks for the Reply, I made a mistake in coding. that Error was cleared.

I have one doubt. Image is creating as .bmp.. In that can we show the Number itself. Is there any option like that..

And anther Doubt regarding scanning. As said in this download section, I used the picture control to show the generated BMP. Is there any specify that , the size of control should be like this.. Becoz our client needs a report to show the Barcode very small one . if the picture control size is dereased , is there any problem in scanning the barcode..


Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Fri Dec 05, 2008 4:12 pm 
Offline

Joined: Thu Dec 20, 2007 1:09 pm
Posts: 61
Location: Hyderabad
Country: India (in)
Hi all,

Using this downlaod, I generated barcode. I am generating a bitmap of type code39.
But , the report is not scanned at our client place. I am not getting where I went wrong . Is there anything I should do other than the coding which was given in the discussions..

I added code like this
txtCmd :=
'c:\barcode\Navibar.exe ' + // Programm
"*"+"No."+"*" +'{' + // code to generate
'15'+'{' + // barcodetype
'100'+'{' + // width in pixel
'60'+'{' + // high in pixel
'c:\barcode\temp.bmp' + // destination for the .bmp-file
'{false';


I kept "*", Before and after the No. , because I am using Code39. I think I did right. But the report is not scanning. PLease seggest me where I went wrong


Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Fri Dec 05, 2008 5:43 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
the barcode generator is creating the barcode for you as a bitmap so I do not think the *'s are necessary.

Use use the *'s around a field for 3of9 if you're just using the 3of9 font!
Add a text box to your report & change the sourceexp adding the *'s around it - then change the font to a 3of9 type font (exact spelling of the font is crucial)
See sample pic. (note it's just a good job of cutting & pasting - your properties will not be in this order)

Here are some goodies
http://savatage99.googlepages.com/BarcodeFonts.zip

Note: this also means you need to install these font's on every computer that might be generating this report.
And make sure the scanner is programmed to read the font type (3of9 is basic so most probably do right off the bat)

Happy Barcoding!


Attachments:
barcode3of9.JPG
barcode3of9.JPG [ 9.29 KiB | Viewed 1883 times ]

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org
Top
 Profile E-mail WWW  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 08, 2008 6:02 am 
Offline

Joined: Fri Dec 05, 2008 11:37 pm
Posts: 0
Does anyone know how to get the "Enterprise" version of this software?
I tried to contact the author, but the email bounced.
I need to print SSCC-18 labels in Navision.

Richard Hauser


Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 08, 2008 1:10 pm 
Offline

Joined: Thu Dec 20, 2007 1:09 pm
Posts: 61
Location: Hyderabad
Country: India (in)
Hi Harry Ruiz,

Thanks for u r reply,

As u said , I uesd the textBox in the reoprt and changed the font Name and also sourceExpr.
But , when I run the Report, the textbox is displaying the Barcode font as a Picture Box.

IF we use Exact font name, then no need of showing the Bitmap image in the Picture Box, Because, the textbox is displaying as Picture box..


In the Image, the Bigger one is Picture Box and the smaller one is text Box. Now can I remove the Picture Box ..Am i right....


Attachments:
BArcode.bmp
BArcode.bmp [ 576.05 KiB | Viewed 1837 times ]
Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 08, 2008 3:09 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
I don't know what your talking about - what i was trying to say is that you can use one or the other method.
Especially with when using 3of9.

Either use the font with the *'s or use the genertator - which everone you like.

With the font use a tablebox type and the generator one for a picture.

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 15, 2008 11:29 am 
Offline

Joined: Thu Dec 20, 2007 1:09 pm
Posts: 61
Location: Hyderabad
Country: India (in)
Hi Harry Ruiz,

Thanks for your response. Based on your earlier reply, I followed each and every step as you Instructed. By changing the Font Name and adding the *'s Before and after the source Exprn. But, the result at negative place is negative. The Bar code is not scanned. I used code 39 font to generate the font.

Our client is using Scanner of Type:: PSC HS 2300 &
Printer Name is Data MAx to generate the Barcode. Using another Accounting Package , if the Bar code generated means , it is getting scanned at our client place . But, when coming to NAv , it is not. In the Printer Font , I observed one thing, that Code 39 (with full ASCII). Is there any Difference Between Code 39 & Code 39 (with full ASCII)

Please any body suggest me.


Top
 Profile E-mail  
 
 Post subject: Re: Barcode generator v2
PostPosted: Mon Dec 15, 2008 6:54 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
te6 wrote:
But, the result at negative place is negative.


I don't know what this means.

Well the *'s work fine for everyone i've seen use it.
Are you using it on a decimal or something?
Post your sourceexp with the *'s used.
3of9 is great for code & text type fields.

Does the report show the Barcode?
Have you played with different sizes of the barcoded textbox?
Have you "trained" your scanner to read 3of9 - has it ever read 3of9?

it should look something like this
'*' + "Sales Header"."No." + '*'

PS - this post is about Barcode generator - so perhaps if you're going to use something different - it should be a new post.
a few posts above I see a picture of a barcode - so did it work?

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Barcode generator v2
PostPosted: Fri Apr 24, 2009 1:09 am 
Offline

Joined: Thu Jul 27, 2006 6:08 pm
Posts: 319
Location: Sydney
Country: Australia (au)
How about if i dont want to import any bitmaps into the database using: Picture.IMPORT('c:\temp\bild.bmp');What if i want to send those bitmaps directly to a label pritner without using a NAV report?

is there any other way?

_________________
Regards,

GD


Top
 Profile  
 
 Post subject: Re: Barcode generator v2
PostPosted: Fri Apr 24, 2009 3:55 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
if you're not using a MODIFY then the bitmaps are not saved in the database they are just displaying

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Barcode generator v2
PostPosted: Fri May 15, 2009 11:58 am 
Offline

Joined: Fri May 15, 2009 11:37 am
Posts: 0
I´m using teh barcode generatos for some expedition labels. To be more specific for some barcodes using code 25 interleaved. I have a problem with the bar code size.
I know that this kind of bar code is very specific and there has to be a ratio between the width and the height. But somehow I can´t print the width and height the expedition company asks me to print.

As I said before, I must use code 25 interleaved on the code below, you see the dimensions I´m using


varRutaBmp := 'C:\navibar\temp\codeAzk_'+USERID+'.bmp';
codificar(txtCodBarras,'07','430','130',varRutaBmp,recCode25_1);

as a result this label gives me a bmp with the barcode dimensións:10,5 cms width and 2,7 cms heigth, if I change the parameters to something smaller, the result it is always the same. Regardless of the with parameter I choose , I get 5,5 cms width

With the code before changed to

varRutaBmp := 'C:\navibar\temp\codeAzk_'+USERID+'.bmp';
codificar(txtCodBarras,'07','429','130',varRutaBmp,recCode25_1);



I get 5,5 cm width



As you can see I´d reduced the pixel size to 429 instead 430. But I don’t get the desired size.

The desired size that the expedition company is asking for is 8,5x3 cms

I tried different width/height combinatios, but I don´t get the desired size.

I need to know if it is possible to get this size.


Thanks


Top
 Profile E-mail  
 
 Post subject: Re: Barcode scanner issue
PostPosted: Fri Jul 03, 2009 12:13 pm 
Offline

Joined: Thu May 10, 2007 4:59 pm
Posts: 7
Location: 's-Hertogenbosch
Country: Netherlands (nl)
Savatage wrote:
4)change the SourceExp of your Invoice# field to something like
'*' + "Sales Invoice Header"."No." + '*'

note the *'s are needed on barcode3of9


Thank You Savatage, this did help me in a bit with my problem.

We went from Win2000Server to a Win2003Server for Terminalserver use, and I couldn't get the report to print the image in a good way.
On the old terminalserver it went just great, but with 2003 and same printer and drivers it went sour.
I use a Code 128 barcode to print.

I now have the right with in which the barcode is printed, but it prints the wrong barcode.
Can't figure out what is wrong, any one an idea?


Top
 Profile  
 
 Post subject: Re: Barcode generator v2
PostPosted: Thu Jul 16, 2009 2:35 pm 
Offline

Joined: Thu May 10, 2007 4:59 pm
Posts: 7
Location: 's-Hertogenbosch
Country: Netherlands (nl)
I'm sorry to say that the solution didn't work.
I've been playing around a bit and found out that a user on the new Win2k3 server can run the report with the code, but the users gets the message that the path is not right, and its true the *.bmp has not been created.
If I do this on our old W2k server, its no problem, the file is created, by the same user in the same directory.
The user belongs to a group which has all rights to the directory in which the file is created.
If there is a file allready, it simply uses that one, but its with the wrond code.

Does any one have a clue on how to fix this?
I would like to discontinue the old Terminalserver, but I can't until the new one prints the reports with the barcode.

I use the following code:
Code: Select all
IF Verkoopkop."Nr." <> '' THEN BEGIN
Barcode := Verkoopkop."Nr.";
ok:= SHELL(STRSUBSTNO('%1%2%3%4%5%6',
    'C:\Navbar\Navibar.exe',   // Programm
    ' ' + Barcode+'{',                 // code to generate
    '14'+'{',                               // barcodetype
    '240'+'{',                              // width in pixel
    '80'+'{',                               // high in pixel
    'C:\Navbar\bild.bmp'));                   // destination for the .bmp-file

Afbeelding.IMPORT('C:\Navbar\bild.bmp');
MODIFY;
END;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 110 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: