1. Jochen Peters
  2. Valentina Reports ADK
  3. 金, 6月 16 2017, 09:24 PM
  4.  メールで購読
I have Mark the print using XOJO ADK but work Perfect from the Valentina Studio PRO print perfect.
from xojo work bad way
添付ファイル
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
HI Sergey
Thanks for Big Help this help fix my Problem with XOJO now BarCode is Working page size problems you see in one way on VS but on XOJO is play with size
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
is on windows 10

i have to check version
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
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
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
1. So it is always printed smaller from Xojo?
2. Can't recognise barcode printed even from VStudio?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
yes Sergey
barcode scanner no recognise even from VStudio
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
i have to test other barcode scanner to see but it read perfect from any product barcode
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
this is my project
添付ファイル
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
sorry
but my customer is waiting for me for finish my project
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
About wrong 128 barcode - yes, it looks like it is incomplete, we'll check&fix it ASAP
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Please attach how you send it to the printer. Which parameters do you set for PrintToLocalPrinter?
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
mReport.PrintToLocalPrinter("ZEBRA LP 2443", "paper=BarCode,copies=" + Str(PageCount) + "";)

what is the best BarCode other than code 128
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
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
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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.
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
max 25 but i normal use like 15 or less
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
paper=BarCode

What will you get if you skip this printing parameter? Is it easy to check?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
ok
i have to try that on customer site
thanks
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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 }
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
I make a custom one with name BarCode
コメント
There are no comments made yet.
  • ページ :
  • 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