How can I remove print margins when manually setting them to zero doesn't work?

I'm trying to print a web page that I've created with a custom paper size of 4.5x10.25 inches. I want the page to be printed right to the edge of the paper, with no margins at all.


I've been reading for a few days and the best thing I can find is to use Mac's Page Setup dialog to create a custom paper size and custom margins, which I've done and set to the default for all of my printers. (Hopefully I'm able to post links to images --> http://i.imgur.com/kVbOZLk.png). No matter what I do though I can't get the margins to go away. There's always always always a .75 inch margin when I print and when I print preview (Again, hoping I can post links to images --> http://i.imgur.com/cxlVS8o.png). Just to note: The same thing happens printing other websites and documents (i.e it is not a problem with my website).


Things I've tried:

  • I've read that the margins are only visible in print preview and printing the page will remove them. This didn't work.
  • I've tried tricking the system by setting my margins to 0.01 inches
  • I've tried adjusting the website to not be exactly the size of the page (I made it smaller) and the margins were still there.
  • I've set "print.print_extra_margin" to 0 in Firefox's about:config page.
  • I've tried a different printer.
  • I've tried a co-worker's machine running a newer version of OSX.
  • I've made absolutely sure that my page size it set correctly.


I'm using OSX 10.6.8 with Firefox v21.0.


The closest I can come to this is using Google Chrome, where there is a specific option for "none" in margins and the Chrome preview looks okay, but I'm not able to specify paper size unless I click "Print using system dialog" which gives me the same problems as above.


How do I remove the margins and just fit to the exact size of the page?

iMac, Mac OS X (10.6.8)

Posted on Jun 17, 2013 7:34 AM

Reply
11 replies

Jun 18, 2013 3:06 PM in response to B-Leg

Welcome to Apple Support Communities. We're all users here.


Does your Print dialog offer photo 'borderless printing' settings for various paper sizes?


Every photo printer I've ever encountered leaves some unprintable margin, unless 'borderless' and/or 'photo' media are specifically selected.


On many of the Canon inkjet color printers I've used, borderless printing is only available when one of the photo papers is selected, even when a custom size specified that is smaller than the actual paper, trying to make it 'borderless'


I stitch together and print panoramas of theatre sets for my local community theater, so I end up with an image about 4.5 inches by 11.5 inches to be printed.


Selecting a photo and opening in Preview and selecting 'Fill Entire Paper' illustrates the standard unprintable borders for my specific printer.

User uploaded file

When I open the panoramic image in Preview, I get this print preview. (The set image is of course rotated left)

User uploaded file


By selecting Letter and Borderless in the Paper Size dialog for my Canon MG5320 printer, I get this result.

User uploaded file


This particular Canon printer of course does NOT actually 'know' what paper is inserted, but the ink is applied assuming that a photo paper is being used, so it will saturate a standard paper.


Hope this helps!


Message was edited by: kostby

Jul 2, 2013 8:02 AM in response to kostby

Hello, thanks for the reply. Unfortunately I don't have any of those options for my printer.


These are the options presented to me in print preview from Firefox: http://i.imgur.com/qVFPGkc.png. I've tried changing every option in there I can possibly think of and no matter what it won't remove the margins and half the time it doesn't respect my page size.


Chrome gets a bit closer in that (I think) it does remove the margins, but for some reason adds 0.75 inches to the output defined in my website as non-margin space: http://i.imgur.com/DF0G25O.png.


The ONLY solution I can come up with here is remove an arbitrary amount of space from my CSS element, force my users to correctly create a paper size in their OS and only use Chrome to access my website. That's a feasible list of requirements.... right?

Jul 2, 2013 8:08 AM in response to B-Leg

The ONLY solution I can come up with here is remove an arbitrary amount of space from my CSS element, force my users to correctly create a paper size in their OS and only use Chrome to access my website. That's a feasible list of requirements.... right?

If you only want two or three customers, then yes.


What is your objection to using standard recognized paper sizes and printing formats?

Jul 2, 2013 8:15 AM in response to Klaus1

The website reads uploaded CSV files and parses name/organization/job title of employees. It then takes those 3 fields and places them on to a 4.5x10.25 inch name-tag to be given to those employees when they attend conferences etc... The tags themselves will already have conference information and color printed on to them when we receive them. The paper size will always be 4.5x10.25

Jul 2, 2013 8:24 AM in response to Klaus1

Okay maybe name-tag isn't the correct term. It usually has a mini-map of the conference centre on it as well as some phone numbers, very similar to this: http://bit.ly/10xjX2g. It's threaded with string or lanyard and worn around the neck. Anyway that's besides the point, I still need to be able to print on to them.


Just cutting them is obviously not an option as we're receiving them already printed on by our printing company.

Jul 2, 2013 8:55 AM in response to Klaus1

Right now I'm using a HP LaserJet Professional M1217nfw. This will change as clients will be using the website as well as co-workers in my office; It needs to work with all printers. I worked as a developer in the print industry for about 4 years and, from what I remember from that nightmare, I understand that "needs to work with every printer" is an inexpicably impossible requirement.


I don't think this is a printer related issue to be honest. Chrome removes the margins (but adds a space for some reason) and Firefox refuses to do what I want unless I want to add margins. In my opinion, this is most likely a browser issue in that they just can't grasp the concept of 0.00inch margins and X" by Y" paper size.

Jul 2, 2013 10:53 AM in response to B-Leg

Dealing with legacy design issues, outside printing vendors, and convincing upper management that they are wrong and you are right are probably NOT on your to-do list today, but here's my .02:


I'm not sure why the unprintable margins are such a huge deal if you're only printing a black and white registrant name and company on a pre-printed color tag like your example. I would think you would not need to print within 1/4 inch of the physical edges anyway. Yes, I understand that long names could be a problem. (An example that comes to mind: M.A. Venkataramanan at Indiana University-Bloomington Kelley School of Business)


Stretch the page length from 10.25 to 11 inches and it would make a bit more 'white space' available, so you could format the first name on one line and the last name on the second line, with company on a 3rd and even 4th line if necessary, since most every printer can handle a US-standard 11-inch paper length.


While you're at it (redesigning), if you decrease the width of each tag to 4.25 inches, you could then print 2-wide (8.5x11) on a single sheet, and come much closer to the 'universal' printing solution you seek.

Jul 2, 2013 11:06 AM in response to kostby

Kostby, your first paragraph (before the .02) sums up all of my problems... Mostly the management part.


Because I also agree with your second paragraph, I sent an email after my most recent post that details the issues we've discussed here. The compromise now is I should just create a PDF of the output and the problems will go away somehow. So now to figure out how to create a PDF with php.


Thanks for the help everyone. If I find a good solution I'll post it and if I need more of the same I'll come back.


Thanks again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I remove print margins when manually setting them to zero doesn't work?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.