Home > Software engineering >  Vb datareport print issue
Vb datareport print issue

Time:09-20

Vb datareport printing problems: I set the stylus printer for longitudinal, vb statements is such , I. The show is good, point the print button, the top left hand corner is vertical, you can manually to me into the longitudinal, can set the printer when printing directly into longitudinal and solve this problem, I can give points or money, QQ: 5417412

CodePudding user response:

DataReport is to use the current printer, try upon initial report is set to the longitudinal direction,
 Private Sub DataReport_Initialize () 
Printer. Orientation=vbPRORPortrait
End Sub

CodePudding user response:

Tried to use, because the printer (1) the default setting is vertical, call DATAREPORT is VB6.0 by use, and use. After the SHOW, the upper left corner there was a horizontal printing

CodePudding user response:

I remember the needle is no direction setting, what is your so-called "horizontal" print out?
There are reports of ReportWidth properties than longitudinal paper width?

CodePudding user response:

, this is the report properties,
If my printer is set to horizontal, VB tip is greater than the (beyond) the paper size, now can only be set to the longitudinal direction, and then in VB jump out of the printer properties, it is horizontal automatic, I can only choose the longitudinal again, so you can print on 22 * 13.97 (second class) of paper,
  • Related