Jump to content

FPDF prints envelopes backwards


ginerjm

Recommended Posts

Have used FPDF many times for normal letter-sized printing but I am now having an issue with a #10 Envelope. While the printer tells you to insert envelopes a certain way and that's what I have done, for some reason FPDF won't print them the way the envelope is oriented but rather prints them upside down. To solve this I would have to remember to turn my envelopes around every time I used this application and I'm trying to avoid that.

Has anyone figured out a work-around for this problem?

Link to comment
Share on other sites

I print envelopes all the time for other reasons and my printer has 2 trays with one of them setup and dedicated to envelopes.  Having to remember to rotate them for one app's usage is a pia as you might imagine.

I"m hoping that someone has seen this problem before.

Edited by ginerjm
Link to comment
Share on other sites

With FPDF the page that the final pdf appears on (before printing) has a rotate option but it doesn't change how the printer prints in any way.  Weird.

I've added a JS alert to my submit button so that when I click on 'Make PDF' I remind the user (me) to rotate the envelopes.  At least I won't waste them.

Edited by ginerjm
Link to comment
Share on other sites

Could change the code to render the envelope backwards?

Are you trying to create a page the size of the envelope or just a normal page with envelope details printed in a specific place?

Does anything change if you save the pdf to a file and then print it with adobe reader rather than from the browser?

Link to comment
Share on other sites

I tell FPDF that it is a letter and I space my text down a few lines and center it across the page.  Then when I send the pdf to print I reset the paper to an envelope.  Works great except for being backwards, ie, the envelope needs to be rotated away from the normal position in a the paper tray.

I did try saving the pdf and then using Adobe to print it but for some reason it doesn't hold the same font size and prints at about 8pt size.  No idea.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.