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
jvv  
#1 Posted : Sunday, January 30, 2005 9:05:00 PM(UTC)
jvv

Rank: Member

Groups: Guest
Joined: 10/14/2004(UTC)
Posts: 37

When I'm using the print control, and I'm printing a tiff file, it is resized tot a single page.
But the page does have large margins at the side.
I want tot print the image on a complete A4 paper (a little margin is ok, but the current margins are quite large).

Is this built in in the control, or can I correct this manually?

The code I'm using for a print order:
Code:
Private Sub PrintDocument_QueryImage(ByVal sender As Object, ByVal e As Aurigma.GraphicsMill.WinControls.QueryImageEventArgs) Handles PrintDocument.QueryImage
        Dim ABitmap As Aurigma.GraphicsMill.Bitmap
        ABitmap = BitmapViewer.Bitmap.Clone
        e.PrintPlaceholder().Image() = ABitmap
        e.HasMoreImages = False
End Sub


As ImageFitMode I'm using the ShrinkToFit

Edited by user Monday, December 24, 2007 4:14:01 PM(UTC)  | Reason: Not specified

Alex Kon  
#2 Posted : Monday, January 31, 2005 4:00:00 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Guest
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello!

You may use DefaultPageSettings property of ImagePrintDocument (inherited from System.Drawing.Printing.PrintDocument class) to change margin size. E.g. use the following code to set top and left margin to 10 hundredths of an inch:

Code:
imagePrintDocument1.DefaultPageSettings.Margins.Left = 10
imagePrintDocument1.DefaultPageSettings.Margins.Top = 10 

Edited by user Monday, December 24, 2007 4:14:12 PM(UTC)  | Reason: Not specified

jvv  
#3 Posted : Thursday, February 3, 2005 6:57:00 PM(UTC)
jvv

Rank: Member

Groups: Guest
Joined: 10/14/2004(UTC)
Posts: 37

The margins are quite working.
When I'm trying to print to a Brother MFC-9880 then the right side of the image is not good printed.
When I'm trying to print to a HP Deskjet 940c, I don't get any output... Very strange :S
Alex Kon  
#4 Posted : Wednesday, February 9, 2005 6:46:00 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Guest
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Good day, jvv!

We are trying to repeat your problem. Unfortunatelly all our results are ok :(. Do results depend on source images? What kind of error are on Brother MFC-9880 printer? Any additional info may be usefull.
Fedor  
#5 Posted : Thursday, March 10, 2005 11:58:00 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Problem with missing output was fixed in update. You can download it here.
Best regards,
Fedor Skvortsov
Users browsing this topic
Guest
Similar Topics
Error when printing (Discussions – Graphics Mill)
by rullman 3/24/2021 6:58:37 AM(UTC)
Do we still need to apply color profile when printing (Discussions – Graphics Mill)
by Todd Kneib 1/29/2020 8:34:09 AM(UTC)
Winforms and printing samples (Discussions – Graphics Mill)
by Chris Jones 4/13/2017 2:41:05 AM(UTC)
Image Printing in Manual Mode (Discussions – Graphics Mill)
by Chris Jones 6/28/2016 6:55:26 AM(UTC)
Printing File Size (Discussions – Graphics Mill)
by Chris Herrington 8/18/2009 6:03:11 AM(UTC)
Printing (Discussions – Graphics Mill)
by Chris Herrington 5/1/2009 11:51:13 PM(UTC)
Save print document as .psd or client side printing (Discussions – Graphics Mill)
by sailokesh 12/21/2008 10:19:33 PM(UTC)
Printing Vobjects and image together (Discussions – Graphics Mill)
by cpav 6/8/2008 4:47:54 PM(UTC)
SMPL: Printing Demo (Samples – Graphics Mill)
by Alex Kon 4/18/2008 12:54:36 PM(UTC)
Bug printing from print preview (Discussions – Graphics Mill)
by obartelt 12/1/2007 7:26:17 PM(UTC)
Printing an image with different aspect ratio that the paper (Discussions – Graphics Mill)
by Carlos 7/25/2007 8:00:43 PM(UTC)
Printing without margins? (Discussions – Graphics Mill)
by Zatlite 2/5/2007 6:28:06 AM(UTC)
Printing multipage tiffs (Discussions – Graphics Mill)
by Heffer42 2/4/2007 9:45:26 PM(UTC)
Printing in web (Discussions – Graphics Mill)
by pxg 10/27/2006 3:32:47 AM(UTC)
Borderless printing? (Discussions – Graphics Mill)
by morphemass 3/29/2006 5:41:48 AM(UTC)
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.