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?
|
|
|
|
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? |
|
|
|
|
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.
|
|
|
|
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 |
|
|
|
|
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.