This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Zatlite  
#1 Posted : Monday, February 5, 2007 6:28:06 AM(UTC)
Zatlite

Rank: Member

Groups: Guest
Joined: 1/9/2007(UTC)
Posts: 7

Hi,

I'm trying to print scanned images of A4 documents. They are stored in multipage tiffs. They are scanned with a pretty high resolution so they are a bit bigger than A4. I don't think that is the problem here but just letting you know.

For the printing code, I've used the one that came with the viewer sample.
When I print, the images come out with a margin on the left.
I don't want the margin there. I need to print on the whole page is that possible?
I've tried changing the margin properties on the controls but that doesn't help.

Can someone tell me of a property setting I can change or code I may use?
Dmitry  
#2 Posted : Monday, February 5, 2007 3:55:07 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Could you provide us with exact code sample which you use?
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Zatlite  
#3 Posted : Monday, February 5, 2007 6:33:02 PM(UTC)
Zatlite

Rank: Member

Groups: Guest
Joined: 1/9/2007(UTC)
Posts: 7

Hi,

Going home now so no time to explain. But the sample code I used is from

\Aurigma\Graphics Mill 3.5 for .NET 1.1\Windows Demos Source Code\TiffViewerVB


I hope you can help me print on the whole page without margins.

Thanks.
Dmitry  
#4 Posted : Tuesday, February 6, 2007 7:15:17 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

You can set margins of page before print using the following code:
Code:
printDocument.DefaultPageSettings.Margins.Left = 0
printDocument.DefaultPageSettings.Margins.Top = 0
printDocument.DefaultPageSettings.Margins.Right = 0
printDocument.DefaultPageSettings.Margins.Bottom = 0

If your printer supports borderless print, you should obtain the desired result.

Edited by user Tuesday, December 18, 2007 5:08:55 PM(UTC)  | Reason: Not specified

Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.