1. PBI
  2. Valentina Reports ADK
  3. Dienstag, Mai 26 2020, 02:00 PM
  4.  Abonnieren via E-Mail
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.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello,

1. What about Page Body region margins. Are they set to 0?

2. This option is implemented in version 9.7.
Anhänge
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
Yes, the Page Body region margins are setting to 0.

The new image-A1 is the xojo application preview screen.

The new image-A2 is the real sheet print ( the red lines are the real labels margin ).

The new image-A3 is the report configuration.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
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.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
There is one similar option, it is defined in percents, e.g.
scaling=100
to print in the original size.
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
I've already tried with
scaling=100,
but it doesn't work.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
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.
Anhänge
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
Another option on the Adobe Acrobat Reader print window
Anhänge
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
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 ?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
Also when printing with valentina studio i have the same problems.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Also, Valentina Studio Free can preview, export and print existing reports.
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
Now the vertical alignment is correct but the horizontal alignment is incorrect,
probably because the report was created with Valentina Studio 7.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Thank you, that's strange anyway. Is the preview correct?
I attached a project with labels 105x36 mm.
Kommentar
There are no comments made yet.
PBI Akzeptierte Antwort
...I attached a project with labels 105x36 mm.


Where's the attached file?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Sorry, wasn't uploaded. Here it is
Anhänge
Kommentar
There are no comments made yet.
  • Seite :
  • 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