1. Jochen Peters
  2. Valentina Reports ADK
  3. Freitag, Juni 16 2017, 09:24 PM
  4.  Abonnieren via E-Mail
I have Mark the print using XOJO ADK but work Perfect from the Valentina Studio PRO print perfect.
from xojo work bad way
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
ok i have to try
thanks for big help
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
X:40 X Y:15
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,

Have you made it wider? What is the width of the control now?
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
one more problem
can any one test if code 128 bar scan with any scanner my print but no scan
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
i install VS 32bits on Windows 7 64Bits and it print perfect the problem is XOJO or Plug-in
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
ok
yes my app is 32bits and VS is 64bits

so i have to install VS 32bits and see if same problem or no
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
my printer setting how I make this on page size on VS
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
look
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
no works same
i know what it is
work perfect from VStudio but no from XOJO
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Referenzen
  1. https://www.dropbox.com/s/1kjg7303jrf85w9/v4rb_7_win.exe?dl=0
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Anhänge
Referenzen
  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
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
hi Screen Picture from Customer Site
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
ok i have to go to the customer site
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Could you please make a screenshot of this dialog? Just like I did?
Kommentar
There are no comments made yet.
  • Seite :
  • 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. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories