1. Jochen Peters
  2. Valentina Reports ADK
  3. Friday, June 16 2017, 09:24 PM
  4.  Subscribe via email
I have Mark the print using XOJO ADK but work Perfect from the Valentina Studio PRO print perfect.
from xojo work bad way
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hi Alexis,

1) Which OS are you using for it?
2) Do the versions of ADK and VStudio match?
3) Could you please try to generate PDFs from ADK and VStudio? Are they different, too?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Jochen Peters Accepted Answer
is on windows 10

i have to check version
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Jochen Peters Accepted Answer
i am using 7.2v
is on windows 7 pro 64bits
Yes same version XOJO ADK and Valentina Studio and after print the BarCode i try to scan with a barcode scanner and no recognised the barcode i am using code 128
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
Sergey Pashkov Accepted Answer
1. So it is always printed smaller from Xojo?
2. Can't recognise barcode printed even from VStudio?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Jochen Peters Accepted Answer
yes Sergey
barcode scanner no recognise even from VStudio
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
Jochen Peters Accepted Answer
i have to test other barcode scanner to see but it read perfect from any product barcode
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Jochen Peters Accepted Answer
this is my project
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
Jochen Peters Accepted Answer
sorry
but my customer is waiting for me for finish my project
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
Sergey Pashkov Accepted Answer
About wrong 128 barcode - yes, it looks like it is incomplete, we'll check&fix it ASAP
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
Sergey Pashkov Accepted Answer
Please attach how you send it to the printer. Which parameters do you set for PrintToLocalPrinter?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
Sergey Pashkov Accepted Answer
The width is too small to fit this barcode.
And width depends on the length of the word - the longer the word, the bigger this code is.

Is it possible to use IDs of fixed widths?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 11
Jochen Peters Accepted Answer
mReport.PrintToLocalPrinter("ZEBRA LP 2443", "paper=BarCode,copies=" + Str(PageCount) + "";)

what is the best BarCode other than code 128
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 12
Jochen Peters Accepted Answer
RepStrConn="postgresql://host='" + vServerIP + "' port='5432' dbname='" + vServerDbName + "' user='postgres' password='home@2011'"

SqlStr01=" select itemnum,saleprice,qtylabel from barcodeprint where itemnum='" + BarLine + "'"


mprojectPath = GetFolderItem( "OrdenCompras.vsp" )

mProject = new VProject(mprojectPath)

try
mProject.Open()
catch e as VException
dim errNumber as Integer = e.ErrorNumber
dim errString as String = e.Message
MsgBox errString
end

if mProject <> nil then
vCounts = mProject.ReportCount()
end if

try
mReport = mProject.MakeNewReport("PrnBarCode", RepStrConn,SqlStr01 )
mReport.SetParameterValue("param1",Str(ActiveCajaReg))
catch e as VException
dim errNumber as Integer = e.ErrorNumber
dim errString as String = e.Message
MsgBox errString
end


Try
mReport.PrintToLocalPrinter("ZEBRA LP 2443", "paper=BarCode,copies=" + Str(PageCount) + "";)
catch e as VException
dim errNumber as Integer = e.ErrorNumber
dim errString as String = e.Message
MsgBox " Report Print " + errString
end
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 13
Sergey Pashkov Accepted Answer
What is the max length of the text you want to put into barcode?
QR code may fit more information in less space, but the scanner is much more complex.

Igor has made a few improvements that will help to fit the code into smaller space.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 14
Jochen Peters Accepted Answer
max 25 but i normal use like 15 or less
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 15
Sergey Pashkov Accepted Answer
paper=BarCode

What will you get if you skip this printing parameter? Is it easy to check?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 16
Jochen Peters Accepted Answer
ok
i have to try that on customer site
thanks
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 17
Sergey Pashkov Accepted Answer
Another thing to try is to set standard paper name.

From VStudio it is printed with the correct size, so what size do you set in the print dialog?

