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.
Jochen Peters Accepted Answer
ok i have to try
thanks for big help
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Sergey Pashkov Accepted Answer
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.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Jochen Peters Accepted Answer
X:40 X Y:15
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
Sergey Pashkov Accepted Answer
Hi Alexis,

Have you made it wider? What is the width of the control now?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Jochen Peters Accepted Answer
one more problem
can any one test if code 128 bar scan with any scanner my print but no scan
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
Jochen Peters Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Jochen Peters Accepted Answer
i install VS 32bits on Windows 7 64Bits and it print perfect the problem is XOJO or Plug-in
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
Jochen Peters Accepted Answer
ok
yes my app is 32bits and VS is 64bits

so i have to install VS 32bits and see if same problem or no
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
Sergey Pashkov Accepted Answer
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?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
Jochen Peters Accepted Answer
my printer setting how I make this on page size on VS
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
Jochen Peters Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 11
Jochen Peters Accepted Answer
look
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 12
Jochen Peters Accepted Answer
no works same
i know what it is
work perfect from VStudio but no from XOJO
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 13
Sergey Pashkov Accepted Answer
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.
References
  1. https://www.dropbox.com/s/1kjg7303jrf85w9/v4rb_7_win.exe?dl=0
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 14
Jochen Peters Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 15
Jochen Peters Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 16
Sergey Pashkov Accepted Answer
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.
Attachments (1)
References
  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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 17
Jochen Peters Accepted Answer
hi Screen Picture from Customer Site
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 18
Jochen Peters Accepted Answer
ok i have to go to the customer site
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 19
Sergey Pashkov Accepted Answer
Could you please make a screenshot of this dialog? Just like I did?
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