Error "Margins are too large"
support.activereports.net
Error "Margins are too large"
09-02-2003, 12:00 AM
Originally Posted By: Karien De Potter<karien.depotter@infohos.be>
I'm having troubles using a label printer (Eltron TLP 2742).
* Print without preview form:
-When running the report I get the error "Margins are too large"!!
Dim rpt As ActiveReport = New ActiveReport()
rpt.Run(False)
rpt.Document.Print(True, True)
-When I add following code, the report doesn't run at all:
rpt.PageSettings.PaperHeight = 1.42
rpt.PageSettings.PaperWidth = 4.134
With rpt.PageSettings.Margins
.Bottom = 0.0
.Top = 0.0
.Left = 0.0
.Right = 0.0
End With
*Print with preview:
The printer processes a label, but there is no text on the label.
Does anyone have experience using a label printer?
Regards,
Karien
Re: Error "Margins are too large"
09-03-2003, 12:00 AM
Originally Posted By: Trent Snow - DD<ActiveReports.Support@DataDynamics.com>
Hello Karien--
Have you tried using a different print driver or even deleting the printer
from the Control Panel and re-adding it I know sometimes this works.
"Karien De Potter"
wrote in message
news:VWRs9TVcDHA.140@dynaweb.datadynamics.com...
> I'm having troubles using a label printer (Eltron TLP 2742).
>
> * Print without preview form:
> -When running the report I get the error "Margins are too large"!!
> Dim rpt As ActiveReport = New ActiveReport()
> rpt.Run(False)
> rpt.Document.Print(True, True)
> -When I add following code, the report doesn't run at all:
> rpt.PageSettings.PaperHeight = 1.42
> rpt.PageSettings.PaperWidth = 4.134
> With rpt.PageSettings.Margins
> .Bottom = 0.0
> .Top = 0.0
> .Left = 0.0
> .Right = 0.0
> End With
>
> *Print with preview:
> The printer processes a label, but there is no text on the label.
>
> Does anyone have experience using a label printer?
>
> Regards,
> Karien
>
>