Here are possible values for paper parameter (in the first column, the second value is the corresponding constant in the Windows API):
{ "letter" , DMPAPER_LETTER },
{ "letter small" , DMPAPER_LETTERSMALL },
{ "tabloid" , DMPAPER_TABLOID },
{ "ledger" , DMPAPER_LEDGER },
{ "legal" , DMPAPER_LEGAL },
{ "statement" , DMPAPER_STATEMENT },
{ "executive" , DMPAPER_EXECUTIVE },
{ "a2" , DMPAPER_A2 },
{ "a3" , DMPAPER_A3 },
{ "a4" , DMPAPER_A4 },
{ "a4 extra" , DMPAPER_A4_EXTRA },
{ "a4 plus" , DMPAPER_A4_PLUS },
{ "a4 small" , DMPAPER_A4SMALL },
{ "a5" , DMPAPER_A5 },
{ "a6" , DMPAPER_A6 },
{ "b4" , DMPAPER_B4 },
{ "b4 (iso)" , DMPAPER_ISO_B4 },
{ "b4 (jis)" , DMPAPER_B4 },
{ "b5" , DMPAPER_B5 },
{ "b5 (jis)" , DMPAPER_B5 },
{ "folio" , DMPAPER_FOLIO },
{ "quarto" , DMPAPER_QUARTO },
{ "9 x 11" , DMPAPER_9X11 },
{ "9x11" , DMPAPER_9X11 },
{ "10 x 11" , DMPAPER_10X11 },
{ "10x11" , DMPAPER_10X11 },
{ "12 x 11" , DMPAPER_12X11 },
{ "12x11" , DMPAPER_12X11 },
{ "15 x 11" , DMPAPER_15X11 },
{ "15x11" , DMPAPER_15X11 },
{ "10 x 14" , DMPAPER_10X14 },
{ "10x14" , DMPAPER_10X14 },
{ "11 x 17" , DMPAPER_11X17 },
{ "11x17" , DMPAPER_11X17 },
{ "note" , DMPAPER_NOTE },
{ "envelope" , DMPAPER_ENV_ITALY },
{ "envelope monarch" , DMPAPER_ENV_MONARCH },
{ "monarch" , DMPAPER_ENV_MONARCH },
{ "envelope #9" , DMPAPER_ENV_9 },
{ "envelope #10" , DMPAPER_ENV_10 },
{ "envelope #11" , DMPAPER_ENV_11 },
{ "envelope #12" , DMPAPER_ENV_12 },
{ "envelope #14" , DMPAPER_ENV_14 },
{ "envelope dl" , DMPAPER_ENV_DL },
{ "envelope b4" , DMPAPER_ENV_B4 },
{ "envelope b5" , DMPAPER_ENV_B5 },
{ "envelope b6" , DMPAPER_ENV_B6 },
{ "envelope c5" , DMPAPER_ENV_C5 },
{ "envelope c3" , DMPAPER_ENV_C3 },
{ "envelope c4" , DMPAPER_ENV_C4 },
{ "envelope c6" , DMPAPER_ENV_C6 },
{ "envelope c65" , DMPAPER_ENV_C65 },
{ "envelope invite" , DMPAPER_ENV_INVITE },
{ "c" , DMPAPER_CSHEET },
{ "d" , DMPAPER_DSHEET },
{ "e" , DMPAPER_ESHEET },
{ "japanese postcard" , DMPAPER_JAPANESE_POSTCARD },
{ "fanfold" , DMPAPER_FANFOLD_US },
{ "letter extra" , DMPAPER_LETTER_EXTRA },
{ "legal extra" , DMPAPER_LEGAL_EXTRA },
{ "tabloid extra" , DMPAPER_TABLOID_EXTRA }
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 18
Jochen Peters Accepted Answer
I make a custom one with name BarCode
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 19
Sergey Pashkov Accepted Answer
1) To fit 15 characters into Code 128 barcode, it is necessary to set the width to 50 millimetres.
Also note, the character set of Code 128 is limited to alphanumeric characters, any non-latin symbol will result in an error.

The smallest QR code fits into 11x11 millimetres square, but the scanner is more complex, I don't know if it is an option.

Maybe it is worth to use bigger labels? Or use shorter codes?

2) When you print from the Valentina Studio (and it is printed OK), what paper size do you set in the Print dialog?
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 20
  • Page :
  • 1
  • 2
  • 3


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories