1. PBI
  2. Valentina Reports ADK
  3. Tuesday, May 26 2020, 02:00 PM
  4.  Subscribe via email
I need to print labels on an A4 sheet. The dimensions of the sheet and labels are shown in image-1, the custom report settings are shown in image-2

Problem 1: the print does not respect the real dimensions of the labels (105 mm x 36 mm) and the upper and lower margins of the sheet (4.5 mm)

Problem 2: the printing direction of the labels should be from left to right and from top to bottom, see image-3, but Valentina Report print from left top to left down and right top to right down

What did I do wrong ?

Thanks.
Attachments (3)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Thank you for testing!
So the main problem is solved in the latest version.

When we create a report (Create->Report) with multiple columns the column width is calculated to fit all controls (it is not distributed between columns).

But when the label is created (Create->Label) there is a property size where we can specify width explicitly, so no need to have an invisible rectangle.
Comment
There are no comments made yet.
PBI Accepted Answer
The attached test report is printed correctly.

I tried to do other tests, this is the result:

1) Reports created with VS7 and printed using VS7 or ADK 7 = print produced with incorrect vertical and horizontal dimensions.

2) Reports created with VS7 and printed using VS10 = print produced with correct vertical dimensions but with incorrect horizontal alignment. To restore the correct horizontal alignment I inserted in the project a rectangle object with the same dimensions of the label, 105mm X 36mm without the border printing (see attached image)

3) reports created with VS10 (file attached to the previous post) and printed with VS10 = correct printing.
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Sorry, wasn't uploaded. Here it is
Attachments (1)
Comment
There are no comments made yet.
PBI Accepted Answer
...I attached a project with labels 105x36 mm.


Where's the attached file?
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Thank you, that's strange anyway. Is the preview correct?
I attached a project with labels 105x36 mm.
Comment
There are no comments made yet.
PBI Accepted Answer
Now the vertical alignment is correct but the horizontal alignment is incorrect,
probably because the report was created with Valentina Studio 7.
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Also, Valentina Studio Free can preview, export and print existing reports.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello,

I've prepared a Valentina Studio test build:
https://www.dropbox.com/t/xafWFe5H7OAIDwsQ

In my tests, the sizes of printed objects are correct now.
Could you please try to print a report using it?

It is recommended to work with copies of used VSP (and local VDB if it is a datasource) as the file format can be upgraded to the latest version.
Comment
There are no comments made yet.
PBI Accepted Answer
Also when printing with valentina studio i have the same problems.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello,

New versions implement left-to-right labels printing.
But printing on Windows wasn't changed. I'll check why are wrong margins applied when printing on Windows.

Were you able to print from the Valentina Studio with this option turned off by default?
Comment
There are no comments made yet.
PBI Accepted Answer
Is there any news about it ?

If i purchase the latest version of the valentina studio report and adk, will i have the same problems ?
Comment
There are no comments made yet.
PBI Accepted Answer
Another option on the Adobe Acrobat Reader print window
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 12
PBI Accepted Answer
The first image attached ( printer-setting.jpg ), refers to the printer properties.

The second image attached ( acrobat-reader-window-print.jpg ), refers to the Adobe Acrobat Reader print window.
Attachments (2)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 13
Sergey Pashkov Accepted Answer
A standard Windows printing API is used, I don't see any other option to control it.
Could you please make a screenshot with this option in the printer settings?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 14
PBI Accepted Answer
I've already tried with
scaling=100,
but it doesn't work.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 15
Sergey Pashkov Accepted Answer
There is one similar option, it is defined in percents, e.g.
scaling=100
to print in the original size.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 16
PBI Accepted Answer
Maybe I solved it:

the printer is set by default to reduce too large pages, setting it to print without reduction, the printing is OK.

Is there any way to indicate to print without reducing too large documents directly from the ADK ( without manually setting the printer ) ?

thanks.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 17
Sergey Pashkov Accepted Answer
So the problem is only when you print this report using PrintToPrinter method (or directly from the Valentina Studio)?
What if you print to PDF - is it correct?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 18
PBI Accepted Answer
I did many tests without obtaining positive results.

Please tell me if with the 7.0.4 version I can get what I need, or if I need to buy the latest version of Valentina Studio (with the hoping that it's can do what I need).

p.s.: I attach a test document created with OpenOffice Writer, this is printed correctly.
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 19
Sergey Pashkov Accepted Answer
So preview on image-A1 is correct, right?

On image-A2, it looks like the report is printed with some wrong scale.
Is it with the PrintToPrinter method?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 20
  • Page :
  • 1
  • 2


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