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 i try like mReport.PrintToLocalPrinter("ZEBRA LP 2443", "copies=" + Str(PageCount) + "";)
same problem
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
2) When you print from the Valentina Studio (and it is printed OK), what paper size do you set in the Print dialog?
BarCode this is my Custom Size
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
So you select Custom in the Print dialog, like attached in the picture, right?

I need an exact value to track, how it is transformed in code.
添付ファイル
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
1) i try like mReport.PrintToLocalPrinter("ZEBRA LP 2443", "copies=" + Str(PageCount) + "";) same problem

2) When you print from the Valentina Studio (and it is printed OK), what paper size do you set in the Print dialog?
i select BarCode is my custom paper size
コメント
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.
Jochen Peters 承諾済みの回答
ok i have to go to the customer site
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
hi Screen Picture from Customer Site
添付ファイル
コメント
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 承諾済みの回答
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.
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.
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 承諾済みの回答
no works same
i know what it is
work perfect from VStudio but no from XOJO
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
look
添付ファイル
コメント
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 承諾済みの回答
my printer setting how I make this on page size on VS
添付ファイル
コメント
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 承諾済みの回答
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.
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 承諾済みの回答
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 承諾済みの回答
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.
  • ページ :
  • 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