Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] How to Insert New Page break and set margin, page orientation #522

Open
sidhi opened this issue Apr 15, 2015 · 1 comment
Open

[HELP] How to Insert New Page break and set margin, page orientation #522

sidhi opened this issue Apr 15, 2015 · 1 comment

Comments

@sidhi
Copy link

sidhi commented Apr 15, 2015

Ok, I have a MYSQL Database with a table named trials.

It contained 2 columns ( id - name ) with several rows such as below :

id - name (both columns are VARCHAR-255).
A1 - Avatar
B1 - Browser
C1 - Calculator
A2 - Align

The query that I use is : "SELECT * FROM trials ORDER BY id ASC"

What I'm trying to do is Make a DOC file and add an new Page for each of row with PHPDOC ( 1 page for 1 id and 1 name ), In Ms Office, it was known as "New Page Break" .

How to do so ? or... How to Insert "New Page break " like ms Office did (always NEW PAGE BRAK whatever the paper size) ?

Also how to set the margin and page orientation automatically ?

Eg :
I want the content of "mytrial.doc" as below :

Page 01 -> A1 - Avatar
Page 02 -> A2 - Align
Page 03 -> B1 - Browser
Page 04 -> C1 - Calculator

PS: I use Laravel 4 as my framework

Thanks B4 :)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@sidhi sidhi changed the title [HELP] How to Insert New Page break [HELP] How to Insert New Page break and set margin, page orientation Apr 15, 2015
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants