1. Jochen Peters
  2. Valentina Reports ADK
  3. Пятница, Июнь 16 2017, 09:24 PM
  4.  Подписаться через email
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 Ответ принят
ok i have to try
thanks for big help
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
So maybe not enough width?
What phrase have you tried to decode?
In my test it was necessary to set the width to 50 to print the barcode of 15-symbol length word.
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
X:40 X Y:15
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Alexis,

Have you made it wider? What is the width of the control now?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
one more problem
can any one test if code 128 bar scan with any scanner my print but no scan
Комментарий
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.
Jochen Peters Ответ принят
i install VS 32bits on Windows 7 64Bits and it print perfect the problem is XOJO or Plug-in
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
ok
yes my app is 32bits and VS is 64bits

so i have to install VS 32bits and see if same problem or no
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
When printing from VStusio the dialog options are transformed into the options string, and the width&height even was not used, as you have seen in the log.

1) nothing changes with new plugin, paper size value 0 or 256 and paperwidth&paperlength?
2) There must be some difference for the driver. Is it desktop application, 32-bit? VStudio 32 or 64?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
my printer setting how I make this on page size on VS
Вложения
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
i think the problems is how i make the page on VS when i preview it show 3 record on one page and shut be 3 pages so if i add 2 record works on VS but if a have 3 or more Record no work correct.

If any one can do like teamview from support it see what is the problem or show the steps how i shud do the page on VS
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
look
Вложения
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
no works same
i know what it is
work perfect from VStudio but no from XOJO
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Just strange, why you get different results with VStudio and Xojo using the same options string.

We haven't got the options to set width and height of the paper for printing on Windows.

I added two options - paperwidth and paperlength. Values are in millimeters.

Here's how I used them:
mReport.PrintToLocalPrinter( "Canon LBP 3000", "papersize=256,paperwidth=60,paperlength=60" )

256 - is the constant for the user format. You can also try 0 here

Uploaded a test build for you to try.
Ссылки
  1. https://www.dropbox.com/s/1kjg7303jrf85w9/v4rb_7_win.exe?dl=0
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
hi
if any video how you make the pagesize i think that is the problem
my page size is 3.0" W X 1.25 H

how i make that
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
look
22:21:01 Print to printer 'ZEBRA LP 2443' with options 'collate=no,color=no,copies=1,duplex=no,landscape=no,papersize=256,printquality=203,scaling=0'
so i use same setting on XOJO
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Ok, thank you.

Valentina Studio on Windows uses the papersize printing option, so you should use it in your code as well to get the same result.

Default user-defined format value for this option is 256, it must work for your Xojo code:
papersize=256

If it will not work, you can download a special build of the Valentina Studio (links in attachment).

It outputs the printer name and the exact options string to the log. For example

16:15:52 Print to printer 'Canon LBP3000' with options 'collate=no,color=no,copies=1,duplex=no,landscape=no,papersize=256,printquality=600,scaling=100'

So you will see all the options used.
Вложения
Ссылки
  1. https://www.dropbox.com/s/tvqvyi0sn0stfre/vstudio_x64_7_win.exe?dl=0
  2. https://www.dropbox.com/s/zeacnr2qhvje93x/vstudio_7_win.exe?dl=0
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
hi Screen Picture from Customer Site
Вложения
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
ok i have to go to the customer site
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Could you please make a screenshot of this dialog? Just like I did?
Комментарий
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