1. Cecilio
  2. Valentina Reports ADK
  3. Вторник, Июль 25 2017, 10:20 AM
  4.  Подписаться через email
I know how to send the report to the local printer and to pdf.

But I do not know how the user chooses the printer to print on.

Any examples please?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Cecilio,

You can get the list of printers (local or server) and present it to the user.

In V4RB example there is the BevelButton (bbPrint) which allows the user to choose the printer:

Dim printers As VStringArray = mReport.LocalPrinters
bbPrint.Enabled = printers.Count > 0
For i As Integer = 1 To printers.Count
bbPrint.AddRow( printers.GetItemAt( i ) )
Next


You can use other controls (PopupMenu) to show this list.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


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